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.

Cleaned up some Tokens (#1101)

markxtang6e8c0fbd428b
diff --git a/packages/design-system/src/__generated__/figma-design-tokens.json b/packages/design-system/src/__generated__/figma-design-tokens.json
index 20dfd08195..65d0551a6d 100644
--- a/packages/design-system/src/__generated__/figma-design-tokens.json
+++ b/packages/design-system/src/__generated__/figma-design-tokens.json
@@ -94,6 +94,10 @@
"value": "Bold",
"type": "fontWeights"
},
+ "inter-4": {
+ "value": "Semi Bold",
+ "type": "fontWeights"
+ },
"roboto-mono-4": {
"value": "Regular",
"type": "fontWeights"
@@ -121,44 +125,6 @@
"roboto-mono-3": {
"value": "Regular",
"type": "fontWeights"
- },
- "inter-4": {
- "value": "Semi Bold",
- "type": "fontWeights"
- }
- },
- "fontSizes": {
- "0": {
- "value": "8",
- "type": "fontSizes"
- },
- "1": {
- "value": "10",
- "type": "fontSizes"
- },
- "2": {
- "value": "12",
- "type": "fontSizes"
- },
- "3": {
- "value": "16",
- "type": "fontSizes"
- },
- "4": {
- "value": "20",
- "type": "fontSizes"
- },
- "5": {
- "value": "32",
- "type": "fontSizes"
- },
- "6": {
- "value": "48",
- "type": "fontSizes"
- },
- "7": {
- "value": "360",
- "type": "fontSizes"
}
},
"letterSpacing": {
@@ -388,22 +354,6 @@
"5": {
"value": "6px",
"type": "borderRadius"
- },
- "6": {
- "value": "8px",
- "type": "borderRadius"
- },
- "7": {
- "value": "9px",
- "type": "borderRadius"
- },
- "8": {
- "value": "16px",
- "type": "borderRadius"
- },
- "9": {
- "value": "17px",
- "type": "borderRadius"
}
},
"white": {
@@ -733,14 +683,6 @@
"dashboard": {
"value": "#ededed",
"type": "color"
- },
- "regular-button-selected": {
- "value": "linear-gradient(180deg, #bffeec 0%, #fbfff6 100%)",
- "type": "color"
- },
- "cta-button": {
- "value": "linear-gradient(135deg, #4a4efa 0%, #bd2fdb 100%)",
- "type": "color"
}
},
"foreground": {
@@ -753,14 +695,6 @@
"published": {
"value": "#ebfffc",
"type": "color"
- },
- "full-gradient": {
- "value": "linear-gradient(135deg, #92fddc 0%, #7d7ffb 31.94%, #ed72fe 64.24%, #fdd791 100%)",
- "type": "color"
- },
- "navbar": {
- "value": "linear-gradient(90deg, #39fbbb00 0%, #39fbbb 20%, #4a4efa 40.03%, #e63cfe 60.02%, #ffae3c 80.04%, #ffae3c00 100%, #ffae3c00 100%)",
- "type": "color"
}
}
},
diff --git a/packages/design-system/src/__generated__/figma-design-tokens.ts b/packages/design-system/src/__generated__/figma-design-tokens.ts
index bbe9699072..c07573b5bc 100644
--- a/packages/design-system/src/__generated__/figma-design-tokens.ts
+++ b/packages/design-system/src/__generated__/figma-design-tokens.ts
@@ -31,6 +31,7 @@ export const fontWeights = {
inter1: 500,
inter2: 700,
inter3: 700,
+ inter4: 600,
robotoMono4: 400,
manrope5: 700,
manrope6: 400,
@@ -38,26 +39,6 @@ export const fontWeights = {
manrope8: 200,
manrope9: 800,
robotoMono3: 400,
- inter4: 600,
-} as const;
-
-export const fontSizes = {
- "0": "8px",
- "1": "10px",
- "2": "12px",
- "3": "16px",
- "4": "20px",
- "5": "32px",
- "6": "48px",
- "7": "360px",
- fontSize0: "8px",
- fontSize1: "10px",
- fontSize2: "12px",
- fontSize3: "16px",
- fontSize4: "20px",
- fontSize5: "32px",
- fontSize6: "48px",
- fontSize7: "360px",
} as const;
export const letterSpacing = {
@@ -298,10 +279,6 @@ export const borderRadius = {
"3": "4px",
"4": "5px",
"5": "6px",
- "6": "8px",
- "7": "9px",
- "8": "16px",
- "9": "17px",
} as const;
export const color = {
@@ -376,15 +353,8 @@ export const color = {
brandBackgroundGradient: "linear-gradient(180deg, #e63cfe 0%, #ffae3c 100%)",
brandBackgroundPublishedContrast: "#ebfffc",
brandBackgroundDashboard: "#ededed",
- brandBackgroundRegularButtonSelected:
- "linear-gradient(180deg, #bffeec 0%, #fbfff6 100%)",
- brandBackgroundCtaButton: "linear-gradient(135deg, #4a4efa 0%, #bd2fdb 100%)",
brandForegroundPublished: "#00894a",
brandBorderPublished: "#ebfffc",
- brandBorderFullGradient:
- "linear-gradient(135deg, #92fddc 0%, #7d7ffb 31.94%, #ed72fe 64.24%, #fdd791 100%)",
- brandBorderNavbar:
- "linear-gradient(90deg, #39fbbb00 0%, #39fbbb 20%, #4a4efa 40.03%, #e63cfe 60.02%, #ffae3c 80.04%, #ffae3c00 100%, #ffae3c00 100%)",
borderMain: "#c1c8cd",
borderFocus: "#096cff",
borderMenuInner: "#fcfcfc",
@@ -437,4 +407,15 @@ export const borderWidth = { "0": 1, "1": 2 } as const;
export const dimension = { paragraphIndent0: "0px" } as const;
+export const fontSizes = {
+ fontSize0: "8px",
+ fontSize1: "10px",
+ fontSize2: "12px",
+ fontSize3: "16px",
+ fontSize4: "20px",
+ fontSize5: "32px",
+ fontSize6: "48px",
+ fontSize7: "360px",
+} as const;
+
export const other = { tokenSetOrder0: "global" } as const;