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.

updated success color (#823)

Taylor Nowotny74f74cf77a5c
diff --git a/packages/design-system/src/__generated__/figma-design-tokens.json b/packages/design-system/src/__generated__/figma-design-tokens.json
index 29354d51e1..59133a3866 100644
--- a/packages/design-system/src/__generated__/figma-design-tokens.json
+++ b/packages/design-system/src/__generated__/figma-design-tokens.json
@@ -37,31 +37,39 @@
},
"lineHeights": {
"0": {
- "value": "AUTO",
+ "value": "8",
"type": "lineHeights"
},
"1": {
- "value": "8",
+ "value": "10",
"type": "lineHeights"
},
"2": {
- "value": "10",
+ "value": "11",
"type": "lineHeights"
},
"3": {
- "value": "11",
+ "value": "12",
"type": "lineHeights"
},
"4": {
- "value": "12",
+ "value": "16",
"type": "lineHeights"
},
"5": {
- "value": "16",
+ "value": "22",
"type": "lineHeights"
},
"6": {
- "value": "120%",
+ "value": "27",
+ "type": "lineHeights"
+ },
+ "7": {
+ "value": "39",
+ "type": "lineHeights"
+ },
+ "8": {
+ "value": "58",
"type": "lineHeights"
}
},
@@ -153,7 +161,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-0}",
- "lineHeight": "{lineHeights.5}",
+ "lineHeight": "{lineHeights.4}",
"fontSize": "{fontSize.2}",
"letterSpacing": "{letterSpacing.2}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -167,7 +175,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.5}",
+ "lineHeight": "{lineHeights.4}",
"fontSize": "{fontSize.2}",
"letterSpacing": "{letterSpacing.2}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -181,7 +189,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.5}",
+ "lineHeight": "{lineHeights.4}",
"fontSize": "{fontSize.2}",
"letterSpacing": "{letterSpacing.2}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -195,7 +203,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.5}",
+ "lineHeight": "{lineHeights.4}",
"fontSize": "{fontSize.2}",
"letterSpacing": "{letterSpacing.3}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -209,7 +217,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-0}",
- "lineHeight": "{lineHeights.3}",
+ "lineHeight": "{lineHeights.2}",
"fontSize": "{fontSize.1}",
"letterSpacing": "{letterSpacing.3}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -224,7 +232,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.1}",
+ "lineHeight": "{lineHeights.0}",
"fontSize": "{fontSize.0}",
"letterSpacing": "{letterSpacing.3}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -238,7 +246,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.4}",
+ "lineHeight": "{lineHeights.3}",
"fontSize": "{fontSize.1}",
"letterSpacing": "{letterSpacing.1}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -252,7 +260,7 @@
"value": {
"fontFamily": "{fontFamilies.roboto-mono}",
"fontWeight": "{fontWeights.roboto-mono-3}",
- "lineHeight": "{lineHeights.5}",
+ "lineHeight": "{lineHeights.4}",
"fontSize": "{fontSize.2}",
"letterSpacing": "{letterSpacing.3}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -266,7 +274,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.0}",
+ "lineHeight": "{lineHeights.7}",
"fontSize": "{fontSize.5}",
"letterSpacing": "{letterSpacing.2}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -280,7 +288,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-4}",
- "lineHeight": "{lineHeights.1}",
+ "lineHeight": "{lineHeights.0}",
"fontSize": "{fontSize.0}",
"letterSpacing": "{letterSpacing.3}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -294,7 +302,7 @@
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.2}",
+ "lineHeight": "{lineHeights.1}",
"fontSize": "{fontSize.1}",
"letterSpacing": "{letterSpacing.3}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -325,27 +333,27 @@
}
},
"radius": {
- "1": {
+ "0": {
"value": "1px",
"type": "borderRadius"
},
- "2": {
+ "1": {
"value": "2px",
"type": "borderRadius"
},
- "3": {
+ "2": {
"value": "3px",
"type": "borderRadius"
},
- "4": {
+ "3": {
"value": "4px",
"type": "borderRadius"
},
- "5": {
+ "4": {
"value": "5px",
"type": "borderRadius"
},
- "6": {
+ "5": {
"value": "6px",
"type": "borderRadius"
}
@@ -396,7 +404,7 @@
},
"neutral": {
"main": {
- "value": "#D7DBDF",
+ "value": "#d7dbdf",
"type": "color",
"description": "used for neutral button"
},
@@ -460,11 +468,11 @@
},
"preset": {
"main": {
- "value": "#E6E8EB",
+ "value": "#e6e8eb",
"type": "color"
},
"hover": {
- "value": "#DFE3E6",
+ "value": "#dfe3e6",
"type": "color"
}
},
@@ -774,7 +782,7 @@
"description": "destructive foreground color. Used in input field, text field, search area, & toast"
},
"success": {
- "value": "#30a46c",
+ "value": "#008846",
"type": "color",
"description": "success foreground color. Used in toast"
},
@@ -871,7 +879,7 @@
"value": {
"fontFamily": "{fontFamilies.manrope}",
"fontWeight": "{fontWeights.manrope-5}",
- "lineHeight": "{lineHeights.0}",
+ "lineHeight": "{lineHeights.6}",
"fontSize": "{fontSize.4}",
"letterSpacing": "{letterSpacing.1}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -885,7 +893,7 @@
"value": {
"fontFamily": "{fontFamilies.manrope}",
"fontWeight": "{fontWeights.manrope-5}",
- "lineHeight": "{lineHeights.6}",
+ "lineHeight": "{lineHeights.8}",
"fontSize": "{fontSize.6}",
"letterSpacing": "{letterSpacing.0}",
"paragraphSpacing": "{paragraphSpacing.0}",
@@ -899,9 +907,9 @@
"value": {
"fontFamily": "{fontFamilies.manrope}",
"fontWeight": "{fontWeights.manrope-6}",
- "lineHeight": "{lineHeights.0}",
+ "lineHeight": "{lineHeights.5}",
"fontSize": "{fontSize.3}",
- "letterSpacing": "{letterSpacing.3}",
+ "letterSpacing": "{letterSpacing.1}",
"paragraphSpacing": "{paragraphSpacing.0}",
"paragraphIndent": "{paragraphIndent.0}",
"textCase": "{textCase.none}",
@@ -910,7 +918,7 @@
"type": "typography"
},
"inner-glow": {
- "1": {
+ "0": {
"value": {
"color": "#fbf8ff",
"type": "innerShadow",
@@ -921,7 +929,7 @@
},
"type": "boxShadow"
},
- "2": {
+ "1": {
"value": {
"color": "#fbf8ff",
"type": "innerShadow",
@@ -932,7 +940,7 @@
},
"type": "boxShadow"
},
- "3": {
+ "2": {
"value": {
"color": "#fbf8ff",
"type": "innerShadow",
@@ -964,12 +972,12 @@
}
},
"border-width": {
- "1": {
+ "0": {
"value": "1",
"type": "borderWidth",
"description": "sets border width value to 1"
},
- "2": {
+ "1": {
"value": "2",
"type": "borderWidth",
"description": "sets border width value to 2. Used for focus borders (among other things)"
diff --git a/packages/design-system/src/__generated__/figma-design-tokens.ts b/packages/design-system/src/__generated__/figma-design-tokens.ts
index a6f39d0442..388b1308e6 100644
--- a/packages/design-system/src/__generated__/figma-design-tokens.ts
+++ b/packages/design-system/src/__generated__/figma-design-tokens.ts
@@ -21,7 +21,7 @@ export const boxShadow = {
blur: 16,
spread: 0,
},
- brandInnerGlow1: {
+ brandInnerGlow0: {
color: "#fbf8ff",
type: "innerShadow",
x: 0,
@@ -29,7 +29,7 @@ export const boxShadow = {
blur: 1,
spread: 0,
},
- brandInnerGlow2: {
+ brandInnerGlow1: {
color: "#fbf8ff",
type: "innerShadow",
x: 0,
@@ -37,7 +37,7 @@ export const boxShadow = {
blur: 3,
spread: 0,
},
- brandInnerGlow3: {
+ brandInnerGlow2: {
color: "#fbf8ff",
type: "innerShadow",
x: 0,
@@ -54,13 +54,15 @@ export const fontFamilies = {
} as const;
export const lineHeights = {
- "0": "AUTO",
- "1": 8,
- "2": 10,
- "3": 11,
- "4": 12,
- "5": 16,
- "6": "120%",
+ "0": 8,
+ "1": 10,
+ "2": 11,
+ "3": 12,
+ "4": 16,
+ "5": 22,
+ "6": 27,
+ "7": 39,
+ "8": 58,
} as const;
export const fontWeights = {
@@ -184,7 +186,7 @@ export const typography = {
bigTitle: {
fontFamily: "Inter",
fontWeight: "Medium",
- lineHeight: "AUTO",
+ lineHeight: 39,
fontSize: 32,
letterSpacing: "0.5%",
paragraphSpacing: 0,
@@ -217,7 +219,7 @@ export const typography = {
brandSectionTitle: {
fontFamily: "Manrope",
fontWeight: "Bold",
- lineHeight: "AUTO",
+ lineHeight: 27,
fontSize: 20,
letterSpacing: "0%",
paragraphSpacing: 0,
@@ -228,7 +230,7 @@ export const typography = {
brandLargeTitle: {
fontFamily: "Manrope",
fontWeight: "Bold",
- lineHeight: "120%",
+ lineHeight: 58,
fontSize: 48,
letterSpacing: "-2%",
paragraphSpacing: 0,
@@ -239,9 +241,9 @@ export const typography = {
brandRegular: {
fontFamily: "Manrope",
fontWeight: "Regular",
- lineHeight: "AUTO",
+ lineHeight: 22,
fontSize: 16,
- letterSpacing: "1%",
+ letterSpacing: "0%",
paragraphSpacing: 0,
paragraphIndent: "0px",
textCase: "none",
@@ -258,12 +260,12 @@ export const textCase = {
export const textDecoration = { none: "none" } as const;
export const borderRadius = {
- radius1: "1px",
- radius2: "2px",
- radius3: "3px",
- radius4: "4px",
- radius5: "5px",
- radius6: "6px",
+ radius0: "1px",
+ radius1: "2px",
+ radius2: "3px",
+ radius3: "4px",
+ radius4: "5px",
+ radius5: "6px",
} as const;
export const color = {
@@ -276,7 +278,7 @@ export const color = {
backgroundMenu: "#ededed",
backgroundControls: "#ffffff",
backgroundAssetcardHover: "#e6e8eb",
- backgroundNeutralMain: "#D7DBDF",
+ backgroundNeutralMain: "#d7dbdf",
backgroundNeutralAccent: "#11181c",
backgroundNeutralNotification: "#ffffff",
backgroundDestructiveMain: "#dc3d43",
@@ -287,8 +289,8 @@ export const color = {
backgroundAlertNotification: "#fffbd1",
backgroundInfoMain: "#006adc",
backgroundInfoNotification: "#edf6ff",
- backgroundPresetMain: "#E6E8EB",
- backgroundPresetHover: "#DFE3E6",
+ backgroundPresetMain: "#e6e8eb",
+ backgroundPresetHover: "#dfe3e6",
backgroundSetMain: "#e1f0ff",
backgroundSetHover: "#cee7fe",
backgroundInheritedMain: "#ffe8d7",
@@ -351,7 +353,7 @@ export const color = {
foregroundCategoryLabel: "#889096",
foregroundTextSubtle: "#687076",
foregroundDestructive: "#dc3d43",
- foregroundSuccess: "#30a46c",
+ foregroundSuccess: "#008846",
foregroundInfo: "#006adc",
foregroundDisabled: "#c1c8cd",
foregroundHiddenItem: "#7e868c",
@@ -369,7 +371,7 @@ export const color = {
maintenanceSpacerViz: "#f9c6c6",
} as const;
-export const borderWidth = { borderWidth1: 1, borderWidth2: 2 } as const;
+export const borderWidth = { borderWidth0: 1, borderWidth1: 2 } as const;
export const dimension = { paragraphIndent0: "0px" } as const;