The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
opacity now working
Jonathan Summers-Muir7273b798eb05
diff --git a/package-lock.json b/package-lock.jsonindex 3e25fbc4bcc..e5ef7e3bdc2 100644--- a/package-lock.json+++ b/package-lock.json@@ -17396,6 +17396,18 @@"node": ">=0.10.0"}},+ "node_modules/color": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",+ "dependencies": {+ "color-convert": "^2.0.1",+ "color-string": "^1.9.0"+ },+ "engines": {+ "node": ">=12.5.0"+ }+ },"node_modules/color-convert": {"version": "2.0.1","license": "MIT",@@ -17410,6 +17422,15 @@"version": "1.1.4","license": "MIT"},+ "node_modules/color-string": {+ "version": "1.9.1",+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",+ "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",+ "dependencies": {+ "color-name": "^1.0.0",+ "simple-swizzle": "^0.2.2"+ }+ },"node_modules/color-support": {"version": "1.1.3","dev": true,@@ -36704,6 +36725,19 @@"version": "3.0.7","license": "ISC"},+ "node_modules/simple-swizzle": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",+ "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",+ "dependencies": {+ "is-arrayish": "^0.3.1"+ }+ },+ "node_modules/simple-swizzle/node_modules/is-arrayish": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="+ },"node_modules/simple-update-notifier": {"version": "1.1.0","dev": true,@@ -41303,9 +41337,6 @@"eslint-config-prettier": "^8.3.0","eslint-plugin-react": "7.28.0","tailwindcss-radix": "^2.0.0"- },- "devDependencies": {- "glob": "^8.1.0"}},"packages/config/node_modules/@tailwindcss/forms": {@@ -41331,46 +41362,6 @@"tailwindcss": ">=3.0.0 || insiders"}},- "packages/config/node_modules/brace-expansion": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",- "dev": true,- "dependencies": {- "balanced-match": "^1.0.0"- }- },- "packages/config/node_modules/glob": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",- "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",- "dev": true,- "dependencies": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^5.0.1",- "once": "^1.3.0"- },- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },- "packages/config/node_modules/minimatch": {- "version": "5.1.6",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",- "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",- "dev": true,- "dependencies": {- "brace-expansion": "^2.0.1"- },- "engines": {- "node": ">=10"- }- },"packages/config/node_modules/postcss-selector-parser": {"version": "6.0.10","license": "MIT",@@ -41413,6 +41404,7 @@"autoprefixer": "^10.4.14","clsx": "^1.2.1","cmdk-supabase": "^0.2.2",+ "color": "^4.2.3","colorjs.io": "^0.4.3","common-tags": "^1.8.2","config": "*",@@ -54015,6 +54007,15 @@"object-visit": "^1.0.0"}},+ "color": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",+ "requires": {+ "color-convert": "^2.0.1",+ "color-string": "^1.9.0"+ }+ },"color-convert": {"version": "2.0.1","requires": {@@ -54024,6 +54025,15 @@"color-name": {"version": "1.1.4"},+ "color-string": {+ "version": "1.9.1",+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",+ "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",+ "requires": {+ "color-name": "^1.0.0",+ "simple-swizzle": "^0.2.2"+ }+ },"color-support": {"version": "1.1.3","dev": true@@ -54162,7 +54172,6 @@"eslint-config-next": "^12.0.8","eslint-config-prettier": "^8.3.0","eslint-plugin-react": "7.28.0",- "glob": "^8.1.0","tailwindcss-radix": "^2.0.0"},"dependencies": {@@ -54181,37 +54190,6 @@"postcss-selector-parser": "6.0.10"}},- "brace-expansion": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",- "dev": true,- "requires": {- "balanced-match": "^1.0.0"- }- },- "glob": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",- "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",- "dev": true,- "requires": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^5.0.1",- "once": "^1.3.0"- }- },- "minimatch": {- "version": "5.1.6",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",- "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",- "dev": true,- "requires": {- "brace-expansion": "^2.0.1"- }- },"postcss-selector-parser": {"version": "6.0.10","requires": {@@ -66981,6 +66959,21 @@"signal-exit": {"version": "3.0.7"},+ "simple-swizzle": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",+ "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",+ "requires": {+ "is-arrayish": "^0.3.1"+ },+ "dependencies": {+ "is-arrayish": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="+ }+ }+ },"simple-update-notifier": {"version": "1.1.0","dev": true,@@ -69136,6 +69129,7 @@"autoprefixer": "^10.4.14","clsx": "^1.2.1","cmdk-supabase": "^0.2.2",+ "color": "*","color2k": "^2.0.1","colorjs.io": "^0.4.3","common-tags": "^1.8.2",diff --git a/packages/config/tailwind.config.js b/packages/config/tailwind.config.jsindex 67014ec33e5..db9ce1c2104 100644--- a/packages/config/tailwind.config.js+++ b/packages/config/tailwind.config.js@@ -10,7 +10,7 @@ function generateTwColorClasses(globalKey, twAttributes) {if (attrKey.includes(globalKey)) {classes = {...classes,- [attrKey.split('-').splice(1).join('-')]: attr,+ [attrKey.split('-').splice(1).join('-')]: `hsl(${attr.cssVariable} / <alpha-value>)`,}}})@@ -47,6 +47,14 @@ const uiConfig = ui({mode: 'JIT',darkMode: 'class',theme: {+ textColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('textColor', color),+ }),+ accentColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('accentColor', color),+ }),backgroundColor: (theme) => ({...theme('colors'),...generateTwColorClasses('backgroundColor', color),@@ -55,9 +63,37 @@ const uiConfig = ui({...theme('colors'),...generateTwColorClasses('borderColor', color),}),- textColor: (theme) => ({+ boxShadowColor: (theme) => ({...theme('colors'),- ...generateTwColorClasses('textColor', color),+ ...generateTwColorClasses('boxShadowColor', color),+ }),+ caretColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('caretColor', color),+ }),+ divideColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('divideColor', color),+ }),+ outlineColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('outlineColor', color),+ }),+ placeholderColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('placeholderColor', color),+ }),+ ringColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('ringColor', color),+ }),+ ringOffsetColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('ringOffsetColor', color),+ }),+ textDecorationColor: (theme) => ({+ ...theme('colors'),+ ...generateTwColorClasses('textDecorationColor', color),}),extend: {typography: ({ theme }) => ({diff --git a/packages/ui/build-tokens.js b/packages/ui/build-tokens.jsindex d2d657aace8..7f651054981 100644--- a/packages/ui/build-tokens.js+++ b/packages/ui/build-tokens.js@@ -8,6 +8,8 @@ const semanticFiles = glob.sync(`tokens/semantic/**/*.json`)const { registerTransforms } = require('@tokens-studio/sd-transforms')const StyleDictionary = require('style-dictionary')+const Color = require('color')+const supportedTokenTypeList = ['spacing','sizing',@@ -37,6 +39,23 @@ const formatTailwindValue = (tokenType, value) => {return formattedValue}+/**+ * Custom format that generates tailwind friendly colors so we can add <alpha-value>+ * in the config later+ * https://tailwindcss.com/docs/customizing-colors#using-css-variables+ */+StyleDictionary.registerTransform({+ name: 'color/rgb',+ type: 'value',+ matcher: (prop) => prop.type === 'color',+ transformer: (prop) => {+ console.log('I AM COLOR', prop)+ // return prop.value+ const color = Color(prop.original.value).hsl()+ return color.string()+ },+})+/*** Custom format that generate tailwind color config based on css variables*/@@ -49,7 +68,10 @@ StyleDictionary.registerFormat({`{\n${dictionary.allProperties.map((token) => {const value = formatTailwindValue(token.type, token.value)- return `"${token.path.slice(0).join('-')}": "var(--${token.name}, ${value});"`+ return `"${token.path.slice(0).join('-')}": {+ cssVariable: "var(--${token.name})",+ value: "${value}"+}`}).join(',\n')}\n}`)@@ -95,7 +117,23 @@ function getStyleDictionaryConfig(source: sourceFiles,platforms: {css: {- transformGroup: 'tokens-studio',+ // transformGroup: 'tokens-studio',+ transforms: [+ 'ts/descriptionToComment',+ 'ts/size/px',+ 'ts/opacity',+ 'ts/size/lineheight',+ 'ts/type/fontWeight',+ 'ts/resolveMath',+ 'ts/size/css/letterspacing',+ 'ts/typography/css/shorthand',+ 'ts/border/css/shorthand',+ 'ts/shadow/css/shorthand',+ 'ts/color/css/hexrgba',+ 'ts/color/modifiers',+ 'name/cti/kebab',+ 'color/rgb',+ ],buildPath: 'build/css/',files: [{@@ -189,13 +227,7 @@ function getTypographyConfig() {source: [...semanticFiles, ...sourceFiles],platforms: {css: {- transforms: [- // 'resolveMath',- // 'size/px',- // 'type/fontWeight',- // 'size/letterspacing',- 'name/cti/kebab',- ],+ transforms: ['name/cti/kebab'],transformGroup: 'tokens-studio',buildPath: 'build/css/',files: [diff --git a/packages/ui/build/css/source/global-two.css b/packages/ui/build/css/source/global-two.cssindex 5ed1716f631..68cc7335cec 100644--- a/packages/ui/build/css/source/global-two.css+++ b/packages/ui/build/css/source/global-two.css@@ -1,10 +1,10 @@/*** Do not edit directly- * Generated on Mon, 08 May 2023 14:44:29 GMT+ * Generated on Mon, 08 May 2023 16:23:48 GMT*/:root {- --dropShadowContextMenu: 0 2px 5px 3px rgba(0,0,0,0.1);- --contextMenu: 6px;- --menuItemSection: 5px;+ --drop-shadow-context-menu: 0 2px 5px 3px rgba(0,0,0,0.1);+ --context-menu: 6px;+ --menu-item-section: 5px;}diff --git a/packages/ui/build/css/source/global.css b/packages/ui/build/css/source/global.cssindex 0879f39b05e..24b55afdd69 100644--- a/packages/ui/build/css/source/global.css+++ b/packages/ui/build/css/source/global.css@@ -1,114 +1,114 @@/*** Do not edit directly- * Generated on Mon, 08 May 2023 14:44:29 GMT+ * Generated on Mon, 08 May 2023 16:23:48 GMT*/:root {- --contentWidthScreenXl: 1128px;- --tableHeaderHorizontal: 32px;- --actionBarHorizontal: 32px;- --actionBarVertical: 21px;+ --content-width-screen-xl: 1128px;+ --table-header-horizontal: 32px;+ --action-bar-horizontal: 32px;+ --action-bar-vertical: 21px;--base: 16;- --inputSmHeight: 28px;- --datatableRowheight: 28px; /* Height of datatable rows */- --modalDropShadow: 1px 4px 4px 4px rgba(0,0,0,0.15);- --formInputDisabled: 0.33;- --iconWidthDefault: 1px;- --iconBg: 0.15; /* Transuclent bg of icons */- --iconMd: 18px;- --iconSm: 16px;- --iconXs: 12px;- --textDecorationNone: none;- --textCaseUppercase: uppercase;- --textCaseNone: none;- --fontSize2: 48.829px;- --fontSize1: 39.063px;- --fontSize0: 14px;- --innerShadowTextNew: inset 0 0.5px 0.5px 0 #00000026;- --innerShadowLabelCopy: inset 0 1px 1px 0 #858585;- --fontWeightsHeadingMono: 500;- --fontWeightsInter2: Book;- --fontWeightsInter1: 500;- --fontWeightsRoboto0: 400;- --fontWeightsBodyBold: 700;- --fontWeightsBodyRegular: 400;- --fontWeightsHeadingBold: 700;- --fontWeightsHeadingRegular: 400;- --paragraphSpacingH2: 26;- --paragraphSpacingH1: 32;- --paragraphSpacing1: 32;- --paragraphSpacing0: 26;- --letterSpacing8: 0.08em;- --letterSpacingDecreased: -0.05em;- --letterSpacingIncreased: 0.1em;- --letterSpacingDefault: 0;- --letterSpacing1: -0.02em;- --letterSpacing0: 0em;- --lineHeightsHeading: 1.1;- --lineHeights0: 1.1;- --fontFamiliesMono: Office Code Pro;- --fontFamiliesBody2: Circular Std;- --fontFamiliesRoboto: Roboto;- --fontFamiliesBody: Circular Std;- --fontFamiliesHeading: Inter;- --opacityHigh: 0.9;- --opacityMd: 0.5;- --opacityLow: 0.1;- --borderWidthLg: 8px;- --borderWidthMd: 4px;- --borderWidthSm: 2px;- --borderWidthXs: 1px;- --borderWidthNone: 0;- --borderRadiusXs: 2px;- --borderRadiusXl: 16px;- --borderRadiusLg: 8px;- --borderRadiusSm: 4px;- --sizingXs: 4px;- --sizingScale: 1.5px;- --spacingXs: 4px;- --spacingScale: 2px;- --panel2: var(--borderRadiusSm);- --optionsIcon: var(--iconMd); /* Size of product/dropdown icons icons */- --datatableHeadericon: var(--iconSm);- --panel: var(--borderRadiusXs);- --fontSizes9xl: 128;- --fontSizes8xl: 96;- --fontSizes7xl: 72;- --fontSizes6xl: 60;- --fontSizesXs: 12;- --fontSizesSm: 14;- --fontSizesBase: var(--base);- --fontSizesLg: 18;- --fontSizesXl: 20;- --fontSizes2xl: 24;- --fontSizes3xl: 30;- --fontSizes4xl: 36;- --fontSizes5xl: 48;- --lineHeights9xl: 128;- --lineHeights8xl: 96;- --lineHeights7xl: 72;- --lineHeights6xl: 60;- --lineHeights5xl: 48;- --lineHeights4xl: 40;- --lineHeights3xl: var(--base) *2.25;- --lineHeights2xl: 32;- --lineHeightsXl: 28;- --lineHeightsLg: 28;- --lineHeightsSm: 20;- --lineHeightsXs: var(--base);- --lineHeightsBase: 24;- --borderRadiusTableHeader: var(--borderRadiusSm);- --sizingSm: 6px;- --spacingSm: 8px;- --sizingMd: 9px;- --spacingMd: 16px;- --controllerVertical: var(--spacingMd);- --tabsHorizontal: var(--spacingMd);- --sizingLg: 13.5px;- --spacingLg: 3var(--spacingScale);- --contentHorizontal: var(--spacingLg);- --contentVertical: var(--spacingLg);- --sizingXl: 20.25px;- --spacingXl: 64px;+ --input-sm-height: 28px;+ --datatable-rowheight: 28px; /* Height of datatable rows */+ --modal-drop-shadow: 1px 4px 4px 4px rgba(0,0,0,0.15);+ --form-input-disabled: 0.33;+ --icon-width-default: 1px;+ --icon-bg: 0.15; /* Transuclent bg of icons */+ --icon-md: 18px;+ --icon-sm: 16px;+ --icon-xs: 12px;+ --text-decoration-none: none;+ --text-case-uppercase: uppercase;+ --text-case-none: none;+ --font-size-2: 48.829px;+ --font-size-1: 39.063px;+ --font-size-0: 14px;+ --inner-shadow-text-new: inset 0 0.5px 0.5px 0 #00000026;+ --inner-shadow-label-copy: inset 0 1px 1px 0 #858585;+ --font-weights-heading-mono: 500;+ --font-weights-inter-2: Book;+ --font-weights-inter-1: 500;+ --font-weights-roboto-0: 400;+ --font-weights-body-bold: 700;+ --font-weights-body-regular: 400;+ --font-weights-heading-bold: 700;+ --font-weights-heading-regular: 400;+ --paragraph-spacing-h2: 26;+ --paragraph-spacing-h1: 32;+ --paragraph-spacing-1: 32;+ --paragraph-spacing-0: 26;+ --letter-spacing-8: 0.08em;+ --letter-spacing-decreased: -0.05em;+ --letter-spacing-increased: 0.1em;+ --letter-spacing-default: 0;+ --letter-spacing-1: -0.02em;+ --letter-spacing-0: 0em;+ --line-heights-heading: 1.1;+ --line-heights-0: 1.1;+ --font-families-mono: Office Code Pro;+ --font-families-body2: Circular Std;+ --font-families-roboto: Roboto;+ --font-families-body: Circular Std;+ --font-families-heading: Inter;+ --opacity-high: 0.9;+ --opacity-md: 0.5;+ --opacity-low: 0.1;+ --border-width-lg: 8px;+ --border-width-md: 4px;+ --border-width-sm: 2px;+ --border-width-xs: 1px;+ --border-width-none: 0;+ --border-radius-xs: 2px;+ --border-radius-xl: 16px;+ --border-radius-lg: 8px;+ --border-radius-sm: 4px;+ --sizing-xs: 4px;+ --sizing-scale: 1.5px;+ --spacing-xs: 4px;+ --spacing-scale: 2px;+ --panel2: var(--border-radius-sm);+ --options-icon: var(--icon-md); /* Size of product/dropdown icons icons */+ --datatable-headericon: var(--icon-sm);+ --panel: var(--border-radius-xs);+ --font-sizes-9xl: 128;+ --font-sizes-8xl: 96;+ --font-sizes-7xl: 72;+ --font-sizes-6xl: 60;+ --font-sizes-xs: 12;+ --font-sizes-sm: 14;+ --font-sizes-base: var(--base);+ --font-sizes-lg: 18;+ --font-sizes-xl: 20;+ --font-sizes-2xl: 24;+ --font-sizes-3xl: 30;+ --font-sizes-4xl: 36;+ --font-sizes-5xl: 48;+ --line-heights-9xl: 128;+ --line-heights-8xl: 96;+ --line-heights-7xl: 72;+ --line-heights-6xl: 60;+ --line-heights-5xl: 48;+ --line-heights-4xl: 40;+ --line-heights-3xl: var(--base) *2.25;+ --line-heights-2xl: 32;+ --line-heights-xl: 28;+ --line-heights-lg: 28;+ --line-heights-sm: 20;+ --line-heights-xs: var(--base);+ --line-heights-base: 24;+ --border-radius-table-header: var(--border-radius-sm);+ --sizing-sm: 6px;+ --spacing-sm: 8px;+ --sizing-md: 9px;+ --spacing-md: 16px;+ --controller-vertical: var(--spacing-md);+ --tabs-horizontal: var(--spacing-md);+ --sizing-lg: 13.5px;+ --spacing-lg: 3var(--spacing-scale);+ --content-horizontal: var(--spacing-lg);+ --content-vertical: var(--spacing-lg);+ --sizing-xl: 20.25px;+ --spacing-xl: 64px;--xxl: 128px;}diff --git a/packages/ui/build/css/themes/dark.css b/packages/ui/build/css/themes/dark.cssindex 6a52f0cbf6b..3e8b71a1b07 100644--- a/packages/ui/build/css/themes/dark.css+++ b/packages/ui/build/css/themes/dark.css@@ -1,33 +1,33 @@/*** Do not edit directly- * Generated on Mon, 08 May 2023 14:44:29 GMT+ * Generated on Mon, 08 May 2023 16:23:48 GMT*/.dark {- --utilityMixNegative: #000;- --utilityMixPositive: #fff;- --darkenPercentage: 0.2;- --lightenHardest: 0.65;- --lightenHarder: 0.5;- --lightenHard: 0.3;- --lightenSoft: 0.05;- --lightenDefault: 0.1;- --textOverrideLightenStrength: 0;- --themeVariablesTextBody: #ededed; /* og color is colors.Gray.Dark.12 */- --themeVariablesBackgroundBodyAlt: #161616; /* og color is colors.Gray.Dark.1 */- --themeVariablesBackgroundBody: #1c1c1c; /* og color is colors.Gray.Dark.2 */- --themeVariablesBackground: #232323; /* og color is colors.Gray.Dark.3 */- --themeVariablesBrand: #2b825b;- --textColorBodyDefault: var(--themeVariablesTextBody);- --backgroundColorBodyAlt: var(--themeVariablesBackgroundBodyAlt);- --backgroundColorBody: var(--themeVariablesBackgroundBody); /* Background color used for the main page body. */- --backgroundColorDefault: var(--themeVariablesBackground); /* Default background color for any container. */- --textColorBodyLightest: lch(32.8 0 0);- --textColorBodyLighter: lch(46.9 0 0);- --textColorBodyLight: lch(65.6 0 0);- --borderColorBody: lch(14.8 0 0);- --borderColorDefault: lch(18 0 0); /* Default border color */- --backgroundColorControl: lch(9.6 0 0);- --backgroundColorSelection: lch(18 0 0);- --borderColorControl: lch(22.1 0 0);+ --utility-mix-negative: 0deg 0% 0%;+ --utility-mix-positive: 0deg 0% 100%;+ --darken-percentage: 0.2;+ --lighten-hardest: 0.65;+ --lighten-harder: 0.5;+ --lighten-hard: 0.3;+ --lighten-soft: 0.05;+ --lighten-default: 0.1;+ --text-override-lighten-strength: 0;+ --theme-variables-text-body: 0deg 0% 92.9%; /* og color is colors.Gray.Dark.12 */+ --theme-variables-background-body-alt: 0deg 0% 8.6%; /* og color is colors.Gray.Dark.1 */+ --theme-variables-background-body: 0deg 0% 11%; /* og color is colors.Gray.Dark.2 */+ --theme-variables-background: 0deg 0% 13.7%; /* og color is colors.Gray.Dark.3 */+ --theme-variables-brand: 153.1deg 50.3% 33.9%;+ --text-color-body-default: var(--theme-variables-text-body);+ --background-color-body-alt: var(--theme-variables-background-body-alt);+ --background-color-body: var(--theme-variables-background-body); /* Background color used for the main page body. */+ --background-color-default: var(--theme-variables-background); /* Default background color for any container. */+ --text-color-body-lightest: 91.8deg 0% 30.2%;+ --text-color-body-lighter: 91.8deg 0% 43.5%;+ --text-color-body-light: 91.8deg 0% 62.5%;+ --border-color-body: 91.8deg 0% 14.6%;+ --border-color-default: 91.8deg 0% 17.3%; /* Default border color */+ --background-color-control: 91.8deg 0% 10.4%;+ --background-color-selection: 91.8deg 0% 17.3%;+ --border-color-control: 91.8deg 0% 20.8%;}diff --git a/packages/ui/build/css/themes/darker-dark.css b/packages/ui/build/css/themes/darker-dark.cssindex a53564f416a..ebb207caa0a 100644--- a/packages/ui/build/css/themes/darker-dark.css+++ b/packages/ui/build/css/themes/darker-dark.css@@ -1,33 +1,33 @@/*** Do not edit directly- * Generated on Mon, 08 May 2023 14:44:29 GMT+ * Generated on Mon, 08 May 2023 16:23:48 GMT*/.darker-dark {- --utilityMixNegative: #000;- --utilityMixPositive: #fff;- --darkenPercentage: 0.2;- --lightenHardest: 0.65;- --lightenHarder: 0.5;- --lightenHard: 0.3;- --lightenSoft: 0.05;- --lightenDefault: 0.1;- --textOverrideLightenStrength: 0;- --themeVariablesTextBody: #ebebeb; /* $colors.Gray.Dark.12 */- --themeVariablesBackgroundBodyAlt: #161616; /* $colors.Gray.Dark.1 */- --themeVariablesBackgroundBody: #000; /* $colors.Gray.Dark.2 */- --themeVariablesBackground: #141414; /* $colors.Gray.Dark.3 */- --themeVariablesBrand: #d626dc;- --textColorBodyDefault: var(--themeVariablesTextBody);- --backgroundColorBodyAlt: var(--themeVariablesBackgroundBodyAlt);- --backgroundColorBody: var(--themeVariablesBackgroundBody); /* Background color used for the main page body. */- --backgroundColorDefault: var(--themeVariablesBackground); /* Default background color for any container. */- --textColorBodyLightest: lch(32.6 0 0);- --textColorBodyLighter: lch(46.5 0 0);- --textColorBodyLight: lch(65.1 0 0);- --borderColorBody: lch(5 0 0);- --borderColorDefault: lch(11 0 0); /* Default border color */- --backgroundColorControl: lch(4.42 0 0);- --backgroundColorSelection: lch(11 0 0);- --borderColorControl: lch(15.4 0 0);+ --utility-mix-negative: 0deg 0% 0%;+ --utility-mix-positive: 0deg 0% 100%;+ --darken-percentage: 0.2;+ --lighten-hardest: 0.65;+ --lighten-harder: 0.5;+ --lighten-hard: 0.3;+ --lighten-soft: 0.05;+ --lighten-default: 0.1;+ --text-override-lighten-strength: 0;+ --theme-variables-text-body: 0deg 0% 92.2%; /* $colors.Gray.Dark.12 */+ --theme-variables-background-body-alt: 0deg 0% 8.6%; /* $colors.Gray.Dark.1 */+ --theme-variables-background-body: 0deg 0% 0%; /* $colors.Gray.Dark.2 */+ --theme-variables-background: 0deg 0% 7.8%; /* $colors.Gray.Dark.3 */+ --theme-variables-brand: 298deg 72.2% 50.6%;+ --text-color-body-default: var(--theme-variables-text-body);+ --background-color-body-alt: var(--theme-variables-background-body-alt);+ --background-color-body: var(--theme-variables-background-body); /* Background color used for the main page body. */+ --background-color-default: var(--theme-variables-background); /* Default background color for any container. */+ --text-color-body-lightest: 91.8deg 0% 30%;+ --text-color-body-lighter: 91.8deg 0% 43.2%;+ --text-color-body-light: 91.8deg 0% 62%;+ --border-color-body: 91.8deg 0% 6.6%;+ --border-color-default: 91.8deg 0% 11.5%; /* Default border color */+ --background-color-control: 91.8deg 0% 6%;+ --background-color-selection: 91.8deg 0% 11.5%;+ --border-color-control: 91.8deg 0% 15.1%;}diff --git a/packages/ui/build/css/themes/light.css b/packages/ui/build/css/themes/light.cssindex 229bd90ff7a..dbca2e9f270 100644--- a/packages/ui/build/css/themes/light.css+++ b/packages/ui/build/css/themes/light.css@@ -1,34 +1,34 @@/*** Do not edit directly- * Generated on Mon, 08 May 2023 14:44:29 GMT+ * Generated on Mon, 08 May 2023 16:23:48 GMT*/.light {- --utilityGithubBackground: #ffffff;- --utilityMixNegative: #fff;- --utilityMixPositive: #000;- --darkenPercentage: 0.2;- --lightenHardest: 0.65;- --lightenHarder: 0.5;- --lightenHard: 0.3;- --lightenSoft: 0.035;- --lightenDefault: 0.1;- --textOverrideLightenStrength: 5;- --themeVariablesTextBody: #1a1d1e; /* og color is colors.Slate.Dark.2 */- --themeVariablesBackgroundBodyAlt: #fff; /* og color is colors.Gray.Dark.1 */- --themeVariablesBackgroundBody: #f8f9fa; /* og color is colors.Slate.Light.2 */- --themeVariablesBackground: #fbfcfd; /* og color is colors.Slate.Light.1 */- --themeVariablesBrand: #2b825b;- --textColorBodyDefault: var(--themeVariablesTextBody);- --backgroundColorBodyAlt: var(--themeVariablesBackgroundBodyAlt);- --backgroundColorBody: var(--themeVariablesBackgroundBody); /* Background color used for the main page body. */- --backgroundColorDefault: var(--themeVariablesBackground); /* Default background color for any container. */- --textColorBodyLightest: lch(68.7 0.61 224);- --textColorBodyLighter: lch(55.2 0.87 224);- --textColorBodyLight: lch(37.3 1.22 224);- --borderColorBody: lch(94.4 0.62 251);- --borderColorDefault: lch(95.4 0.62 251); /* Default border color */- --backgroundColorControl: lch(99.2 0.45 251);- --backgroundColorSelection: lch(95.4 0.62 251);- --borderColorControl: lch(92.1 0.6 251);+ --utility-github-background: 0deg 0% 100%;+ --utility-mix-negative: 0deg 0% 100%;+ --utility-mix-positive: 0deg 0% 0%;+ --darken-percentage: 0.2;+ --lighten-hardest: 0.65;+ --lighten-harder: 0.5;+ --lighten-hard: 0.3;+ --lighten-soft: 0.035;+ --lighten-default: 0.1;+ --text-override-lighten-strength: 5;+ --theme-variables-text-body: 195deg 7.1% 11%; /* og color is colors.Slate.Dark.2 */+ --theme-variables-background-body-alt: 0deg 0% 100%; /* og color is colors.Gray.Dark.1 */+ --theme-variables-background-body: 210deg 16.7% 97.6%; /* og color is colors.Slate.Light.2 */+ --theme-variables-background: 210deg 33.3% 98.8%; /* og color is colors.Slate.Light.1 */+ --theme-variables-brand: 153.1deg 50.3% 33.9%;+ --text-color-body-default: var(--theme-variables-text-body);+ --background-color-body-alt: var(--theme-variables-background-body-alt);+ --background-color-body: var(--theme-variables-background-body); /* Background color used for the main page body. */+ --background-color-default: var(--theme-variables-background); /* Default background color for any container. */+ --text-color-body-lightest: 195deg 1% 65.6%;+ --text-color-body-lighter: 195deg 1% 51.8%;+ --text-color-body-light: 195deg 1.9% 34.3%;+ --border-color-body: 210deg 6.1% 93.7%;+ --border-color-default: 210deg 7.5% 94.9%; /* Default border color */+ --background-color-control: 210deg 33.3% 99.2%;+ --background-color-selection: 210deg 7.5% 94.9%;+ --border-color-control: 210deg 4.1% 91.2%;}diff --git a/packages/ui/build/css/tw-extend/borderRadius.js b/packages/ui/build/css/tw-extend/borderRadius.jsindex 0fa10a251de..de6a297a859 100644--- a/packages/ui/build/css/tw-extend/borderRadius.js+++ b/packages/ui/build/css/tw-extend/borderRadius.js@@ -1,9 +1,30 @@module.exports = {-"borderRadius-sm": "var(--borderRadiusSm, 4px);",-"borderRadius-lg": "var(--borderRadiusLg, 8px);",-"borderRadius-xl": "var(--borderRadiusXl, 16px);",-"borderRadius-xs": "var(--borderRadiusXs, 2px);",-"borderRadius-tableHeader": "var(--borderRadiusTableHeader, 4px);",-"panel": "var(--panel, 2px);",-"panel2": "var(--panel2, 4px);"+"borderRadius-sm": {+ cssVariable: "var(--border-radius-sm)",+ value: "4px"+},+"borderRadius-lg": {+ cssVariable: "var(--border-radius-lg)",+ value: "8px"+},+"borderRadius-xl": {+ cssVariable: "var(--border-radius-xl)",+ value: "16px"+},+"borderRadius-xs": {+ cssVariable: "var(--border-radius-xs)",+ value: "2px"+},+"borderRadius-tableHeader": {+ cssVariable: "var(--border-radius-table-header)",+ value: "4px"+},+"panel": {+ cssVariable: "var(--panel)",+ value: "2px"+},+"panel2": {+ cssVariable: "var(--panel2)",+ value: "4px"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/borderWidth.js b/packages/ui/build/css/tw-extend/borderWidth.jsindex 51e9992e01a..4e60dbbc833 100644--- a/packages/ui/build/css/tw-extend/borderWidth.js+++ b/packages/ui/build/css/tw-extend/borderWidth.js@@ -1,8 +1,26 @@module.exports = {-"borderWidth-none": "var(--borderWidthNone, 0);",-"borderWidth-xs": "var(--borderWidthXs, 1px);",-"borderWidth-sm": "var(--borderWidthSm, 2px);",-"borderWidth-md": "var(--borderWidthMd, 4px);",-"borderWidth-lg": "var(--borderWidthLg, 8px);",-"iconWidth-default": "var(--iconWidthDefault, 1px);"+"borderWidth-none": {+ cssVariable: "var(--border-width-none)",+ value: "0"+},+"borderWidth-xs": {+ cssVariable: "var(--border-width-xs)",+ value: "1px"+},+"borderWidth-sm": {+ cssVariable: "var(--border-width-sm)",+ value: "2px"+},+"borderWidth-md": {+ cssVariable: "var(--border-width-md)",+ value: "4px"+},+"borderWidth-lg": {+ cssVariable: "var(--border-width-lg)",+ value: "8px"+},+"iconWidth-default": {+ cssVariable: "var(--icon-width-default)",+ value: "1px"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/color.js b/packages/ui/build/css/tw-extend/color.jsindex 280495515c4..01751a84657 100644--- a/packages/ui/build/css/tw-extend/color.js+++ b/packages/ui/build/css/tw-extend/color.js@@ -1,21 +1,78 @@module.exports = {-"theme-variables-brand": "var(--themeVariablesBrand, #2b825b);",-"theme-variables-background": "var(--themeVariablesBackground, #232323);",-"theme-variables-background-body": "var(--themeVariablesBackgroundBody, #1c1c1c);",-"theme-variables-background-body-alt": "var(--themeVariablesBackgroundBodyAlt, #161616);",-"theme-variables-text-body": "var(--themeVariablesTextBody, #ededed);",-"backgroundColor-DEFAULT": "var(--backgroundColorDefault, #232323);",-"backgroundColor-body": "var(--backgroundColorBody, #1c1c1c);",-"backgroundColor-body-alt": "var(--backgroundColorBodyAlt, #161616);",-"backgroundColor-selection": "var(--backgroundColorSelection, lch(18 0 0));",-"backgroundColor-control": "var(--backgroundColorControl, lch(9.6 0 0));",-"borderColor-DEFAULT": "var(--borderColorDefault, lch(18 0 0));",-"borderColor-body": "var(--borderColorBody, lch(14.8 0 0));",-"borderColor-control": "var(--borderColorControl, lch(22.1 0 0));",-"textColor-body-DEFAULT": "var(--textColorBodyDefault, #ededed);",-"textColor-body-light": "var(--textColorBodyLight, lch(65.6 0 0));",-"textColor-body-lighter": "var(--textColorBodyLighter, lch(46.9 0 0));",-"textColor-body-lightest": "var(--textColorBodyLightest, lch(32.8 0 0));",-"utility-mix-positive": "var(--utilityMixPositive, #fff);",-"utility-mix-negative": "var(--utilityMixNegative, #000);"+"theme-variables-brand": {+ cssVariable: "var(--theme-variables-brand)",+ value: "hsl(153.10000000000002, 50.3%, 33.9%)"+},+"theme-variables-background": {+ cssVariable: "var(--theme-variables-background)",+ value: "hsl(0, 0%, 13.7%)"+},+"theme-variables-background-body": {+ cssVariable: "var(--theme-variables-background-body)",+ value: "hsl(0, 0%, 11%)"+},+"theme-variables-background-body-alt": {+ cssVariable: "var(--theme-variables-background-body-alt)",+ value: "hsl(0, 0%, 8.6%)"+},+"theme-variables-text-body": {+ cssVariable: "var(--theme-variables-text-body)",+ value: "hsl(0, 0%, 92.9%)"+},+"backgroundColor-DEFAULT": {+ cssVariable: "var(--background-color-default)",+ value: "hsl(0, 0%, 13.7%)"+},+"backgroundColor-body": {+ cssVariable: "var(--background-color-body)",+ value: "hsl(0, 0%, 11%)"+},+"backgroundColor-body-alt": {+ cssVariable: "var(--background-color-body-alt)",+ value: "hsl(0, 0%, 8.6%)"+},+"backgroundColor-selection": {+ cssVariable: "var(--background-color-selection)",+ value: "hsl(91.8 0% 17.3%)"+},+"backgroundColor-control": {+ cssVariable: "var(--background-color-control)",+ value: "hsl(91.8 0% 10.4%)"+},+"borderColor-DEFAULT": {+ cssVariable: "var(--border-color-default)",+ value: "hsl(91.8 0% 17.3%)"+},+"borderColor-body": {+ cssVariable: "var(--border-color-body)",+ value: "hsl(91.8 0% 14.6%)"+},+"borderColor-control": {+ cssVariable: "var(--border-color-control)",+ value: "hsl(91.8 0% 20.8%)"+},+"textColor-body-DEFAULT": {+ cssVariable: "var(--text-color-body-default)",+ value: "hsl(0, 0%, 92.9%)"+},+"textColor-body-light": {+ cssVariable: "var(--text-color-body-light)",+ value: "hsl(91.8 0% 62.5%)"+},+"textColor-body-lighter": {+ cssVariable: "var(--text-color-body-lighter)",+ value: "hsl(91.8 0% 43.5%)"+},+"textColor-body-lightest": {+ cssVariable: "var(--text-color-body-lightest)",+ value: "hsl(91.8 0% 30.2%)"+},+"utility-mix-positive": {+ cssVariable: "var(--utility-mix-positive)",+ value: "hsl(0, 0%, 100%)"+},+"utility-mix-negative": {+ cssVariable: "var(--utility-mix-negative)",+ value: "hsl(0, 0%, 0%)"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/fontFamilies.js b/packages/ui/build/css/tw-extend/fontFamilies.jsindex da2c4d28de9..4697e5c4889 100644--- a/packages/ui/build/css/tw-extend/fontFamilies.js+++ b/packages/ui/build/css/tw-extend/fontFamilies.js@@ -1,7 +1,22 @@module.exports = {-"fontFamilies-heading": "var(--fontFamiliesHeading, Inter);",-"fontFamilies-body": "var(--fontFamiliesBody, Circular Std);",-"fontFamilies-roboto": "var(--fontFamiliesRoboto, Roboto);",-"fontFamilies-body2": "var(--fontFamiliesBody2, Circular Std);",-"fontFamilies-mono": "var(--fontFamiliesMono, Office Code Pro);"+"fontFamilies-heading": {+ cssVariable: "var(--font-families-heading)",+ value: "Inter"+},+"fontFamilies-body": {+ cssVariable: "var(--font-families-body)",+ value: "Circular Std"+},+"fontFamilies-roboto": {+ cssVariable: "var(--font-families-roboto)",+ value: "Roboto"+},+"fontFamilies-body2": {+ cssVariable: "var(--font-families-body2)",+ value: "Circular Std"+},+"fontFamilies-mono": {+ cssVariable: "var(--font-families-mono)",+ value: "Office Code Pro"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/fontSizes.js b/packages/ui/build/css/tw-extend/fontSizes.jsindex 949be64aaa4..86c1978a318 100644--- a/packages/ui/build/css/tw-extend/fontSizes.js+++ b/packages/ui/build/css/tw-extend/fontSizes.js@@ -1,18 +1,66 @@module.exports = {-"fontSizes-5xl": "var(--fontSizes5xl, 48);",-"fontSizes-4xl": "var(--fontSizes4xl, 36);",-"fontSizes-3xl": "var(--fontSizes3xl, 30);",-"fontSizes-2xl": "var(--fontSizes2xl, 24);",-"fontSizes-xl": "var(--fontSizesXl, 20);",-"fontSizes-lg": "var(--fontSizesLg, 18);",-"fontSizes-base": "var(--fontSizesBase, 16);",-"fontSizes-sm": "var(--fontSizesSm, 14);",-"fontSizes-xs": "var(--fontSizesXs, 12);",-"fontSizes-6xl": "var(--fontSizes6xl, 60);",-"fontSizes-7xl": "var(--fontSizes7xl, 72);",-"fontSizes-8xl": "var(--fontSizes8xl, 96);",-"fontSizes-9xl": "var(--fontSizes9xl, 128);",-"fontSize-0": "var(--fontSize0, 14px);",-"fontSize-1": "var(--fontSize1, 39.063px);",-"fontSize-2": "var(--fontSize2, 48.829px);"+"fontSizes-5xl": {+ cssVariable: "var(--font-sizes-5xl)",+ value: "48"+},+"fontSizes-4xl": {+ cssVariable: "var(--font-sizes-4xl)",+ value: "36"+},+"fontSizes-3xl": {+ cssVariable: "var(--font-sizes-3xl)",+ value: "30"+},+"fontSizes-2xl": {+ cssVariable: "var(--font-sizes-2xl)",+ value: "24"+},+"fontSizes-xl": {+ cssVariable: "var(--font-sizes-xl)",+ value: "20"+},+"fontSizes-lg": {+ cssVariable: "var(--font-sizes-lg)",+ value: "18"+},+"fontSizes-base": {+ cssVariable: "var(--font-sizes-base)",+ value: "16"+},+"fontSizes-sm": {+ cssVariable: "var(--font-sizes-sm)",+ value: "14"+},+"fontSizes-xs": {+ cssVariable: "var(--font-sizes-xs)",+ value: "12"+},+"fontSizes-6xl": {+ cssVariable: "var(--font-sizes-6xl)",+ value: "60"+},+"fontSizes-7xl": {+ cssVariable: "var(--font-sizes-7xl)",+ value: "72"+},+"fontSizes-8xl": {+ cssVariable: "var(--font-sizes-8xl)",+ value: "96"+},+"fontSizes-9xl": {+ cssVariable: "var(--font-sizes-9xl)",+ value: "128"+},+"fontSize-0": {+ cssVariable: "var(--font-size-0)",+ value: "14px"+},+"fontSize-1": {+ cssVariable: "var(--font-size-1)",+ value: "39.063px"+},+"fontSize-2": {+ cssVariable: "var(--font-size-2)",+ value: "48.829px"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/fontWeights.js b/packages/ui/build/css/tw-extend/fontWeights.jsindex a31706362eb..df0b67bda6e 100644--- a/packages/ui/build/css/tw-extend/fontWeights.js+++ b/packages/ui/build/css/tw-extend/fontWeights.js@@ -1,10 +1,34 @@module.exports = {-"fontWeights-headingRegular": "var(--fontWeightsHeadingRegular, 400);",-"fontWeights-headingBold": "var(--fontWeightsHeadingBold, 700);",-"fontWeights-bodyRegular": "var(--fontWeightsBodyRegular, 400);",-"fontWeights-bodyBold": "var(--fontWeightsBodyBold, 700);",-"fontWeights-roboto-0": "var(--fontWeightsRoboto0, 400);",-"fontWeights-inter-1": "var(--fontWeightsInter1, 500);",-"fontWeights-inter-2": "var(--fontWeightsInter2, Book);",-"fontWeights-heading-mono": "var(--fontWeightsHeadingMono, 500);"+"fontWeights-headingRegular": {+ cssVariable: "var(--font-weights-heading-regular)",+ value: "400"+},+"fontWeights-headingBold": {+ cssVariable: "var(--font-weights-heading-bold)",+ value: "700"+},+"fontWeights-bodyRegular": {+ cssVariable: "var(--font-weights-body-regular)",+ value: "400"+},+"fontWeights-bodyBold": {+ cssVariable: "var(--font-weights-body-bold)",+ value: "700"+},+"fontWeights-roboto-0": {+ cssVariable: "var(--font-weights-roboto-0)",+ value: "400"+},+"fontWeights-inter-1": {+ cssVariable: "var(--font-weights-inter-1)",+ value: "500"+},+"fontWeights-inter-2": {+ cssVariable: "var(--font-weights-inter-2)",+ value: "Book"+},+"fontWeights-heading-mono": {+ cssVariable: "var(--font-weights-heading-mono)",+ value: "500"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/letterSpacing.js b/packages/ui/build/css/tw-extend/letterSpacing.jsindex 435cfd88d1f..5ab22e9d0a7 100644--- a/packages/ui/build/css/tw-extend/letterSpacing.js+++ b/packages/ui/build/css/tw-extend/letterSpacing.js@@ -1,8 +1,26 @@module.exports = {-"letterSpacing-0": "var(--letterSpacing0, 0em);",-"letterSpacing-1": "var(--letterSpacing1, -0.02em);",-"letterSpacing-default": "var(--letterSpacingDefault, 0);",-"letterSpacing-increased": "var(--letterSpacingIncreased, 0.1em);",-"letterSpacing-decreased": "var(--letterSpacingDecreased, -0.05em);",-"letterSpacing-+8": "var(--letterSpacing8, 0.08em);"+"letterSpacing-0": {+ cssVariable: "var(--letter-spacing-0)",+ value: "0em"+},+"letterSpacing-1": {+ cssVariable: "var(--letter-spacing-1)",+ value: "-0.02em"+},+"letterSpacing-default": {+ cssVariable: "var(--letter-spacing-default)",+ value: "0"+},+"letterSpacing-increased": {+ cssVariable: "var(--letter-spacing-increased)",+ value: "0.1em"+},+"letterSpacing-decreased": {+ cssVariable: "var(--letter-spacing-decreased)",+ value: "-0.05em"+},+"letterSpacing-+8": {+ cssVariable: "var(--letter-spacing-8)",+ value: "0.08em"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/lineHeights.js b/packages/ui/build/css/tw-extend/lineHeights.jsindex b342b8158f1..36408f94d81 100644--- a/packages/ui/build/css/tw-extend/lineHeights.js+++ b/packages/ui/build/css/tw-extend/lineHeights.js@@ -1,17 +1,62 @@module.exports = {-"lineHeights-0": "var(--lineHeights0, 1.1);",-"lineHeights-heading": "var(--lineHeightsHeading, 1.1);",-"lineHeights-base": "var(--lineHeightsBase, 24);",-"lineHeights-xs": "var(--lineHeightsXs, 16);",-"lineHeights-sm": "var(--lineHeightsSm, 20);",-"lineHeights-lg": "var(--lineHeightsLg, 28);",-"lineHeights-xl": "var(--lineHeightsXl, 28);",-"lineHeights-2xl": "var(--lineHeights2xl, 32);",-"lineHeights-3xl": "var(--lineHeights3xl, 16 *2.25);",-"lineHeights-4xl": "var(--lineHeights4xl, 40);",-"lineHeights-5xl": "var(--lineHeights5xl, 48);",-"lineHeights-6xl": "var(--lineHeights6xl, 60);",-"lineHeights-7xl": "var(--lineHeights7xl, 72);",-"lineHeights-8xl": "var(--lineHeights8xl, 96);",-"lineHeights-9xl": "var(--lineHeights9xl, 128);"+"lineHeights-0": {+ cssVariable: "var(--line-heights-0)",+ value: "1.1"+},+"lineHeights-heading": {+ cssVariable: "var(--line-heights-heading)",+ value: "1.1"+},+"lineHeights-base": {+ cssVariable: "var(--line-heights-base)",+ value: "24"+},+"lineHeights-xs": {+ cssVariable: "var(--line-heights-xs)",+ value: "16"+},+"lineHeights-sm": {+ cssVariable: "var(--line-heights-sm)",+ value: "20"+},+"lineHeights-lg": {+ cssVariable: "var(--line-heights-lg)",+ value: "28"+},+"lineHeights-xl": {+ cssVariable: "var(--line-heights-xl)",+ value: "28"+},+"lineHeights-2xl": {+ cssVariable: "var(--line-heights-2xl)",+ value: "32"+},+"lineHeights-3xl": {+ cssVariable: "var(--line-heights-3xl)",+ value: "16 *2.25"+},+"lineHeights-4xl": {+ cssVariable: "var(--line-heights-4xl)",+ value: "40"+},+"lineHeights-5xl": {+ cssVariable: "var(--line-heights-5xl)",+ value: "48"+},+"lineHeights-6xl": {+ cssVariable: "var(--line-heights-6xl)",+ value: "60"+},+"lineHeights-7xl": {+ cssVariable: "var(--line-heights-7xl)",+ value: "72"+},+"lineHeights-8xl": {+ cssVariable: "var(--line-heights-8xl)",+ value: "96"+},+"lineHeights-9xl": {+ cssVariable: "var(--line-heights-9xl)",+ value: "128"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/opacity.js b/packages/ui/build/css/tw-extend/opacity.jsindex 667f3d33f6f..2affc543c62 100644--- a/packages/ui/build/css/tw-extend/opacity.js+++ b/packages/ui/build/css/tw-extend/opacity.js@@ -1,7 +1,22 @@module.exports = {-"opacity-low": "var(--opacityLow, 0.1);",-"opacity-md": "var(--opacityMd, 0.5);",-"opacity-high": "var(--opacityHigh, 0.9);",-"icon-bg": "var(--iconBg, 0.15);",-"form-input-disabled": "var(--formInputDisabled, 0.33);"+"opacity-low": {+ cssVariable: "var(--opacity-low)",+ value: "0.1"+},+"opacity-md": {+ cssVariable: "var(--opacity-md)",+ value: "0.5"+},+"opacity-high": {+ cssVariable: "var(--opacity-high)",+ value: "0.9"+},+"icon-bg": {+ cssVariable: "var(--icon-bg)",+ value: "0.15"+},+"form-input-disabled": {+ cssVariable: "var(--form-input-disabled)",+ value: "0.33"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/paragraphSpacing.js b/packages/ui/build/css/tw-extend/paragraphSpacing.jsindex 2c9ec0ff478..0b895c5b1e5 100644--- a/packages/ui/build/css/tw-extend/paragraphSpacing.js+++ b/packages/ui/build/css/tw-extend/paragraphSpacing.js@@ -1,6 +1,18 @@module.exports = {-"paragraphSpacing-0": "var(--paragraphSpacing0, 26);",-"paragraphSpacing-1": "var(--paragraphSpacing1, 32);",-"paragraphSpacing-h1": "var(--paragraphSpacingH1, 32);",-"paragraphSpacing-h2": "var(--paragraphSpacingH2, 26);"+"paragraphSpacing-0": {+ cssVariable: "var(--paragraph-spacing-0)",+ value: "26"+},+"paragraphSpacing-1": {+ cssVariable: "var(--paragraph-spacing-1)",+ value: "32"+},+"paragraphSpacing-h1": {+ cssVariable: "var(--paragraph-spacing-h1)",+ value: "32"+},+"paragraphSpacing-h2": {+ cssVariable: "var(--paragraph-spacing-h2)",+ value: "26"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/sizing.js b/packages/ui/build/css/tw-extend/sizing.jsindex 231442eb281..b74b3b0e792 100644--- a/packages/ui/build/css/tw-extend/sizing.js+++ b/packages/ui/build/css/tw-extend/sizing.js@@ -1,16 +1,58 @@module.exports = {-"sizing-scale": "var(--sizingScale, 1.5px);",-"sizing-xs": "var(--sizingXs, 4px);",-"sizing-sm": "var(--sizingSm, 6px);",-"sizing-md": "var(--sizingMd, 9px);",-"sizing-lg": "var(--sizingLg, 13.5px);",-"sizing-xl": "var(--sizingXl, 20.25px);",-"icon-xs": "var(--iconXs, 12px);",-"icon-sm": "var(--iconSm, 16px);",-"icon-md": "var(--iconMd, 18px);",-"datatable-headericon": "var(--datatableHeadericon, 16px);",-"datatable-rowheight": "var(--datatableRowheight, 28px);",-"options-icon": "var(--optionsIcon, 18px);",-"input-sm-height": "var(--inputSmHeight, 28px);",-"content-width-screen-xl": "var(--contentWidthScreenXl, 1128px);"+"sizing-scale": {+ cssVariable: "var(--sizing-scale)",+ value: "1.5px"+},+"sizing-xs": {+ cssVariable: "var(--sizing-xs)",+ value: "4px"+},+"sizing-sm": {+ cssVariable: "var(--sizing-sm)",+ value: "6px"+},+"sizing-md": {+ cssVariable: "var(--sizing-md)",+ value: "9px"+},+"sizing-lg": {+ cssVariable: "var(--sizing-lg)",+ value: "13.5px"+},+"sizing-xl": {+ cssVariable: "var(--sizing-xl)",+ value: "20.25px"+},+"icon-xs": {+ cssVariable: "var(--icon-xs)",+ value: "12px"+},+"icon-sm": {+ cssVariable: "var(--icon-sm)",+ value: "16px"+},+"icon-md": {+ cssVariable: "var(--icon-md)",+ value: "18px"+},+"datatable-headericon": {+ cssVariable: "var(--datatable-headericon)",+ value: "16px"+},+"datatable-rowheight": {+ cssVariable: "var(--datatable-rowheight)",+ value: "28px"+},+"options-icon": {+ cssVariable: "var(--options-icon)",+ value: "18px"+},+"input-sm-height": {+ cssVariable: "var(--input-sm-height)",+ value: "28px"+},+"content-width-screen-xl": {+ cssVariable: "var(--content-width-screen-xl)",+ value: "1128px"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/spacing.js b/packages/ui/build/css/tw-extend/spacing.jsindex 3e939efd8c9..4697a20be6f 100644--- a/packages/ui/build/css/tw-extend/spacing.js+++ b/packages/ui/build/css/tw-extend/spacing.js@@ -1,16 +1,58 @@module.exports = {-"spacing-scale": "var(--spacingScale, 2px);",-"spacing-xs": "var(--spacingXs, 4px);",-"spacing-sm": "var(--spacingSm, 8px);",-"spacing-md": "var(--spacingMd, 16px);",-"spacing-lg": "var(--spacingLg, 32px);",-"spacing-xl": "var(--spacingXl, 64px);",-"xxl": "var(--xxl, 128px);",-"actionBar-vertical": "var(--actionBarVertical, 21px);",-"actionBar-horizontal": "var(--actionBarHorizontal, 32px);",-"table-header-horizontal": "var(--tableHeaderHorizontal, 32px);",-"tabs-horizontal": "var(--tabsHorizontal, 16px);",-"content-vertical": "var(--contentVertical, 32px);",-"content-horizontal": "var(--contentHorizontal, 32px);",-"controller-vertical": "var(--controllerVertical, 16px);"+"spacing-scale": {+ cssVariable: "var(--spacing-scale)",+ value: "2px"+},+"spacing-xs": {+ cssVariable: "var(--spacing-xs)",+ value: "4px"+},+"spacing-sm": {+ cssVariable: "var(--spacing-sm)",+ value: "8px"+},+"spacing-md": {+ cssVariable: "var(--spacing-md)",+ value: "16px"+},+"spacing-lg": {+ cssVariable: "var(--spacing-lg)",+ value: "32px"+},+"spacing-xl": {+ cssVariable: "var(--spacing-xl)",+ value: "64px"+},+"xxl": {+ cssVariable: "var(--xxl)",+ value: "128px"+},+"actionBar-vertical": {+ cssVariable: "var(--action-bar-vertical)",+ value: "21px"+},+"actionBar-horizontal": {+ cssVariable: "var(--action-bar-horizontal)",+ value: "32px"+},+"table-header-horizontal": {+ cssVariable: "var(--table-header-horizontal)",+ value: "32px"+},+"tabs-horizontal": {+ cssVariable: "var(--tabs-horizontal)",+ value: "16px"+},+"content-vertical": {+ cssVariable: "var(--content-vertical)",+ value: "32px"+},+"content-horizontal": {+ cssVariable: "var(--content-horizontal)",+ value: "32px"+},+"controller-vertical": {+ cssVariable: "var(--controller-vertical)",+ value: "16px"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/textCase.js b/packages/ui/build/css/tw-extend/textCase.jsindex b2be83eaf9e..789ae4a1f67 100644--- a/packages/ui/build/css/tw-extend/textCase.js+++ b/packages/ui/build/css/tw-extend/textCase.js@@ -1,4 +1,10 @@module.exports = {-"textCase-none": "var(--textCaseNone, none);",-"textCase-uppercase": "var(--textCaseUppercase, uppercase);"+"textCase-none": {+ cssVariable: "var(--text-case-none)",+ value: "none"+},+"textCase-uppercase": {+ cssVariable: "var(--text-case-uppercase)",+ value: "uppercase"+}}\ No newline at end of filediff --git a/packages/ui/build/css/tw-extend/textDecoration.js b/packages/ui/build/css/tw-extend/textDecoration.jsindex 83d1c3bfe49..3060315fd4f 100644--- a/packages/ui/build/css/tw-extend/textDecoration.js+++ b/packages/ui/build/css/tw-extend/textDecoration.js@@ -1,3 +1,6 @@module.exports = {-"textDecoration-none": "var(--textDecorationNone, none);"+"textDecoration-none": {+ cssVariable: "var(--text-decoration-none)",+ value: "none"+}}\ No newline at end of filediff --git a/packages/ui/cleanse-css-for-tailwind.js b/packages/ui/cleanse-css-for-tailwind.jsnew file mode 100644index 00000000000..0a20c460227--- /dev/null+++ b/packages/ui/cleanse-css-for-tailwind.js@@ -0,0 +1,35 @@+const glob = require('glob')+const fs = require('fs')++const cssFiles = glob.sync('build/css/**/*.css')++function transformHSLValues(precision) {+ cssFiles.forEach((file) => {+ const css = fs.readFileSync(file, 'utf8')++ const transformedCss = css.replace(+ /hsl\(([\d.]+)[,\s]+([\d.]+)%[,\s]+([\d.]+)%\)/g,+ (match, hue, saturation, lightness) => {+ hue = `${roundNumber(hue, precision)}deg`+ saturation = `${roundNumber(saturation, precision)}%`+ lightness = `${roundNumber(lightness, precision)}%`+ return `${hue} ${saturation} ${lightness}`+ }+ )++ fs.writeFileSync(file, transformedCss)+ })++ function roundNumber(number, precision) {+ const rounded = parseFloat(number).toFixed(precision)+ const str = rounded.toString()+ const match = str.match(/^(\d+)\.(\d+)$/)+ if (match && match[2] === '0'.repeat(match[2].length)) {+ return match[1]+ }+ return rounded+ }+}++// Example usage:+transformHSLValues(1)diff --git a/packages/ui/copy-tokens.js b/packages/ui/copy-tokens.jsindex 7fc177b586f..20b94ee67c7 100644--- a/packages/ui/copy-tokens.js+++ b/packages/ui/copy-tokens.js@@ -38,7 +38,7 @@ async function getTokensFile() {const promises = TOKEN_FILES_METADATA.map((tokenMetadata, i) => {return new Promise((resolve, reject) => {https- .get(baseUrl + tokenMetadata.fileName, (res) => {+ .get(baseUrl + tokenMetadata.fileName + `?e=${Math.random()}`, (res) => {let data = ''res.on('data', (chunk) => {data += chunkdiff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 9f1cedf7c4c..19b6ae95be9 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -8,6 +8,7 @@"build:icons": "node --experimental-modules internals/populate-icons.js","build-tokens": "node build-tokens.js","copy-tokens": "node copy-tokens.js",+ "cleanse-css-for-tailwind": "node cleanse-css-for-tailwind.js","generate-styles": "npm run copy-tokens && npm run build-tokens","build-storybook": "storybook build","storybook": "storybook dev -p 6006"@@ -29,6 +30,7 @@"autoprefixer": "^10.4.14","clsx": "^1.2.1","cmdk-supabase": "^0.2.2",+ "color": "^4.2.3","colorjs.io": "^0.4.3","common-tags": "^1.8.2","config": "*",@@ -65,15 +67,15 @@"@types/react": "^17.0.37","@types/react-copy-to-clipboard": "^5.0.4","@types/react-dom": "^17.0.11",+ "@types/react-syntax-highlighter": "^15.5.6","color2k": "^2.0.1","copyfiles": "^2.4.1","expr-eval": "^2.0.2","glob": "^8.1.0",+ "sql-formatter": "^12.2.0","storybook": "^7.0.5","storybook-dark-mode": "^3.0.0","style-dictionary": "^3.7.1",- "@types/react-syntax-highlighter": "^15.5.6",- "sql-formatter": "^12.2.0","typescript": "4.3.4"}}diff --git a/packages/ui/styles/themes/dark.css b/packages/ui/styles/themes/dark.cssdeleted file mode 100644index 85e4ba0e1c8..00000000000--- a/packages/ui/styles/themes/dark.css+++ /dev/null@@ -1,27 +0,0 @@-.dark {- --theme-variables-background: #232323;- --theme-variables-background-body: #1c1c1c;- --theme-variables-background-body-alt: #161616;- --theme-variables-text-body: #ededed;- --background-color-default: #232323;- --background-color-body: #1c1c1c;- --background-color-body-alt: #161616;- --background-color-selection: #353535;- --background-color-control: #151515;- --border-color-default: #353535;- --border-color-body: #2e2e2e;- --border-color-control: #3e3e3e;- --text-default: #ededed;- --text-body-light: #6c6c6c;- --text-body-lighter: #383838;- --text-body-lightest: #1e1e1e;- --text-override-lighten-strength: 0;- --lighten-default: 0.1;- --lighten-soft: 0.05;- --lighten-hard: 0.3;- --lighten-harder: 0.5;- --lighten-hardest: 0.65;- --darken-percentage: 0.2;- --utility-mix-positive: #fff;- --utility-mix-negative: #000;-}\ No newline at end of filediff --git a/packages/ui/styles/themes/light.css b/packages/ui/styles/themes/light.cssdeleted file mode 100644index 9808719f16e..00000000000--- a/packages/ui/styles/themes/light.css+++ /dev/null@@ -1,28 +0,0 @@-:root {- --theme-variables-background: #fbfcfd;- --theme-variables-background-body: #f8f9fa;- --theme-variables-background-body-alt: #fff;- --theme-variables-text-body: #1a1d1e;- --lighten-default: 0.1;- --lighten-soft: 0.035;- --lighten-hard: 0.3;- --lighten-harder: 0.5;- --lighten-hardest: 0.65;- --darken-percentage: 0.2;- --utility-mix-positive: #000;- --utility-mix-negative: #fff;- --utility-github-background: #ffffff;- --text-override-lighten-strength: 5;- --text-default: #1a1d1e;- --text-body-light: #858787;- --text-body-lighter: #bfc0c0;- --text-body-lightest: #dfe0e0;- --background-color-default: #fbfcfd;- --background-color-body: #f8f9fa;- --background-color-body-alt: #fff;- --background-color-selection: #e7e8e9;- --background-color-control: #fdfefe;- --border-color-default: #e7e8e9;- --border-color-body: #f8f9fa;- --border-color-control: #dedfe0;-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/borderRadius.js b/packages/ui/styles/tw-extend/borderRadius.jsdeleted file mode 100644index 26d4e8d3672..00000000000--- a/packages/ui/styles/tw-extend/borderRadius.js+++ /dev/null@@ -1,9 +0,0 @@-module.exports = {-"borderRadius-sm": "var(--border-radius-sm, 4px);",-"borderRadius-lg": "var(--border-radius-lg, 8px);",-"borderRadius-xl": "var(--border-radius-xl, 16px);",-"borderRadius-xs": "var(--border-radius-xs, 2px);",-"borderRadius-tableHeader": "var(--border-radius-table-header, 4px);",-"panel": "var(--panel, 2px);",-"panel2": "var(--panel2, 4px);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/borderWidth.js b/packages/ui/styles/tw-extend/borderWidth.jsdeleted file mode 100644index aa75769ea6d..00000000000--- a/packages/ui/styles/tw-extend/borderWidth.js+++ /dev/null@@ -1,8 +0,0 @@-module.exports = {-"borderWidth-none": "var(--border-width-none, 0);",-"borderWidth-xs": "var(--border-width-xs, 1);",-"borderWidth-sm": "var(--border-width-sm, 2);",-"borderWidth-md": "var(--border-width-md, 4);",-"borderWidth-lg": "var(--border-width-lg, 8);",-"iconWidth-default": "var(--icon-width-default, 1);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/color.js b/packages/ui/styles/tw-extend/color.jsdeleted file mode 100644index b07077330ee..00000000000--- a/packages/ui/styles/tw-extend/color.js+++ /dev/null@@ -1,20 +0,0 @@-module.exports = {-"theme-variables-background": "var(--theme-variables-background, #232323);",-"theme-variables-background-body": "var(--theme-variables-background-body, #1c1c1c);",-"theme-variables-background-body-alt": "var(--theme-variables-background-body-alt, #161616);",-"theme-variables-text-body": "var(--theme-variables-text-body, #ededed);",-"backgroundColor-DEFAULT": "var(--background-color-default, #232323);",-"backgroundColor-body": "var(--background-color-body, #1c1c1c);",-"backgroundColor-body-alt": "var(--background-color-body-alt, #161616);",-"backgroundColor-selection": "var(--background-color-selection, #353535);",-"backgroundColor-control": "var(--background-color-control, #151515);",-"borderColor-DEFAULT": "var(--border-color-default, #353535);",-"borderColor-body": "var(--border-color-body, #2e2e2e);",-"borderColor-control": "var(--border-color-control, #3e3e3e);",-"text-DEFAULT": "var(--text-default, #ededed);",-"text-body-light": "var(--text-body-light, #6c6c6c);",-"text-body-lighter": "var(--text-body-lighter, #383838);",-"text-body-lightest": "var(--text-body-lightest, #1e1e1e);",-"utility-mix-positive": "var(--utility-mix-positive, #fff);",-"utility-mix-negative": "var(--utility-mix-negative, #000);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/fontFamilies.js b/packages/ui/styles/tw-extend/fontFamilies.jsdeleted file mode 100644index 514586aaaba..00000000000--- a/packages/ui/styles/tw-extend/fontFamilies.js+++ /dev/null@@ -1,7 +0,0 @@-module.exports = {-"fontFamilies-heading": "var(--font-families-heading, Inter);",-"fontFamilies-body": "var(--font-families-body, Circular Std);",-"fontFamilies-roboto": "var(--font-families-roboto, Roboto);",-"fontFamilies-body2": "var(--font-families-body2, Circular Std);",-"fontFamilies-mono": "var(--font-families-mono, Office Code Pro);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/fontSizes.js b/packages/ui/styles/tw-extend/fontSizes.jsdeleted file mode 100644index bd7bc7e5c84..00000000000--- a/packages/ui/styles/tw-extend/fontSizes.js+++ /dev/null@@ -1,18 +0,0 @@-module.exports = {-"fontSizes-5xl": "var(--font-sizes-5xl, 48px);",-"fontSizes-4xl": "var(--font-sizes-4xl, 36px);",-"fontSizes-3xl": "var(--font-sizes-3xl, 30px);",-"fontSizes-2xl": "var(--font-sizes-2xl, 24px);",-"fontSizes-xl": "var(--font-sizes-xl, 20px);",-"fontSizes-lg": "var(--font-sizes-lg, 18px);",-"fontSizes-base": "var(--font-sizes-base, 16px);",-"fontSizes-sm": "var(--font-sizes-sm, 14px);",-"fontSizes-xs": "var(--font-sizes-xs, 12px);",-"fontSizes-6xl": "var(--font-sizes-6xl, 60px);",-"fontSizes-7xl": "var(--font-sizes-7xl, 72px);",-"fontSizes-8xl": "var(--font-sizes-8xl, 96px);",-"fontSizes-9xl": "var(--font-sizes-9xl, 128px);",-"fontSize-0": "var(--font-size-0, 14px);",-"fontSize-1": "var(--font-size-1, 39.063px);",-"fontSize-2": "var(--font-size-2, 48.829px);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/fontWeights.js b/packages/ui/styles/tw-extend/fontWeights.jsdeleted file mode 100644index 58c5f495ef3..00000000000--- a/packages/ui/styles/tw-extend/fontWeights.js+++ /dev/null@@ -1,10 +0,0 @@-module.exports = {-"fontWeights-headingRegular": "var(--font-weights-heading-regular, 400);",-"fontWeights-headingBold": "var(--font-weights-heading-bold, 700);",-"fontWeights-bodyRegular": "var(--font-weights-body-regular, 400);",-"fontWeights-bodyBold": "var(--font-weights-body-bold, 700);",-"fontWeights-roboto-0": "var(--font-weights-roboto-0, 400);",-"fontWeights-inter-1": "var(--font-weights-inter-1, 500);",-"fontWeights-inter-2": "var(--font-weights-inter-2, 400);",-"fontWeights-heading-mono": "var(--font-weights-heading-mono, 500);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/letterSpacing.js b/packages/ui/styles/tw-extend/letterSpacing.jsdeleted file mode 100644index 2a9e8b42bec..00000000000--- a/packages/ui/styles/tw-extend/letterSpacing.js+++ /dev/null@@ -1,8 +0,0 @@-module.exports = {-"letterSpacing-0": "var(--letter-spacing-0, 0em);",-"letterSpacing-1": "var(--letter-spacing-1, -0.02em);",-"letterSpacing-default": "var(--letter-spacing-default, 0);",-"letterSpacing-increased": "var(--letter-spacing-increased, 0.1em);",-"letterSpacing-decreased": "var(--letter-spacing-decreased, -0.05em);",-"letterSpacing-+8": "var(--letter-spacing-8, 0.08em);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/lineHeights.js b/packages/ui/styles/tw-extend/lineHeights.jsdeleted file mode 100644index d6c1a22f2b0..00000000000--- a/packages/ui/styles/tw-extend/lineHeights.js+++ /dev/null@@ -1,17 +0,0 @@-module.exports = {-"lineHeights-0": "var(--line-heights-0, 110%);",-"lineHeights-heading": "var(--line-heights-heading, 110%);",-"lineHeights-base": "var(--line-heights-base, 24);",-"lineHeights-xs": "var(--line-heights-xs, 16);",-"lineHeights-sm": "var(--line-heights-sm, 20);",-"lineHeights-lg": "var(--line-heights-lg, 28);",-"lineHeights-xl": "var(--line-heights-xl, 28);",-"lineHeights-2xl": "var(--line-heights-2xl, 32);",-"lineHeights-3xl": "var(--line-heights-3xl, 36);",-"lineHeights-4xl": "var(--line-heights-4xl, 40);",-"lineHeights-5xl": "var(--line-heights-5xl, 48);",-"lineHeights-6xl": "var(--line-heights-6xl, 60);",-"lineHeights-7xl": "var(--line-heights-7xl, 72);",-"lineHeights-8xl": "var(--line-heights-8xl, 96);",-"lineHeights-9xl": "var(--line-heights-9xl, 128);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/opacity.js b/packages/ui/styles/tw-extend/opacity.jsdeleted file mode 100644index a32b005a7ce..00000000000--- a/packages/ui/styles/tw-extend/opacity.js+++ /dev/null@@ -1,7 +0,0 @@-module.exports = {-"opacity-low": "var(--opacity-low, 10%);",-"opacity-md": "var(--opacity-md, 50%);",-"opacity-high": "var(--opacity-high, 90%);",-"icon-bg": "var(--icon-bg, 0.15);",-"form-input-disabled": "var(--form-input-disabled, 33%);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/paragraphSpacing.js b/packages/ui/styles/tw-extend/paragraphSpacing.jsdeleted file mode 100644index 3063b791ef2..00000000000--- a/packages/ui/styles/tw-extend/paragraphSpacing.js+++ /dev/null@@ -1,6 +0,0 @@-module.exports = {-"paragraphSpacing-0": "var(--paragraph-spacing-0, 26);",-"paragraphSpacing-1": "var(--paragraph-spacing-1, 32);",-"paragraphSpacing-h1": "var(--paragraph-spacing-h1, 32);",-"paragraphSpacing-h2": "var(--paragraph-spacing-h2, 26);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/sizing.js b/packages/ui/styles/tw-extend/sizing.jsdeleted file mode 100644index 30eea6a28fe..00000000000--- a/packages/ui/styles/tw-extend/sizing.js+++ /dev/null@@ -1,16 +0,0 @@-module.exports = {-"sizing-scale": "var(--sizing-scale, 1.5);",-"sizing-xs": "var(--sizing-xs, 4);",-"sizing-sm": "var(--sizing-sm, 6);",-"sizing-md": "var(--sizing-md, 9);",-"sizing-lg": "var(--sizing-lg, 13.5);",-"sizing-xl": "var(--sizing-xl, 20.25);",-"icon-xs": "var(--icon-xs, 12);",-"icon-sm": "var(--icon-sm, 16);",-"icon-md": "var(--icon-md, 18);",-"datatable-headericon": "var(--datatable-headericon, 16);",-"datatable-rowheight": "var(--datatable-rowheight, 28);",-"options-icon": "var(--options-icon, 18);",-"input-sm-height": "var(--input-sm-height, 28);",-"content-width-screen-xl": "var(--content-width-screen-xl, 1128);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/spacing.js b/packages/ui/styles/tw-extend/spacing.jsdeleted file mode 100644index 13eee55c31b..00000000000--- a/packages/ui/styles/tw-extend/spacing.js+++ /dev/null@@ -1,16 +0,0 @@-module.exports = {-"spacing-scale": "var(--spacing-scale, 2px);",-"spacing-xs": "var(--spacing-xs, 4px);",-"spacing-sm": "var(--spacing-sm, 8px);",-"spacing-md": "var(--spacing-md, 16px);",-"spacing-lg": "var(--spacing-lg, 32px);",-"spacing-xl": "var(--spacing-xl, 64px);",-"xxl": "var(--xxl, 128px);",-"actionBar-vertical": "var(--action-bar-vertical, 21px);",-"actionBar-horizontal": "var(--action-bar-horizontal, 32px);",-"table-header-horizontal": "var(--table-header-horizontal, 32px);",-"tabs-horizontal": "var(--tabs-horizontal, 16px);",-"content-vertical": "var(--content-vertical, 32px);",-"content-horizontal": "var(--content-horizontal, 32px);",-"controller-vertical": "var(--controller-vertical, 16px);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/textCase.js b/packages/ui/styles/tw-extend/textCase.jsdeleted file mode 100644index d9c83c3b5a5..00000000000--- a/packages/ui/styles/tw-extend/textCase.js+++ /dev/null@@ -1,4 +0,0 @@-module.exports = {-"textCase-none": "var(--text-case-none, none);",-"textCase-uppercase": "var(--text-case-uppercase, uppercase);"-}\ No newline at end of filediff --git a/packages/ui/styles/tw-extend/textDecoration.js b/packages/ui/styles/tw-extend/textDecoration.jsdeleted file mode 100644index a0bf20c4b4c..00000000000--- a/packages/ui/styles/tw-extend/textDecoration.js+++ /dev/null@@ -1,3 +0,0 @@-module.exports = {-"textDecoration-none": "var(--text-decoration-none, none);"-}\ No newline at end of filediff --git a/packages/ui/tokens/themes/root.json b/packages/ui/tokens/themes/root.jsonindex 41d9b2c7c0f..10bfd0ffe6c 100644--- a/packages/ui/tokens/themes/root.json+++ b/packages/ui/tokens/themes/root.json@@ -50,7 +50,7 @@"modify": {"type": "mix","value": "{lighten.soft}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-positive}"}}@@ -64,7 +64,7 @@"modify": {"type": "mix","value": "{lighten.hard}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-negative}"}}@@ -81,7 +81,7 @@"modify": {"type": "mix","value": "{lighten.soft}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-positive}"}}@@ -95,7 +95,7 @@"modify": {"type": "mix","value": "{lighten.soft}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-positive}"}}@@ -109,7 +109,7 @@"modify": {"type": "mix","value": "{lighten.soft}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-positive}"}}@@ -129,7 +129,7 @@"modify": {"type": "mix","value": "{lighten.hard}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-negative}"}}@@ -143,7 +143,7 @@"modify": {"type": "mix","value": "{lighten.harder}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-negative}"}}@@ -157,7 +157,7 @@"modify": {"type": "mix","value": "{lighten.hardest}",- "space": "lch",+ "space": "hsl","color": "{utility.mix-negative}"}}