Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

chore: Update Colors (#4541)

Oleg Isonen7f09077b7db0
diff --git a/packages/design-system/src/__generated__/figma-design-tokens.json b/packages/design-system/src/__generated__/figma-design-tokens.json
index 1e112e2d31..182e46376c 100644
--- a/packages/design-system/src/__generated__/figma-design-tokens.json
+++ b/packages/design-system/src/__generated__/figma-design-tokens.json
@@ -387,7 +387,7 @@
},
"background": {
"panel": {
- "value": "#f8f8f8",
+ "value": "#fff",
"type": "color",
"description": "background color for all panels, titles, columns and rows."
},
@@ -407,7 +407,7 @@
"description": "color for active elements"
},
"menu": {
- "value": "#ededed",
+ "value": "#fff",
"type": "color",
"description": "background color for menu and select menu"
},
@@ -575,7 +575,7 @@
"description": "color for the hidden current item in the navigator item component"
},
"menu-item-hover": {
- "value": "#d3d3d3",
+ "value": "#dfe3e6",
"type": "color",
"description": "The hover state on menu item components."
}
@@ -665,7 +665,7 @@
}
},
"canvas": {
- "value": "#c7c7c7",
+ "value": "#eee",
"type": "color",
"description": "The color of the Builder UI canvas area background."
},
@@ -697,7 +697,7 @@
}
},
"menu-hint": {
- "value": "#dedede",
+ "value": "#efefef",
"type": "color",
"description": "For the background of the hint menu item."
},
@@ -819,7 +819,7 @@
},
"border": {
"main": {
- "value": "#c1c8cd",
+ "value": "#d9d9d9",
"type": "color",
"description": "color for separators, panel borders, preset borders, input fields, select buttons, panel buttons, text area, search field, menu, select menu, spacing controls,"
},
diff --git a/packages/design-system/src/__generated__/figma-design-tokens.ts b/packages/design-system/src/__generated__/figma-design-tokens.ts
index 600ecac25a..da9158e1ff 100644
--- a/packages/design-system/src/__generated__/figma-design-tokens.ts
+++ b/packages/design-system/src/__generated__/figma-design-tokens.ts
@@ -384,11 +384,11 @@ export const borderRadius = {
export const color = {
white: "#ffffff",
black: "#000000",
- backgroundPanel: "#f8f8f8",
+ backgroundPanel: "#fff",
backgroundPrimary: "#096cff",
backgroundHover: "#dfe3e6",
backgroundActive: "#096cff",
- backgroundMenu: "#ededed",
+ backgroundMenu: "#fff",
backgroundControls: "#ffffff",
backgroundAssetcardHover: "#e6e8eb",
backgroundNeutralMain: "#d7dbdf",
@@ -417,9 +417,9 @@ export const color = {
backgroundButtonDisabled: "#e9ebed",
backgroundButtonDisabledDark: "#646464",
backgroundItemCurrent: "#e1f0ff",
- backgroundItemCurrentChild: "#f8f8f8",
+ backgroundItemCurrentChild: "#fff",
backgroundItemCurrentHidden: "#7e868c",
- backgroundItemMenuItemHover: "#d3d3d3",
+ backgroundItemMenuItemHover: "#dfe3e6",
backgroundTooltipMain: "#11181c",
backgroundTooltipBuilder: "#ffffff",
backgroundTooltipDesigner: "#ffffff",
@@ -441,7 +441,7 @@ export const color = {
"linear-gradient(90deg, #096cff00 0%, #096cff 31.87%)",
backgroundStyleSourceBreakpoint: "#bd2fdb",
backgroundStyleSourceLocal: "#096cff",
- backgroundCanvas: "#c7c7c7",
+ backgroundCanvas: "#eee",
backgroundTopbar: "#2d2d2d",
backgroundGradientPrimary:
"linear-gradient(135deg, #1774ff 0%, #bd2fdb 100%)",
@@ -451,7 +451,7 @@ export const color = {
"linear-gradient(90deg, #4a4efa 0%, #bd2fdb 100%)",
backgroundGradientHorizontalReverse:
"linear-gradient(90deg, #bd2fdb 0%, #4a4efa 100%)",
- backgroundMenuHint: "#dedede",
+ backgroundMenuHint: "#efefef",
backgroundTopbarHover: "#383838",
backgroundWorkspace: "#a9a9a9",
backgroundIconSubtle: "#3e3e3e",
@@ -481,7 +481,7 @@ export const color = {
brandSpinnerBlue: "#4a4efa",
brandSpinnerPurple: "#e63cfe",
brandSpinnerOrange: "#ffae3c",
- borderMain: "#c1c8cd",
+ borderMain: "#d9d9d9",
borderFocus: "#096cff",
borderMenuInner: "#fcfcfc",
borderColorSwatch: "#687076",
diff --git a/packages/design-system/src/components/panel-tabs.tsx b/packages/design-system/src/components/panel-tabs.tsx
index b1882558af..52cecb86a5 100644
--- a/packages/design-system/src/components/panel-tabs.tsx
+++ b/packages/design-system/src/components/panel-tabs.tsx
@@ -15,15 +15,14 @@ export const PanelTabs = styled(Primitive.Root, {
export const PanelTabsList = styled(Primitive.List, {
display: "flex",
- px: theme.spacing[5],
- py: theme.spacing[3],
+ padding: theme.spacing[5],
});
export const PanelTabsTrigger = styled(Primitive.Trigger, {
all: "unset", // reset <button>
...textVariants.titles,
color: theme.colors.foregroundTextMoreSubtle,
- padding: theme.spacing[5],
+ padding: theme.spacing[3],
borderRadius: theme.borderRadius[4],
"&:hover": {