diff --git a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte
index 02250a0fe1..7ece231cf7 100644
--- a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte
+++ b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte
@@ -25,7 +25,7 @@
)
$: hasComponent = !!$store.currentPreviewItem
$: {
- style = ""
+ styles = ""
// Apply the CSS from the currently selected page and its screens
const currentPage = $store.pages[$store.currentPageName]
styles += currentPage._css
@@ -35,10 +35,10 @@
styles = styles
}
- $: stylesheetLinks = pipe($store.pages.stylesheets, [
- map(s => ``),
- join("\n"),
- ])
+ $: stylesheetLinks = pipe(
+ $store.pages.stylesheets,
+ [map(s => ``), join("\n")]
+ )
$: screensExist =
$store.currentPreviewItem._screens &&
diff --git a/packages/standard-components/components.json b/packages/standard-components/components.json
index 4705f2b45b..e3cde3586a 100644
--- a/packages/standard-components/components.json
+++ b/packages/standard-components/components.json
@@ -12,10 +12,10 @@
"props": {
"logoUrl": "string",
"title": "string",
- "backgroundColor": "colour",
- "color": "colour",
+ "backgroundColor": "string",
+ "color": "string",
"borderWidth": "string",
- "borderColor": "colour",
+ "borderColor": "string",
"borderStyle": "string"
}
},
@@ -30,8 +30,8 @@
"className": "string",
"disabled": "bool",
"onClick": "event",
- "background": "colour",
- "color": "colour",
+ "background": "string",
+ "color": "string",
"border": "string",
"padding": "string",
"hoverColor": "string",
@@ -167,7 +167,7 @@
"children": false,
"props": {
"text": "string",
- "color": "colour",
+ "color": "string",
"fontFamily": {
"type": "options",
"default": "initial",
@@ -259,7 +259,7 @@
"props": {
"icon": "string",
"fontSize": "string",
- "color": "colour"
+ "color": "string"
}
},
"datatable": {
@@ -328,8 +328,8 @@
"url": "string",
"openInNewTab": "bool",
"text": "string",
- "color": "colour",
- "hoverColor": "colour",
+ "color": "string",
+ "hoverColor": "string",
"underline": "bool",
"fontSize": "string",
"fontFamily": {
@@ -416,7 +416,6 @@
"description": "An HTML H1 - H6 tag",
"props": {
"className": "string",
- "color":"colour",
"text": "string",
"type": {
"type": "options",