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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
Figma tokens (#918)
Roman Pominov0ee5d13efc74
diff --git a/packages/design-system/src/__generated__/figma-design-tokens.json b/packages/design-system/src/__generated__/figma-design-tokens.jsonindex c03ab8e209..5bf8e70206 100644--- a/packages/design-system/src/__generated__/figma-design-tokens.json+++ b/packages/design-system/src/__generated__/figma-design-tokens.json@@ -115,7 +115,7 @@"type": "fontWeights"}},- "fontSize": {+ "fontSizes": {"0": {"value": "8","type": "fontSizes"@@ -182,7 +182,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-0}","lineHeight": "{lineHeights.4}",- "fontSize": "{fontSize.2}",+ "fontSize": "{fontSizes.2}","letterSpacing": "{letterSpacing.3}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -196,7 +196,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-1}","lineHeight": "{lineHeights.4}",- "fontSize": "{fontSize.2}",+ "fontSize": "{fontSizes.2}","letterSpacing": "{letterSpacing.3}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -210,7 +210,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-1}","lineHeight": "{lineHeights.4}",- "fontSize": "{fontSize.2}",+ "fontSize": "{fontSizes.2}","letterSpacing": "{letterSpacing.3}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -224,7 +224,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-3}","lineHeight": "{lineHeights.4}",- "fontSize": "{fontSize.2}",+ "fontSize": "{fontSizes.2}","letterSpacing": "{letterSpacing.4}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -238,7 +238,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-0}","lineHeight": "{lineHeights.2}",- "fontSize": "{fontSize.1}",+ "fontSize": "{fontSizes.1}","letterSpacing": "{letterSpacing.4}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -253,7 +253,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-1}","lineHeight": "{lineHeights.0}",- "fontSize": "{fontSize.0}",+ "fontSize": "{fontSizes.0}","letterSpacing": "{letterSpacing.4}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -267,7 +267,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-1}","lineHeight": "{lineHeights.3}",- "fontSize": "{fontSize.1}",+ "fontSize": "{fontSizes.1}","letterSpacing": "{letterSpacing.2}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -281,7 +281,7 @@"fontFamily": "{fontFamilies.roboto-mono}","fontWeight": "{fontWeights.roboto-mono-4}","lineHeight": "{lineHeights.4}",- "fontSize": "{fontSize.2}",+ "fontSize": "{fontSizes.2}","letterSpacing": "{letterSpacing.4}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -295,7 +295,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-1}","lineHeight": "{lineHeights.7}",- "fontSize": "{fontSize.5}",+ "fontSize": "{fontSizes.5}","letterSpacing": "{letterSpacing.3}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -309,7 +309,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-2}","lineHeight": "{lineHeights.0}",- "fontSize": "{fontSize.0}",+ "fontSize": "{fontSizes.0}","letterSpacing": "{letterSpacing.4}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -323,7 +323,7 @@"fontFamily": "{fontFamilies.inter}","fontWeight": "{fontWeights.inter-1}","lineHeight": "{lineHeights.1}",- "fontSize": "{fontSize.1}",+ "fontSize": "{fontSizes.1}","letterSpacing": "{letterSpacing.4}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -352,7 +352,7 @@"type": "textDecoration"}},- "radius": {+ "borderRadius": {"0": {"value": "1px","type": "borderRadius"@@ -908,7 +908,7 @@"fontFamily": "{fontFamilies.manrope}","fontWeight": "{fontWeights.manrope-7}","lineHeight": "{lineHeights.6}",- "fontSize": "{fontSize.4}",+ "fontSize": "{fontSizes.4}","letterSpacing": "{letterSpacing.2}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -922,7 +922,7 @@"fontFamily": "{fontFamilies.manrope}","fontWeight": "{fontWeights.manrope-7}","lineHeight": "{lineHeights.8}",- "fontSize": "{fontSize.6}",+ "fontSize": "{fontSizes.6}","letterSpacing": "{letterSpacing.1}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -936,7 +936,7 @@"fontFamily": "{fontFamilies.manrope}","fontWeight": "{fontWeights.manrope-6}","lineHeight": "{lineHeights.5}",- "fontSize": "{fontSize.3}",+ "fontSize": "{fontSizes.3}","letterSpacing": "{letterSpacing.2}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -951,7 +951,7 @@"fontFamily": "{fontFamilies.manrope}","fontWeight": "{fontWeights.manrope-5}","lineHeight": "{lineHeights.9}",- "fontSize": "{fontSize.7}",+ "fontSize": "{fontSizes.7}","letterSpacing": "{letterSpacing.0}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -965,7 +965,7 @@"fontFamily": "{fontFamilies.manrope}","fontWeight": "{fontWeights.manrope-8}","lineHeight": "{lineHeights.9}",- "fontSize": "{fontSize.7}",+ "fontSize": "{fontSizes.7}","letterSpacing": "{letterSpacing.0}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -981,7 +981,7 @@"fontFamily": "{fontFamilies.manrope}","fontWeight": "{fontWeights.manrope-6}","lineHeight": "{lineHeights.8}",- "fontSize": "{fontSize.6}",+ "fontSize": "{fontSizes.6}","letterSpacing": "{letterSpacing.1}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -995,7 +995,7 @@"fontFamily": "{fontFamilies.manrope}","fontWeight": "{fontWeights.manrope-8}","lineHeight": "{lineHeights.8}",- "fontSize": "{fontSize.6}",+ "fontSize": "{fontSizes.6}","letterSpacing": "{letterSpacing.1}","paragraphSpacing": "{paragraphSpacing.0}","paragraphIndent": "{paragraphIndent.0}",@@ -1041,30 +1041,6 @@"value": "0px","type": "dimension"}- },- "Regular Icon Border": {- "0": {- "value": "1",- "type": "borderWidth"- },- "1": {- "value": "1.3",- "type": "borderWidth"- },- "2": {- "value": "1.6",- "type": "borderWidth"- }- },- "Large Icon Border": {- "1": {- "value": "1.5",- "type": "borderWidth"- },- "2": {- "value": "1.8",- "type": "borderWidth"- }}},"$themes": [],diff --git a/packages/design-system/src/__generated__/figma-design-tokens.ts b/packages/design-system/src/__generated__/figma-design-tokens.tsindex 5ef08c939c..01c3da2f6b 100644--- a/packages/design-system/src/__generated__/figma-design-tokens.ts+++ b/packages/design-system/src/__generated__/figma-design-tokens.ts@@ -39,14 +39,14 @@ export const fontWeights = {} as const;export const fontSizes = {- fontSize0: "8px",- fontSize1: "10px",- fontSize2: "12px",- fontSize3: "16px",- fontSize4: "20px",- fontSize5: "32px",- fontSize6: "48px",- fontSize7: "360px",+ "0": "8px",+ "1": "10px",+ "2": "12px",+ "3": "16px",+ "4": "20px",+ "5": "32px",+ "6": "48px",+ "7": "360px",} as const;export const letterSpacing = {@@ -207,12 +207,12 @@ export const textCase = {export const textDecoration = { none: "none" } as const;export const borderRadius = {- radius0: "1px",- radius1: "2px",- radius2: "3px",- radius3: "4px",- radius4: "5px",- radius5: "6px",+ "0": "1px",+ "1": "2px",+ "2": "3px",+ "3": "4px",+ "4": "5px",+ "5": "6px",} as const;export const color = {@@ -320,15 +320,7 @@ export const color = {maintenanceSpacerViz: "#f9c6c6",} as const;-export const borderWidth = {- borderWidth0: 1,- borderWidth1: 2,- regularIconBorder0: 1,- regularIconBorder1: 1.3,- regularIconBorder2: 1.6,- largeIconBorder1: 1.5,- largeIconBorder2: 1.8,-} as const;+export const borderWidth = { borderWidth0: 1, borderWidth1: 2 } as const;export const dimension = { paragraphIndent0: "0px" } as const;