onClick(value || text)}>
{#if useIcon}
{:else}
@@ -29,25 +22,27 @@
diff --git a/packages/builder/src/components/userInterface/FlatButtonGroup.svelte b/packages/builder/src/components/userInterface/FlatButtonGroup.svelte
index c9523f4d5a..6789ada5aa 100644
--- a/packages/builder/src/components/userInterface/FlatButtonGroup.svelte
+++ b/packages/builder/src/components/userInterface/FlatButtonGroup.svelte
@@ -46,6 +46,7 @@
diff --git a/packages/builder/src/components/userInterface/LayoutEditor.svelte b/packages/builder/src/components/userInterface/LayoutEditor.svelte
index 0f3efaec0a..b36e6aa4a7 100644
--- a/packages/builder/src/components/userInterface/LayoutEditor.svelte
+++ b/packages/builder/src/components/userInterface/LayoutEditor.svelte
@@ -132,8 +132,8 @@
h3 {
text-transform: uppercase;
font-size: 13px;
- font-weight: 700;
- color: #000333;
+ font-weight: 600;
+ color: var(--ink);
opacity: 0.6;
margin-bottom: 10px;
}
@@ -142,16 +142,15 @@
text-transform: uppercase;
font-size: 10px;
font-weight: 600;
- color: #000333;
+ color: var(--ink);
opacity: 0.4;
- letter-spacing: 1px;
margin-bottom: 10px;
}
h5 {
font-size: 13px;
font-weight: 400;
- color: #000333;
+ color: var(--ink);
opacity: 0.8;
padding-top: 13px;
margin-bottom: 0;
diff --git a/packages/builder/src/components/userInterface/LayoutTemplateControls.svelte b/packages/builder/src/components/userInterface/LayoutTemplateControls.svelte
index dc1395bf0e..05a92d3e77 100644
--- a/packages/builder/src/components/userInterface/LayoutTemplateControls.svelte
+++ b/packages/builder/src/components/userInterface/LayoutTemplateControls.svelte
@@ -50,7 +50,7 @@
diff --git a/packages/builder/src/components/userInterface/OptionSelect.svelte b/packages/builder/src/components/userInterface/OptionSelect.svelte
index 8a1e3685f6..1c85a06392 100644
--- a/packages/builder/src/components/userInterface/OptionSelect.svelte
+++ b/packages/builder/src/components/userInterface/OptionSelect.svelte
@@ -142,24 +142,24 @@
position: relative;
outline: none;
width: 160px;
- height: 32px;
+ height: 36px;
cursor: pointer;
- font-size: 12px;
+ font-size: 14px;
}
.bb-select-anchor {
cursor: pointer;
display: flex;
- padding: 5px 10px;
- background-color: #f2f2f2;
- border-radius: 2px;
- border: 1px solid var(--grey-dark);
+ padding: 0px 12px;
+ height: 36px;
+ background-color: var(--grey-2);
+ border-radius: 5px;
align-items: center;
}
.bb-select-anchor > span {
- color: #565a66;
- font-weight: 500;
+ color: var(--ink);
+ font-weight: 400;
width: 140px;
overflow-x: hidden;
}
@@ -173,8 +173,8 @@
}
.selected {
- color: #565a66;
- font-weight: 500;
+ color: var(--ink);
+ font-weight: 400;
}
.bb-select-menu {
@@ -185,15 +185,15 @@
opacity: 0;
width: 160px;
z-index: 2;
- color: #808192;
- font-weight: 500;
+ color: var(--ink);
+ font-weight: 400;
height: fit-content !important;
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
- border-right: 1px solid var(--grey-dark);
- border-left: 1px solid var(--grey-dark);
- border-bottom: 1px solid var(--grey-dark);
- background-color: #f2f2f2;
+ border-right: 1px solid var(--grey-4);
+ border-left: 1px solid var(--grey-4);
+ border-bottom: 1px solid var(--grey-4);
+ background-color: var(--grey-2);
transform: scale(0);
transition: opacity 0.13s linear, transform 0.12s cubic-bezier(0, 0, 0.2, 1);
overflow-y: auto;
diff --git a/packages/builder/src/components/userInterface/PageLayout.svelte b/packages/builder/src/components/userInterface/PageLayout.svelte
index c2ad4b590b..d64ab670ba 100644
--- a/packages/builder/src/components/userInterface/PageLayout.svelte
+++ b/packages/builder/src/components/userInterface/PageLayout.svelte
@@ -73,12 +73,12 @@
display: inline-block;
transition: 0.2s;
width: 20px;
- color: var(--ink-light);
+ color: var(--grey-7);
}
.icon-big {
- font-size: 24px;
- color: var(--ink-light);
+ font-size: 20px;
+ color: var(--grey-7);
}
:global(svg) {
diff --git a/packages/builder/src/components/userInterface/PageView.svelte b/packages/builder/src/components/userInterface/PageView.svelte
index c00e7591f4..d60a4082de 100644
--- a/packages/builder/src/components/userInterface/PageView.svelte
+++ b/packages/builder/src/components/userInterface/PageView.svelte
@@ -59,7 +59,7 @@
padding: 15px;
}
.help-text {
- color: var(--slate);
+ color: var(--grey-2);
font-size: 10pt;
}
diff --git a/packages/builder/src/components/userInterface/PagesList.svelte b/packages/builder/src/components/userInterface/PagesList.svelte
index 5a78ef7121..df8bdf7d99 100644
--- a/packages/builder/src/components/userInterface/PagesList.svelte
+++ b/packages/builder/src/components/userInterface/PagesList.svelte
@@ -43,22 +43,24 @@
button {
cursor: pointer;
- padding: 8px 16px;
+ padding: 0px 16px;
+ height: 36px;
text-align: center;
background: #ffffff;
- color: var(--ink-light);
+ color: var(--grey-7);
border-radius: 5px;
- font-family: Roboto;
+ font-family: inter;
font-size: 14px;
font-weight: 400;
transition: all 0.3s;
text-rendering: optimizeLegibility;
border: none !important;
transition: 0.2s;
+ outline: none;
}
.active {
- background: var(--ink-light);
- color: var(--white);
+ background: var(--grey-3);
+ color: var(--ink);
}
diff --git a/packages/builder/src/components/userInterface/PropControl.svelte b/packages/builder/src/components/userInterface/PropControl.svelte
index 332f039b03..a7053953f4 100644
--- a/packages/builder/src/components/userInterface/PropControl.svelte
+++ b/packages/builder/src/components/userInterface/PropControl.svelte
@@ -38,7 +38,7 @@
word-wrap: break-word;
font-size: 13px;
font-weight: 400;
- color: #000333;
+ color: var(--ink);
opacity: 0.8;
padding-top: 13px;
margin-bottom: 0;
diff --git a/packages/builder/src/components/userInterface/PropertyControl.svelte b/packages/builder/src/components/userInterface/PropertyControl.svelte
index bd68002b98..b79d01fb32 100644
--- a/packages/builder/src/components/userInterface/PropertyControl.svelte
+++ b/packages/builder/src/components/userInterface/PropertyControl.svelte
@@ -12,7 +12,7 @@
if (v.target) {
let val = props.valueKey ? v.target[props.valueKey] : v.target.value
onChange(key, val)
- }else if(v.detail) {
+ } else if (v.detail) {
onChange(key, v.detail)
} else {
onChange(key, v)
@@ -55,7 +55,6 @@
flex: 0 0 50px;
display: flex;
align-items: center;
- padding: 0px 5px;
font-size: 12px;
font-weight: 400;
text-align: left;
diff --git a/packages/builder/src/components/userInterface/UserInterfaceRoot.svelte b/packages/builder/src/components/userInterface/UserInterfaceRoot.svelte
index d2924675e6..1bf32fd925 100644
--- a/packages/builder/src/components/userInterface/UserInterfaceRoot.svelte
+++ b/packages/builder/src/components/userInterface/UserInterfaceRoot.svelte
@@ -100,7 +100,7 @@
grid-template-columns: 300px 1fr 300px;
height: 100%;
width: 100%;
- background: #fbfbfb;
+ background: var(--grey-1);
}
.ui-nav {
@@ -128,23 +128,21 @@
.components-nav-page {
font-size: 13px;
- color: #000333;
+ color: var(--ink);
text-transform: uppercase;
padding-left: 20px;
margin-top: 20px;
font-weight: 600;
opacity: 0.4;
- letter-spacing: 1px;
}
.components-nav-header {
font-size: 13px;
- color: #000333;
+ color: var(--ink);
text-transform: uppercase;
margin-top: 20px;
font-weight: 600;
opacity: 0.4;
- letter-spacing: 1px;
}
.nav-header {
@@ -184,21 +182,20 @@
vertical-align: bottom;
grid-column-start: button;
cursor: pointer;
- color: var(--primary75);
+ color: var(--blue);
}
.nav-group-header > div:nth-child(3):hover {
- color: var(--primary75);
+ color: var(--blue);
}
.navigator-title {
font-size: 14px;
- color: var(--secondary100);
+ color: var(--ink);
font-weight: 600;
text-transform: uppercase;
padding: 0 20px 20px 20px;
line-height: 1rem !important;
- letter-spacing: 1px;
}
.components-list-container {
diff --git a/packages/builder/src/components/userInterface/propertyCategories.js b/packages/builder/src/components/userInterface/propertyCategories.js
index d2043289c8..f0228d5f04 100644
--- a/packages/builder/src/components/userInterface/propertyCategories.js
+++ b/packages/builder/src/components/userInterface/propertyCategories.js
@@ -1,6 +1,5 @@
import Input from "../common/Input.svelte"
import OptionSelect from "./OptionSelect.svelte"
-import InputGroup from "../common/Inputs/InputGroup.svelte"
import FlatButtonGroup from "./FlatButtonGroup.svelte"
import Colorpicker from "./Colorpicker"
/*
@@ -14,7 +13,7 @@ export const layout = [
control: OptionSelect,
initialValue: "",
options: [
- { label: "", value: "" },
+ { label: "N/A ", value: "N/A" },
{ label: "Flex", value: "flex" },
{ label: "Inline Flex", value: "inline-flex" },
],
@@ -73,27 +72,169 @@ export const layout = [
},
]
-const spacingMeta = [
- { placeholder: "T" },
- { placeholder: "R" },
- { placeholder: "B" },
- { placeholder: "L" },
-]
-
-export const spacing = [
+export const margin = [
{
- label: "Margin",
+ label: "All sides",
key: "margin",
- control: InputGroup,
- meta: spacingMeta,
- defaultValue: ["0", "0", "0", "0"],
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
},
{
- label: "Padding",
+ label: "Top",
+ key: "margin-top",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+ {
+ label: "Right",
+ key: "margin-right",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+ {
+ label: "Bottom",
+ key: "padding-bottom",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+ {
+ label: "Left",
+ key: "margin-left",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+]
+
+export const padding = [
+ {
+ label: "All sides",
key: "padding",
- control: InputGroup,
- meta: spacingMeta,
- defaultValue: ["0", "0", "0", "0"],
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+ {
+ label: "Top",
+ key: "padding-top",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+ {
+ label: "Right",
+ key: "padding-right",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+ {
+ label: "Bottom",
+ key: "padding-bottom",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
+ },
+ {
+ label: "Left",
+ key: "padding-left",
+ control: OptionSelect,
+ options: [
+ { label: "None", value: "0px" },
+ { label: "4px", value: "4px" },
+ { label: "8px", value: "8px" },
+ { label: "16px", value: "16px" },
+ { label: "20px", value: "20px" },
+ { label: "32px", value: "32px" },
+ { label: "64px", value: "64px" },
+ { label: "Auto", value: "auto" },
+ { label: "100%", value: "100%" },
+ ],
},
]
@@ -103,7 +244,6 @@ export const size = [
key: "width",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
@@ -111,39 +251,34 @@ export const size = [
key: "height",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
- label: "Min W",
+ label: "Min Width",
key: "min-width",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
- label: "Min H",
- key: "min-height",
- control: Input,
- placeholder: "px",
- width: "48px",
- textAlign: "center",
- },
- {
- label: "Max W",
+ label: "Max Width",
key: "max-width",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
- label: "Max H",
+ label: "Min Height",
+ key: "min-height",
+ control: Input,
+ placeholder: "px",
+ textAlign: "center",
+ },
+ {
+ label: "Max Height",
key: "max-height",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
]
@@ -153,8 +288,9 @@ export const position = [
label: "Position",
key: "position",
control: OptionSelect,
- initialValue: "Wrap",
+ initialValue: "None",
options: [
+ { label: "None", value: "none" },
{ label: "Static", value: "static" },
{ label: "Relative", value: "relative" },
{ label: "Fixed", value: "fixed" },
@@ -167,7 +303,6 @@ export const position = [
key: "top",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
@@ -175,7 +310,6 @@ export const position = [
key: "right",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
@@ -183,7 +317,6 @@ export const position = [
key: "bottom",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
@@ -191,16 +324,13 @@ export const position = [
key: "left",
control: Input,
placeholder: "px",
- width: "48px",
textAlign: "center",
},
{
label: "Z-index",
key: "z-index",
- control: Input,
- placeholder: "num",
- width: "48px",
- textAlign: "center",
+ control: OptionSelect,
+ options: ["-9999", "-3", "-2", "-1", "0", "1", "2", "3", "9999"],
},
]
@@ -239,19 +369,28 @@ export const typography = [
{
label: "size",
key: "font-size",
- defaultValue: "",
- control: Input,
- placeholder: "px",
- width: "48px",
+ control: OptionSelect,
+ options: [
+ "8px",
+ "10px",
+ "12px",
+ "14px",
+ "16px",
+ "18px",
+ "20px",
+ "24px",
+ "32px",
+ "48px",
+ "60px",
+ "72px",
+ ],
textAlign: "center",
},
{
label: "Line H",
key: "line-height",
- control: Input,
- placeholder: "lh",
- width: "48px",
- textAlign: "center",
+ control: OptionSelect,
+ options: ["1", "1.25", "1.5", "1.75", "2", "4"],
},
{
label: "Color",
@@ -275,25 +414,20 @@ export const typography = [
key: "text-transform",
control: FlatButtonGroup,
buttonProps: [
- { text: "BB", padding: "0px 5px", fontWeight: 500, value: "uppercase" },
- { text: "Bb", padding: "0px 5px", fontWeight: 500, value: "capitalize" },
- { text: "bb", padding: "0px 5px", fontWeight: 500, value: "lowercase" },
- {
- text: "×",
- padding: "0px 5px",
- fontWeight: 500,
- value: "none",
- },
+ { text: "BB", value: "uppercase" },
+ { text: "Bb", value: "capitalize" },
+ { text: "bb", value: "lowercase" },
+ { text: "×", value: "none" },
],
},
{
label: "Decoration",
key: "text-decoration-line",
control: OptionSelect,
- defaultValue: "Underline",
+ defaultValue: "None",
options: [
- { label: "Underline", value: "underline" },
{ label: "None", value: "none" },
+ { label: "Underline", value: "underline" },
{ label: "Overline", value: "overline" },
{ label: "Line-through", value: "line-through" },
{ label: "Under Over", value: "underline overline" },
@@ -308,11 +442,64 @@ export const background = [
control: Colorpicker,
defaultValue: "#000",
},
+ {
+ label: "Gradient",
+ key: "background-image",
+ control: OptionSelect,
+ defaultValue: "None",
+ options: [
+ { label: "None", value: "None" },
+ {
+ label: "Warm Flame",
+ value: "linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);",
+ },
+ {
+ label: "Night Fade",
+ value: "linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);",
+ },
+ {
+ label: "Spring Warmth",
+ value: "linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);",
+ },
+ {
+ label: "Sunny Morning",
+ value: "linear-gradient(120deg, #f6d365 0%, #fda085 100%);",
+ },
+ {
+ label: "Winter Neva",
+ value: "linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);",
+ },
+ {
+ label: "Tempting Azure",
+ value: "linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);",
+ },
+ {
+ label: "Heavy Rain",
+ value: "linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);",
+ },
+ {
+ label: "Deep Blue",
+ value: "linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);",
+ },
+ {
+ label: "Near Moon",
+ value: "linear-gradient(to top, #5ee7df 0%, #b490ca 100%);",
+ },
+ {
+ label: "Wild Apple",
+ value: "linear-gradient(to top, #d299c2 0%, #fef9d7 100%);",
+ },
+ {
+ label: "Plum Plate",
+ value: "linear-gradient(135deg, #667eea 0%, #764ba2 100%);",
+ },
+ ],
+ },
{
label: "Image",
key: "background-image",
control: Input,
- placeholder: "src",
+ placeholder: "Src",
},
]
@@ -324,11 +511,13 @@ export const border = [
defaultValue: "None",
options: [
{ label: "None", value: "0" },
- { label: "small", value: "0.125rem" },
- { label: "Medium", value: "0.25rem;" },
- { label: "Large", value: "0.375rem" },
- { label: "Extra large", value: "0.5rem" },
- { label: "Full", value: "5678px" },
+ { label: "X Small", value: "0.125rem" },
+ { label: "Small", value: "0.25rem" },
+ { label: "Medium", value: "0.5rem" },
+ { label: "Large", value: "1rem" },
+ { label: "X Large", value: "2rem" },
+ { label: "XX Large", value: "4rem" },
+ { label: "Round", value: "5678px" },
],
},
{
@@ -338,11 +527,11 @@ export const border = [
defaultValue: "None",
options: [
{ label: "None", value: "0" },
- { label: "Extra small", value: "0.5px" },
+ { label: "X Small", value: "0.5px" },
{ label: "Small", value: "1px" },
{ label: "Medium", value: "2px" },
{ label: "Large", value: "4px" },
- { label: "Extra large", value: "8px" },
+ { label: "X large", value: "8px" },
],
},
{
@@ -357,16 +546,16 @@ export const border = [
control: OptionSelect,
defaultValue: "None",
options: [
- "none",
- "hidden",
- "dotted",
- "dashed",
- "solid",
- "double",
- "groove",
- "ridge",
- "inset",
- "outset",
+ "None",
+ "Hidden",
+ "Dotted",
+ "Dashed",
+ "Solid",
+ "Double",
+ "Groove",
+ "Ridge",
+ "Inset",
+ "Outset",
],
},
]
@@ -375,28 +564,27 @@ export const effects = [
{
label: "Opacity",
key: "opacity",
- control: Input,
- width: "48px",
+ control: OptionSelect,
textAlign: "center",
- placeholder: "%",
+ options: ["0", "0.2", "0.4", "0.6", "0.8", "1"],
},
{
label: "Rotate",
- key: "transform-rotate",
+ key: "transform",
control: OptionSelect,
defaultValue: "0",
options: [
- "0",
- "45deg",
- "90deg",
- "90deg",
- "135deg",
- "180deg",
- "225deg",
- "270deg",
- "315dev",
+ { label: "None", value: "0" },
+ { label: "45 deg", value: "rotate(45deg)" },
+ { label: "90 deg", value: "rotate(90deg)" },
+ { label: "135 deg", value: "rotate(135deg)" },
+ { label: "180 deg", value: "rotate(180deg)" },
+ { label: "225 deg", value: "rotate(225deg)" },
+ { label: "270 deg", value: "rotate(270deg)" },
+ { label: "315 deg", value: "rotate(315deg)" },
+ { label: "360 deg", value: "rotate(360deg)" },
],
- }, //needs special control
+ },
{
label: "Shadow",
key: "box-shadow",
@@ -404,7 +592,7 @@ export const effects = [
defaultValue: "None",
options: [
{ label: "None", value: "none" },
- { label: "Extra small", value: "0 1px 2px 0 rgba(0, 0, 0, 0.05)" },
+ { label: "X Small", value: "0 1px 2px 0 rgba(0, 0, 0, 0.05)" },
{
label: "Small",
value:
@@ -421,7 +609,7 @@ export const effects = [
"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
},
{
- label: "Extra large",
+ label: "X Large",
value:
"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
},
@@ -453,10 +641,10 @@ export const transitions = [
{
label: "Duration",
key: "transition-duration",
- control: Input,
- width: "48px",
+ control: OptionSelect,
textAlign: "center",
placeholder: "sec",
+ options: ["0.2ms", "0.4ms", "0.8ms", "1s", "2s", "4s"],
},
{
label: "Ease",
@@ -468,7 +656,8 @@ export const transitions = [
export const all = {
layout,
- spacing,
+ margin,
+ padding,
size,
position,
typography,
diff --git a/packages/builder/src/components/workflow/SetupPanel/DeleteWorkflowModal.svelte b/packages/builder/src/components/workflow/SetupPanel/DeleteWorkflowModal.svelte
index 4eed82bf25..c84117b475 100644
--- a/packages/builder/src/components/workflow/SetupPanel/DeleteWorkflowModal.svelte
+++ b/packages/builder/src/components/workflow/SetupPanel/DeleteWorkflowModal.svelte
@@ -41,7 +41,7 @@
diff --git a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte
index 2ef2b8c462..626a890b69 100644
--- a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte
+++ b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte
@@ -35,7 +35,7 @@
border-radius: 5px;
transition: 0.3s all;
box-shadow: 0 4px 30px 0 rgba(57, 60, 68, 0.08);
- background-color: var(--font);
+ background-color: var(--ink);
font-size: 16px;
color: var(--white);
}
@@ -54,17 +54,17 @@
.ACTION {
background-color: var(--white);
- color: var(--font);
+ color: var(--ink);
}
.TRIGGER {
- background-color: var(--font);
+ background-color: var(--ink);
color: var(--white);
}
.LOGIC {
background-color: var(--secondary);
- color: var(--font);
+ color: var(--ink);
}
div:hover {
diff --git a/packages/builder/src/components/workflow/WorkflowPanel/BlockList/BlockList.svelte b/packages/builder/src/components/workflow/WorkflowPanel/BlockList/BlockList.svelte
index b70fe93640..3a071ad00f 100644
--- a/packages/builder/src/components/workflow/WorkflowPanel/BlockList/BlockList.svelte
+++ b/packages/builder/src/components/workflow/WorkflowPanel/BlockList/BlockList.svelte
@@ -52,29 +52,31 @@
diff --git a/packages/builder/src/components/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte b/packages/builder/src/components/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte
index 95e29cbf91..1882f91b7a 100644
--- a/packages/builder/src/components/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte
+++ b/packages/builder/src/components/workflow/WorkflowPanel/BlockList/WorkflowBlock.svelte
@@ -30,19 +30,34 @@
diff --git a/packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte b/packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte
index 315332890f..97100b6626 100644
--- a/packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte
+++ b/packages/builder/src/components/workflow/WorkflowPanel/WorkflowList/CreateWorkflowModal.svelte
@@ -41,7 +41,7 @@
diff --git a/packages/builder/src/pages/[application]/workflow/_layout.svelte b/packages/builder/src/pages/[application]/workflow/_layout.svelte
index 96a0dcbb2f..1b84a255ba 100644
--- a/packages/builder/src/pages/[application]/workflow/_layout.svelte
+++ b/packages/builder/src/pages/[application]/workflow/_layout.svelte
@@ -22,13 +22,13 @@
diff --git a/packages/builder/src/pages/index.svelte b/packages/builder/src/pages/index.svelte
index e54102db1e..0d2f76a007 100644
--- a/packages/builder/src/pages/index.svelte
+++ b/packages/builder/src/pages/index.svelte
@@ -73,7 +73,7 @@
.welcome {
font-size: 42px;
color: var(--ink);
- font-weight: 900;
+ font-weight: 700;
margin: 40px 0px 0px 80px;
}
@@ -136,7 +136,7 @@
.banner-button:hover {
background-color: var(--white);
color: var(--ink);
- border: var(--grey-dark) 1px solid;
+ border: var(--grey-4) 1px solid;
}
.app-section-header {
@@ -149,7 +149,7 @@
.app-section-title {
font-size: 20px;
color: var(--ink);
- font-weight: 700;
+ font-weight: 600;
margin-bottom: 20px;
}
diff --git a/packages/server/builder/assets/Inter-Black.woff b/packages/server/builder/assets/Inter-Black.woff
new file mode 100644
index 0000000000..07800f4b74
Binary files /dev/null and b/packages/server/builder/assets/Inter-Black.woff differ
diff --git a/packages/server/builder/assets/Inter-Black.woff2 b/packages/server/builder/assets/Inter-Black.woff2
new file mode 100644
index 0000000000..9a615e6e83
Binary files /dev/null and b/packages/server/builder/assets/Inter-Black.woff2 differ
diff --git a/packages/server/builder/assets/Inter-Bold.woff b/packages/server/builder/assets/Inter-Bold.woff
new file mode 100644
index 0000000000..61e1c25e64
Binary files /dev/null and b/packages/server/builder/assets/Inter-Bold.woff differ
diff --git a/packages/server/builder/assets/Inter-Bold.woff2 b/packages/server/builder/assets/Inter-Bold.woff2
new file mode 100644
index 0000000000..6c401bb09b
Binary files /dev/null and b/packages/server/builder/assets/Inter-Bold.woff2 differ
diff --git a/packages/server/builder/assets/Inter-ExtraBold.woff b/packages/server/builder/assets/Inter-ExtraBold.woff
new file mode 100644
index 0000000000..433fb3285c
Binary files /dev/null and b/packages/server/builder/assets/Inter-ExtraBold.woff differ
diff --git a/packages/server/builder/assets/Inter-ExtraBold.woff2 b/packages/server/builder/assets/Inter-ExtraBold.woff2
new file mode 100644
index 0000000000..5a08b364d5
Binary files /dev/null and b/packages/server/builder/assets/Inter-ExtraBold.woff2 differ
diff --git a/packages/server/builder/assets/Inter-Medium.woff b/packages/server/builder/assets/Inter-Medium.woff
new file mode 100644
index 0000000000..8c36a6345e
Binary files /dev/null and b/packages/server/builder/assets/Inter-Medium.woff differ
diff --git a/packages/server/builder/assets/Inter-Medium.woff2 b/packages/server/builder/assets/Inter-Medium.woff2
new file mode 100644
index 0000000000..3b31d3350a
Binary files /dev/null and b/packages/server/builder/assets/Inter-Medium.woff2 differ
diff --git a/packages/server/builder/assets/Inter-Regular.woff b/packages/server/builder/assets/Inter-Regular.woff
new file mode 100644
index 0000000000..7d587c40bf
Binary files /dev/null and b/packages/server/builder/assets/Inter-Regular.woff differ
diff --git a/packages/server/builder/assets/Inter-Regular.woff2 b/packages/server/builder/assets/Inter-Regular.woff2
new file mode 100644
index 0000000000..d5ffd2a1f1
Binary files /dev/null and b/packages/server/builder/assets/Inter-Regular.woff2 differ
diff --git a/packages/server/builder/assets/Inter-SemiBold.woff b/packages/server/builder/assets/Inter-SemiBold.woff
new file mode 100644
index 0000000000..99df06cbee
Binary files /dev/null and b/packages/server/builder/assets/Inter-SemiBold.woff differ
diff --git a/packages/server/builder/assets/Inter-SemiBold.woff2 b/packages/server/builder/assets/Inter-SemiBold.woff2
new file mode 100644
index 0000000000..df746af999
Binary files /dev/null and b/packages/server/builder/assets/Inter-SemiBold.woff2 differ
diff --git a/packages/server/src/utilities/builder/index.template.html b/packages/server/src/utilities/builder/index.template.html
index a21219de9b..91b33cb284 100644
--- a/packages/server/src/utilities/builder/index.template.html
+++ b/packages/server/src/utilities/builder/index.template.html
@@ -11,7 +11,7 @@
diff --git a/packages/standard-components/src/List.svelte b/packages/standard-components/src/List.svelte
index 9e4ddd6c99..8207ef47ee 100644
--- a/packages/standard-components/src/List.svelte
+++ b/packages/standard-components/src/List.svelte
@@ -41,7 +41,7 @@
.list {
display: flex;
flex-direction: column;
- font-family: Roboto;
+ font-family: Inter;
}
.grid {
diff --git a/packages/standard-components/src/Login.svelte b/packages/standard-components/src/Login.svelte
index 0675c65f46..e9d7adb843 100644
--- a/packages/standard-components/src/Login.svelte
+++ b/packages/standard-components/src/Login.svelte
@@ -23,7 +23,10 @@
const login = async () => {
loading = true
- const response = await _bb.api.post("/api/authenticate", { username, password })
+ const response = await _bb.api.post("/api/authenticate", {
+ username,
+ password,
+ })
if (response.status === 200) {
const json = await response.json()
localStorage.setItem("budibase:token", json.token)
@@ -36,47 +39,39 @@
}
-
-
- {#if logo}
-
-
-
- {/if}
+
+
+
+ {#if logo}
+
+
+
+ {/if}
-
-
-