aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2025-03-11 17:43:05 +0100
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2025-03-11 17:43:05 +0100
commitfa937182bc93aa2c6faadda80ea998cdfd479b4e (patch)
treecba8e16edcccc6fd2932173484ac444cb79abea2 /src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx
parentcf91c46cfec6e3e36b9184764016f9c1b5c997d4 (diff)
parent04669ffeb163688c7aefd7b5face7998252abdca (diff)
Merge branch 'master' of https://github.com/brown-dash/Dash-Web into DocCreatorMenu-work
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx
index b1e06206f..2b32d49aa 100644
--- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx
+++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx
@@ -63,7 +63,7 @@ export class TemplateLayouts {
opts: {
_layout_borderRounding: '.05',
borderColor: '#8F5B25',
- borderWidth: '6',
+ borderWidth: 6,
backgroundColor: '#CECAB9',
},
},
@@ -90,7 +90,7 @@ export class TemplateLayouts {
opts: {
_layout_borderRounding: '.05',
borderColor: '#8F5B25',
- borderWidth: '6',
+ borderWidth: 6,
backgroundColor: '#CECAB9',
},
},
@@ -114,7 +114,7 @@ export class TemplateLayouts {
sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE],
description: 'A medium to large-sized field suitable for an image or longer text that should be the main focus.',
opts: {
- borderWidth: '8',
+ borderWidth: 8,
borderColor: '#F8E71C',
backgroundColor: '#242425',
text_fontColor: 'white',
@@ -131,7 +131,7 @@ export class TemplateLayouts {
backgroundColor: 'transparent',
text_fontColor: 'white',
hCentering: 'h-center',
- textTransform: 'uppercase',
+ text_transform: 'uppercase',
},
},
{
@@ -145,7 +145,7 @@ export class TemplateLayouts {
backgroundColor: 'transparent',
text_fontColor: 'white',
hCentering: 'h-center',
- textTransform: 'uppercase',
+ text_transform: 'uppercase',
},
},
{
@@ -156,7 +156,7 @@ export class TemplateLayouts {
sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE],
description: 'A medium to large-sized field suitable for longer text that should contextualize field 1.',
opts: {
- borderWidth: '8',
+ borderWidth: 8,
borderColor: '#F8E71C',
text_fontColor: 'white',
backgroundColor: '#242425',
@@ -290,7 +290,7 @@ export class TemplateLayouts {
description: 'A tiny field for just a word or two of plain text.',
opts: {
backgroundColor: '#E2B4F5',
- borderWidth: '9',
+ borderWidth: 9,
borderColor: '#9222F1',
hCentering: 'h-center',
},
@@ -304,7 +304,7 @@ export class TemplateLayouts {
description: 'A tiny field for just a word or two of plain text.',
opts: {
backgroundColor: '#F5B4DD',
- borderWidth: '9',
+ borderWidth: 9,
borderColor: '#E260F3',
hCentering: 'h-center',
},
@@ -317,7 +317,7 @@ export class TemplateLayouts {
sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE],
description: 'A large to huge field for visual content that is the main content of the template.',
opts: {
- borderWidth: '16',
+ borderWidth: 16,
borderColor: '#A2BD77',
},
},
@@ -329,7 +329,7 @@ export class TemplateLayouts {
sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE],
description: 'A medium to large field for text that describes the visual content above',
opts: {
- borderWidth: '9',
+ borderWidth: 9,
borderColor: '#F0D601',
backgroundColor: '#F3F57D',
},
@@ -341,7 +341,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: 'transparent',
borderColor: '#007C0C',
- borderWidth: '10',
+ borderWidth: 10,
},
},
],
@@ -365,7 +365,7 @@ export class TemplateLayouts {
description: 'A small text field for a title or word(s) that categorize the rest of the content.',
opts: {
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
hCentering: "h-center",
backgroundColor: '#B8DC90',
},
@@ -379,7 +379,7 @@ export class TemplateLayouts {
description: 'A small text field for a title that categorizes the rest of the content.',
opts: {
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
hCentering: "h-center",
backgroundColor: '#B8DC90',
},
@@ -391,7 +391,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: '#94B058',
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
},
},
{
@@ -403,7 +403,7 @@ export class TemplateLayouts {
description: 'A medium to large field in the center of the template, for the main visual content.',
opts: {
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
backgroundColor: '#B8DC90',
},
},
@@ -416,7 +416,7 @@ export class TemplateLayouts {
description: 'A medium to large field at the bottom of the template, for the main text content.',
opts: {
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
hCentering: "h-center",
backgroundColor: '#B8DC90',
},
@@ -428,7 +428,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: '#7A9D31',
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
},
},
{
@@ -438,7 +438,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: '#94B058',
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
},
},
{
@@ -448,7 +448,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: '#728745',
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
},
},
{
@@ -458,7 +458,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: '#7A9D31',
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
},
},
{
@@ -468,7 +468,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: '#728745',
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
},
},
{
@@ -478,7 +478,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: '#94B058',
borderColor: '#3B4A2C',
- borderWidth: '8',
+ borderWidth: 8,
},
},
]
@@ -503,7 +503,7 @@ export class TemplateLayouts {
opts: {
hCentering: "h-center",
backgroundColor: 'transparent',
- textTransform: 'uppercase',
+ text_transform: 'uppercase',
},
},
{
@@ -512,7 +512,7 @@ export class TemplateLayouts {
br: [0.9, .25],
opts: {
borderColor: '#847F69',
- borderWidth: '8',
+ borderWidth: 8,
backgroundColor: '#C8BA94',
},
subfields: [
@@ -586,7 +586,7 @@ export class TemplateLayouts {
description: 'A medium to large field for visual content that is the central focus.',
opts: {
borderColor: 'yellow',
- borderWidth: '8',
+ borderWidth: 8,
backgroundColor: '#DDD3A9',
_rotation: 45,
},
@@ -724,7 +724,7 @@ export class TemplateLayouts {
sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE],
description: 'A medium to large visual field for the main content of the template',
opts: {
- borderWidth: '15',
+ borderWidth: 15,
borderColor: '#E0E0DA',
},
},
@@ -738,7 +738,7 @@ export class TemplateLayouts {
opts: {
backgroundColor: 'transparent',
text_fontColor: '#AF0D0D',
- textTransform: 'uppercase',
+ text_transform: 'uppercase',
contentBold: true,
hCentering: 'h-left',
},