Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove redundant css

Jonathan Summers-Muir0db62f42a49d
diff --git a/apps/docs/pages/_app.tsx b/apps/docs/pages/_app.tsx
index ac699008ad6..d5adafeed64 100644
--- a/apps/docs/pages/_app.tsx
+++ b/apps/docs/pages/_app.tsx
@@ -1,3 +1,13 @@
+import '../../../packages/ui/styles/themes/light.css'
+import '../../../packages/ui/styles/themes/dark.css'
+
+import '../styles/algolia-search.scss'
+import '../styles/ch.scss'
+import '../styles/docsearch.scss'
+import '../styles/main.scss?v=1.0.0'
+import '../styles/new-docs.scss'
+import '../styles/prism-okaidia.scss'
+
import { createBrowserSupabaseClient } from '@supabase/auth-helpers-nextjs'
import { SessionContextProvider } from '@supabase/auth-helpers-react'
import { ThemeProvider } from 'common/Providers'
@@ -11,15 +21,6 @@ import SearchProvider from '~/components/Search/SearchProvider'
import SiteLayout from '~/layouts/SiteLayout'
import { IS_PLATFORM, LOCAL_SUPABASE } from '~/lib/constants'
import { post } from '~/lib/fetchWrappers'
-import '../../../packages/ui/styles/base/global.css'
-import '../../../packages/ui/styles/themes/light.css'
-import '../../../packages/ui/styles/themes/dark.css'
-import '../styles/algolia-search.scss'
-import '../styles/ch.scss'
-import '../styles/docsearch.scss'
-import '../styles/main.scss?v=1.0.0'
-import '../styles/new-docs.scss'
-import '../styles/prism-okaidia.scss'
function MyApp({ Component, pageProps }: AppPropsWithLayout) {
const router = useRouter()
diff --git a/apps/www/pages/_app.tsx b/apps/www/pages/_app.tsx
index 86387075e61..5637d897826 100644
--- a/apps/www/pages/_app.tsx
+++ b/apps/www/pages/_app.tsx
@@ -1,13 +1,14 @@
+import '../../../packages/ui/styles/themes/light.css'
+import '../../../packages/ui/styles/themes/dark.css'
+
+import '../styles/index.css'
+
import { APP_NAME, DESCRIPTION } from 'lib/constants'
import { DefaultSeo } from 'next-seo'
import { AppProps } from 'next/app'
import { useRouter } from 'next/router'
import { useEffect } from 'react'
import Meta from '~/components/Favicons'
-import '../styles/index.css'
-import '../../../packages/ui/styles/base/global.css'
-import '../../../packages/ui/styles/themes/light.css'
-import '../../../packages/ui/styles/themes/dark.css'
import { post } from './../lib/fetchWrapper'
import { ThemeProvider } from 'common/Providers'
import Head from 'next/head'
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 072481a949b..eb8987152c1 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -10,7 +10,7 @@
"build-transform-dark": "npx token-transformer tokens.json styles/tokens/02_themes/dark.json global,exported/dark,theme global",
"build-transform-light": "npx token-transformer tokens.json styles/tokens/02_themes/light.json global,exported/light,theme global",
"build-transform-typography": "npx token-transformer tokens.json styles/tokens/03_semantic/typography.json global,typography global --resolveReferences=false",
- "build-transform": "npm run build-transform-global && npm run build-transform-typography && npm run build-transform-dark && npm run build-transform-light",
+ "build-transform": "npm run build-transform-dark && npm run build-transform-light",
"build-tailwind": "node style-token.js",
"copy-tokens": "node copy-tokens.js --branch process.env.branch",
"build-styles": "npm run copy-tokens && npm run build-transform && node style-token.js"
diff --git a/packages/ui/styles/base/global.css b/packages/ui/styles/base/global.css
deleted file mode 100644
index 897f51d2a75..00000000000
--- a/packages/ui/styles/base/global.css
+++ /dev/null
@@ -1,208 +0,0 @@
-:root {
- --spacing-scale: 2px;
- --spacing-xs: 4px;
- --spacing-sm: 8px;
- --spacing-md: 16px;
- --spacing-lg: 32px;
- --spacing-xl: 64px;
- --sizing-scale: 1.5;
- --sizing-xs: 4;
- --sizing-sm: 6;
- --sizing-md: 9;
- --sizing-lg: 13.5;
- --sizing-xl: 20.25;
- --border-radius-sm: 4px;
- --border-radius-lg: 8px;
- --border-radius-xl: 16px;
- --border-radius-xs: 2px;
- --border-radius-table-header: 4px;
- --border-width-none: 0;
- --border-width-xs: 1;
- --border-width-sm: 2;
- --border-width-md: 4;
- --border-width-lg: 8;
- --colors-black: #000000;
- --colors-white: #ffffff;
- --colors-gray-dark-1: #161616;
- --colors-gray-dark-2: #1c1c1c;
- --colors-gray-dark-3: #232323;
- --colors-gray-dark-4: #282828;
- --colors-gray-dark-5: #2e2e2e;
- --colors-gray-dark-6: #343434;
- --colors-gray-dark-7: #3e3e3e;
- --colors-gray-dark-8: #505050;
- --colors-gray-dark-9: #707070;
- --colors-gray-dark-10: #7e7e7e;
- --colors-gray-dark-11: #a0a0a0;
- --colors-gray-dark-12: #ededed;
- --colors-gray-dark-alpha-1: #00000000;
- --colors-gray-dark-alpha-2: #ffffff08;
- --colors-gray-dark-alpha-3: #ffffff0f;
- --colors-gray-dark-alpha-4: #ffffff14;
- --colors-gray-dark-alpha-5: #ffffff1a;
- --colors-gray-dark-alpha-6: #ffffff21;
- --colors-gray-dark-alpha-7: #ffffff2b;
- --colors-gray-dark-alpha-8: #ffffff40;
- --colors-gray-dark-alpha-9: #ffffff63;
- --colors-gray-dark-alpha-10: #ffffff73;
- --colors-gray-dark-alpha-11: #ffffff96;
- --colors-gray-dark-alpha-12: #ffffffeb;
- --colors-gray-light-1: #fcfcfc;
- --colors-gray-light-2: #f8f8f8;
- --colors-gray-light-3: #f3f3f3;
- --colors-gray-light-4: #ededed;
- --colors-gray-light-5: #e8e8e8;
- --colors-gray-light-6: #e2e2e2;
- --colors-gray-light-7: #dbdbdb;
- --colors-gray-light-8: #c7c7c7;
- --colors-gray-light-9: #8f8f8f;
- --colors-gray-light-10: #858585;
- --colors-gray-light-11: #6f6f6f;
- --colors-gray-light-12: #171717;
- --colors-gray-light-alpha-1: #00000003;
- --colors-gray-light-alpha-2: #00000008;
- --colors-gray-light-alpha-3: #0000000d;
- --colors-gray-light-alpha-4: #00000012;
- --colors-gray-light-alpha-5: #00000017;
- --colors-gray-light-alpha-6: #0000001c;
- --colors-gray-light-alpha-7: #00000024;
- --colors-gray-light-alpha-8: #00000038;
- --colors-gray-light-alpha-9: #00000070;
- --colors-gray-light-alpha-10: #0000007a;
- --colors-gray-light-alpha-11: #0000008f;
- --colors-gray-light-alpha-12: #000000e8;
- --colors-slate-dark-1: #151718;
- --colors-slate-dark-2: #1a1d1e;
- --colors-slate-dark-3: #202425;
- --colors-slate-dark-4: #26292b;
- --colors-slate-dark-5: #2b2f31;
- --colors-slate-dark-6: #313538;
- --colors-slate-dark-7: #3a3f42;
- --colors-slate-dark-8: #4c5155;
- --colors-slate-dark-9: #697177;
- --colors-slate-dark-10: #787f85;
- --colors-slate-dark-11: #9ba1a6;
- --colors-slate-dark-12: #ecedee;
- --colors-slate-dark-alpha-1: #00000000;
- --colors-slate-dark-alpha-2: #d5feff08;
- --colors-slate-dark-alpha-3: #d6fbfc0f;
- --colors-slate-dark-alpha-4: #e2f0fd14;
- --colors-slate-dark-alpha-5: #dff3fd1c;
- --colors-slate-dark-alpha-6: #dfeffe24;
- --colors-slate-dark-alpha-7: #e0f3ff2e;
- --colors-slate-dark-alpha-8: #e5f2fe42;
- --colors-slate-dark-alpha-9: #e1f1ff69;
- --colors-slate-dark-alpha-10: #e7f3ff78;
- --colors-slate-dark-alpha-11: #eff7ff9e;
- --colors-slate-dark-alpha-12: #fdfeffed;
- --colors-slate-light-1: #fbfcfd;
- --colors-slate-light-2: #f8f9fa;
- --colors-slate-light-3: #f1f3f5;
- --colors-slate-light-4: #eceef0;
- --colors-slate-light-5: #e6e8eb;
- --colors-slate-light-6: #dfe3e6;
- --colors-slate-light-7: #d7dbdf;
- --colors-slate-light-8: #c1c8cd;
- --colors-slate-light-9: #889096;
- --colors-slate-light-10: #7e868c;
- --colors-slate-light-11: #687076;
- --colors-slate-light-12: #11181c;
- --colors-slate-light-alpha-1: #05448205;
- --colors-slate-light-alpha-2: #05294d08;
- --colors-slate-light-alpha-3: #0025490d;
- --colors-slate-light-alpha-4: #021c3714;
- --colors-slate-light-alpha-5: #0217351a;
- --colors-slate-light-alpha-6: #01213921;
- --colors-slate-light-alpha-7: #001a3329;
- --colors-slate-light-alpha-8: #011e323d;
- --colors-slate-light-alpha-9: #00111e78;
- --colors-slate-light-alpha-10: #00101b82;
- --colors-slate-light-alpha-11: #000e1896;
- --colors-slate-light-alpha-12: #00080ced;
- --opacity-low: 10%;
- --opacity-md: 50%;
- --opacity-high: 90%;
- --font-families-heading: Inter;
- --font-families-body: Circular Std;
- --font-families-roboto: Roboto;
- --font-families-body2: Circular Std;
- --font-families-mono: Office Code Pro;
- --line-heights-0: 110%;
- --line-heights-heading: 110%;
- --line-heights-base: 24;
- --line-heights-xs: 16;
- --line-heights-sm: 20;
- --line-heights-lg: 28;
- --line-heights-xl: 28;
- --line-heights-2xl: 32;
- --line-heights-3xl: 36;
- --line-heights-4xl: 40;
- --line-heights-5xl: 48;
- --line-heights-6xl: 60;
- --line-heights-7xl: 72;
- --line-heights-8xl: 96;
- --line-heights-9xl: 128;
- --letter-spacing-0: 0em;
- --letter-spacing-1: -0.02em;
- --letter-spacing-default: 0;
- --letter-spacing-increased: 0.1em;
- --letter-spacing-decreased: -0.05em;
- --letter-spacing-8: 0.08em;
- --paragraph-spacing-0: 26;
- --paragraph-spacing-1: 32;
- --paragraph-spacing-h1: 32;
- --paragraph-spacing-h2: 26;
- --font-weights-heading-regular: 400;
- --font-weights-heading-bold: 700;
- --font-weights-body-regular: 400;
- --font-weights-body-bold: 700;
- --font-weights-roboto-0: 400;
- --font-weights-inter-1: 500;
- --font-weights-inter-2: 400;
- --font-weights-heading-mono: 500;
- --font-sizes-5xl: 48px;
- --font-sizes-4xl: 36px;
- --font-sizes-3xl: 30px;
- --font-sizes-2xl: 24px;
- --font-sizes-xl: 20px;
- --font-sizes-lg: 18px;
- --font-sizes-base: 16px;
- --font-sizes-sm: 14px;
- --font-sizes-xs: 12px;
- --font-sizes-6xl: 60px;
- --font-sizes-7xl: 72px;
- --font-sizes-8xl: 96px;
- --font-sizes-9xl: 128px;
- --inner-shadow-label-copy: 0 1 1 0 #858585;
- --inner-shadow-text-new: 0 0.5 0.5 0 #00000026;
- --font-size-0: 14px;
- --font-size-1: 39.063px;
- --font-size-2: 48.829px;
- --text-case-none: none;
- --text-case-uppercase: uppercase;
- --text-decoration-none: none;
- --variables-colors-brand-primary: #3ecf8e;
- --variables-colors-brand-accent: #34b97d;
- --icon-xs: 12;
- --icon-sm: 16;
- --icon-md: 18;
- --icon-bg: 0.15;
- --icon-width-default: 1;
- --form-input-disabled: 33%;
- --modal-drop-shadow: 1 4 4 4 #00000026;
- --panel: 2px;
- --datatable-headericon: 16;
- --datatable-rowheight: 28;
- --options-icon: 18;
- --input-sm-height: 28;
- --panel2: 4px;
- --base: 16;
- --xxl: 128px;
- --action-bar-vertical: 21px;
- --action-bar-horizontal: 32px;
- --table-header-horizontal: 32px;
- --tabs-horizontal: 16px;
- --content-vertical: 32px;
- --content-horizontal: 32px;
- --controller-vertical: 16px;
-}
\ No newline at end of file
diff --git a/packages/ui/styles/base/typography-classes.css b/packages/ui/styles/base/typography-classes.css
deleted file mode 100644
index 379b845f994..00000000000
--- a/packages/ui/styles/base/typography-classes.css
+++ /dev/null
@@ -1,175 +0,0 @@
-
-.typography-h1-bold {
- font: var(--typography-h1-bold);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h1-regular {
- font: var(--typography-h1-regular);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h2-bold {
- font: var(--typography-h2-bold);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h2-regular {
- font: var(--typography-h2-regular);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h3-bold {
- font: var(--typography-h3-bold);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h3-regular {
- font: var(--typography-h3-regular);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h4-bold {
- font: var(--typography-h4-bold);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h4-regular {
- font: var(--typography-h4-regular);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h4-mono {
- font: var(--typography-h4-mono);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-uppercase);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h5-bold {
- font: var(--typography-h5-bold);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-h5-regular {
- font: var(--typography-h5-regular);
- letter-spacing: var(--letterSpacing-1);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-base-normal {
- font: var(--typography-body-base-normal);
- letter-spacing: var(--letterSpacing-default);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-base-mono {
- font: var(--typography-body-base-mono);
- letter-spacing: var(--letterSpacing-+8);
- text-transform: var(--textCase-uppercase);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-lg-normal {
- font: var(--typography-body-lg-normal);
- letter-spacing: var(--letterSpacing-default);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-xs-normal {
- font: var(--typography-body-xs-normal);
- letter-spacing: var(--letterSpacing-default);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-xs-code-header {
- font: var(--typography-body-xs-code-header);
- letter-spacing: var(--letterSpacing-increased);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-sm-normal {
- font: var(--typography-body-sm-normal);
- letter-spacing: var(--letterSpacing-default);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-sm-code-header {
- font: var(--typography-body-sm-code-header);
- letter-spacing: var(--letterSpacing-increased);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-sm-code-normal {
- font: var(--typography-body-sm-code-normal);
- letter-spacing: var(--letterSpacing-default);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-body-sm-bullet-points {
- font: var(--typography-body-sm-bullet-points);
- letter-spacing: var(--letterSpacing-default);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-button-xs {
- font: var(--typography-button-xs);
- letter-spacing: var(--letterSpacing-0);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-button-sm {
- font: var(--typography-button-sm);
- letter-spacing: var(--letterSpacing-0);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-form-label {
- font: var(--typography-form-label);
- letter-spacing: var(--letterSpacing-0);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-form-label-secondary {
- font: var(--typography-form-label-secondary);
- letter-spacing: var(--letterSpacing-0);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
-
-.typography-table-header {
- font: var(--typography-table-header);
- letter-spacing: var(--letterSpacing-0);
- text-transform: var(--textCase-none);
- text-decoration: var(--textDecoration-none);
-}
\ No newline at end of file
diff --git a/packages/ui/styles/semantic/typography.css b/packages/ui/styles/semantic/typography.css
deleted file mode 100644
index 6630edcc01f..00000000000
--- a/packages/ui/styles/semantic/typography.css
+++ /dev/null
@@ -1,27 +0,0 @@
-:root {
- --typography-h1-bold: 500 48px/48 Circular Std;
- --typography-h1-regular: 400 48px/48 Circular Std;
- --typography-h2-bold: 500 36px/40 Circular Std;
- --typography-h2-regular: 400 36px/40 Circular Std;
- --typography-h3-bold: 500 30px/36 Circular Std;
- --typography-h3-regular: 400 30px/36 Circular Std;
- --typography-h4-bold: 500 24px/32 Circular Std;
- --typography-h4-regular: 400 24px/32 Circular Std;
- --typography-h4-mono: 500 24px/32 Office Code Pro;
- --typography-h5-bold: 500 20px/28 Circular Std;
- --typography-h5-regular: 400 20px/28 Circular Std;
- --typography-body-base-normal: 400 16px/24 Circular Std;
- --typography-body-base-mono: 500 14px/32 Office Code Pro;
- --typography-body-lg-normal: 400 18px/28 Circular Std;
- --typography-body-xs-normal: 400 12px/16 Circular Std;
- --typography-body-xs-code-header: 500 12px/20 Office Code Pro;
- --typography-body-sm-normal: 400 14px/20 Circular Std;
- --typography-body-sm-code-header: 400 14px/20 Office Code Pro;
- --typography-body-sm-code-normal: 400 14px/20 Office Code Pro;
- --typography-body-sm-bullet-points: 400 14px/20 Circular Std;
- --typography-button-xs: 400 12px/16 Circular Std;
- --typography-button-sm: 400 14px/20 Circular Std;
- --typography-form-label: 400 14px/20 Circular Std;
- --typography-form-label-secondary: 400 14px/20 Circular Std;
- --typography-table-header: 400 12px/20 Circular Std;
-}
\ No newline at end of file
diff --git a/packages/ui/styles/tokens/01_base/global.json b/packages/ui/styles/tokens/01_base/global.json
deleted file mode 100644
index ef326d248da..00000000000
--- a/packages/ui/styles/tokens/01_base/global.json
+++ /dev/null
@@ -1,1036 +0,0 @@
-{
- "spacing": {
- "scale": {
- "value": 2,
- "type": "spacing"
- },
- "xs": {
- "value": 4,
- "type": "spacing"
- },
- "sm": {
- "value": 8,
- "type": "spacing"
- },
- "md": {
- "value": 16,
- "type": "spacing"
- },
- "lg": {
- "value": 32,
- "type": "spacing"
- },
- "xl": {
- "value": 64,
- "type": "spacing"
- }
- },
- "sizing": {
- "scale": {
- "value": 1.5,
- "type": "sizing"
- },
- "xs": {
- "value": 4,
- "type": "sizing"
- },
- "sm": {
- "value": 6,
- "type": "sizing"
- },
- "md": {
- "value": 9,
- "type": "sizing"
- },
- "lg": {
- "value": 13.5,
- "type": "sizing"
- },
- "xl": {
- "value": 20.25,
- "type": "sizing"
- }
- },
- "borderRadius": {
- "sm": {
- "value": 4,
- "type": "borderRadius"
- },
- "lg": {
- "value": 8,
- "type": "borderRadius"
- },
- "xl": {
- "value": 16,
- "type": "borderRadius"
- },
- "xs": {
- "value": 2,
- "type": "borderRadius"
- },
- "tableHeader": {
- "value": 4,
- "type": "borderRadius"
- }
- },
- "borderWidth": {
- "none": {
- "value": 0,
- "type": "borderWidth"
- },
- "xs": {
- "value": 1,
- "type": "borderWidth"
- },
- "sm": {
- "value": 2,
- "type": "borderWidth"
- },
- "md": {
- "value": 4,
- "type": "borderWidth"
- },
- "lg": {
- "value": 8,
- "type": "borderWidth"
- }
- },
- "colors": {
- "black": {
- "value": "#000000",
- "type": "color"
- },
- "white": {
- "value": "#ffffff",
- "type": "color"
- },
- "Gray": {
- "Dark": {
- "1": {
- "value": "#161616",
- "type": "color",
- "description": "161616"
- },
- "2": {
- "value": "#1c1c1c",
- "type": "color",
- "description": "1C1C1C"
- },
- "3": {
- "value": "#232323",
- "type": "color",
- "description": "232323"
- },
- "4": {
- "value": "#282828",
- "type": "color",
- "description": "282828"
- },
- "5": {
- "value": "#2e2e2e",
- "type": "color",
- "description": "2E2E2E"
- },
- "6": {
- "value": "#343434",
- "type": "color",
- "description": "343434"
- },
- "7": {
- "value": "#3e3e3e",
- "type": "color",
- "description": "3E3E3E"
- },
- "8": {
- "value": "#505050",
- "type": "color",
- "description": "505050"
- },
- "9": {
- "value": "#707070",
- "type": "color",
- "description": "707070"
- },
- "10": {
- "value": "#7e7e7e",
- "type": "color",
- "description": "7E7E7E"
- },
- "11": {
- "value": "#a0a0a0",
- "type": "color",
- "description": "A0A0A0"
- },
- "12": {
- "value": "#ededed",
- "type": "color",
- "description": "EDEDED"
- },
- "Alpha": {
- "1": {
- "value": "#00000000",
- "type": "color",
- "description": "000000"
- },
- "2": {
- "value": "#ffffff08",
- "type": "color",
- "description": "FFFFFF"
- },
- "3": {
- "value": "#ffffff0f",
- "type": "color",
- "description": "FFFFFF"
- },
- "4": {
- "value": "#ffffff14",
- "type": "color",
- "description": "FFFFFF"
- },
- "5": {
- "value": "#ffffff1a",
- "type": "color",
- "description": "FFFFFF"
- },
- "6": {
- "value": "#ffffff21",
- "type": "color",
- "description": "FFFFFF"
- },
- "7": {
- "value": "#ffffff2b",
- "type": "color",
- "description": "FFFFFF"
- },
- "8": {
- "value": "#ffffff40",
- "type": "color",
- "description": "FFFFFF"
- },
- "9": {
- "value": "#ffffff63",
- "type": "color",
- "description": "FFFFFF"
- },
- "10": {
- "value": "#ffffff73",
- "type": "color",
- "description": "FFFFFF"
- },
- "11": {
- "value": "#ffffff96",
- "type": "color",
- "description": "FFFFFF"
- },
- "12": {
- "value": "#ffffffeb",
- "type": "color",
- "description": "FFFFFF"
- }
- }
- },
- "Light": {
- "1": {
- "value": "#fcfcfc",
- "type": "color",
- "description": "FCFCFC"
- },
- "2": {
- "value": "#f8f8f8",
- "type": "color",
- "description": "F8F8F8"
- },
- "3": {
- "value": "#f3f3f3",
- "type": "color",
- "description": "F3F3F3"
- },
- "4": {
- "value": "#ededed",
- "type": "color",
- "description": "EDEDED"
- },
- "5": {
- "value": "#e8e8e8",
- "type": "color",
- "description": "E8E8E8"
- },
- "6": {
- "value": "#e2e2e2",
- "type": "color",
- "description": "E2E2E2"
- },
- "7": {
- "value": "#dbdbdb",
- "type": "color",
- "description": "DBDBDB"
- },
- "8": {
- "value": "#c7c7c7",
- "type": "color",
- "description": "C7C7C7"
- },
- "9": {
- "value": "#8f8f8f",
- "type": "color",
- "description": "8F8F8F"
- },
- "10": {
- "value": "#858585",
- "type": "color",
- "description": "858585"
- },
- "11": {
- "value": "#6f6f6f",
- "type": "color",
- "description": "6F6F6F"
- },
- "12": {
- "value": "#171717",
- "type": "color",
- "description": "171717"
- },
- "Alpha": {
- "1": {
- "value": "#00000003",
- "type": "color",
- "description": "000000"
- },
- "2": {
- "value": "#00000008",
- "type": "color",
- "description": "000000"
- },
- "3": {
- "value": "#0000000d",
- "type": "color",
- "description": "000000"
- },
- "4": {
- "value": "#00000012",
- "type": "color",
- "description": "000000"
- },
- "5": {
- "value": "#00000017",
- "type": "color",
- "description": "000000"
- },
- "6": {
- "value": "#0000001c",
- "type": "color",
- "description": "000000"
- },
- "7": {
- "value": "#00000024",
- "type": "color",
- "description": "000000"
- },
- "8": {
- "value": "#00000038",
- "type": "color",
- "description": "000000"
- },
- "9": {
- "value": "#00000070",
- "type": "color",
- "description": "000000"
- },
- "10": {
- "value": "#0000007a",
- "type": "color",
- "description": "000000"
- },
- "11": {
- "value": "#0000008f",
- "type": "color",
- "description": "000000"
- },
- "12": {
- "value": "#000000e8",
- "type": "color",
- "description": "000000"
- }
- }
- }
- },
- "Slate": {
- "Dark": {
- "1": {
- "value": "#151718",
- "type": "color",
- "description": "151718"
- },
- "2": {
- "value": "#1a1d1e",
- "type": "color",
- "description": "1A1D1E"
- },
- "3": {
- "value": "#202425",
- "type": "color",
- "description": "202425"
- },
- "4": {
- "value": "#26292b",
- "type": "color",
- "description": "26292B"
- },
- "5": {
- "value": "#2b2f31",
- "type": "color",
- "description": "2B2F31"
- },
- "6": {
- "value": "#313538",
- "type": "color",
- "description": "313538"
- },
- "7": {
- "value": "#3a3f42",
- "type": "color",
- "description": "3A3F42"
- },
- "8": {
- "value": "#4c5155",
- "type": "color",
- "description": "4C5155"
- },
- "9": {
- "value": "#697177",
- "type": "color",
- "description": "697177"
- },
- "10": {
- "value": "#787f85",
- "type": "color",
- "description": "787F85"
- },
- "11": {
- "value": "#9ba1a6",
- "type": "color",
- "description": "9BA1A6"
- },
- "12": {
- "value": "#ecedee",
- "type": "color",
- "description": "ECEDEE"
- },
- "Alpha": {
- "1": {
- "value": "#00000000",
- "type": "color",
- "description": "000000"
- },
- "2": {
- "value": "#d5feff08",
- "type": "color",
- "description": "D5FEFF"
- },
- "3": {
- "value": "#d6fbfc0f",
- "type": "color",
- "description": "D6FBFC"
- },
- "4": {
- "value": "#e2f0fd14",
- "type": "color",
- "description": "E2F0FD"
- },
- "5": {
- "value": "#dff3fd1c",
- "type": "color",
- "description": "DFF3FD"
- },
- "6": {
- "value": "#dfeffe24",
- "type": "color",
- "description": "DFEFFE"
- },
- "7": {
- "value": "#e0f3ff2e",
- "type": "color",
- "description": "E0F3FF"
- },
- "8": {
- "value": "#e5f2fe42",
- "type": "color",
- "description": "E5F2FE"
- },
- "9": {
- "value": "#e1f1ff69",
- "type": "color",
- "description": "E1F1FF"
- },
- "10": {
- "value": "#e7f3ff78",
- "type": "color",
- "description": "E7F3FF"
- },
- "11": {
- "value": "#eff7ff9e",
- "type": "color",
- "description": "EFF7FF"
- },
- "12": {
- "value": "#fdfeffed",
- "type": "color",
- "description": "FDFEFF"
- }
- }
- },
- "Light": {
- "1": {
- "value": "#fbfcfd",
- "type": "color",
- "description": "FBFCFD"
- },
- "2": {
- "value": "#f8f9fa",
- "type": "color",
- "description": "F8F9FA"
- },
- "3": {
- "value": "#f1f3f5",
- "type": "color",
- "description": "F1F3F5"
- },
- "4": {
- "value": "#eceef0",
- "type": "color",
- "description": "ECEEF0"
- },
- "5": {
- "value": "#e6e8eb",
- "type": "color",
- "description": "E6E8EB"
- },
- "6": {
- "value": "#dfe3e6",
- "type": "color",
- "description": "DFE3E6"
- },
- "7": {
- "value": "#d7dbdf",
- "type": "color",
- "description": "D7DBDF"
- },
- "8": {
- "value": "#c1c8cd",
- "type": "color",
- "description": "C1C8CD"
- },
- "9": {
- "value": "#889096",
- "type": "color",
- "description": "889096"
- },
- "10": {
- "value": "#7e868c",
- "type": "color",
- "description": "7E868C"
- },
- "11": {
- "value": "#687076",
- "type": "color",
- "description": "687076"
- },
- "12": {
- "value": "#11181c",
- "type": "color",
- "description": "11181C"
- },
- "Alpha": {
- "1": {
- "value": "#05448205",
- "type": "color",
- "description": "054482"
- },
- "2": {
- "value": "#05294d08",
- "type": "color",
- "description": "05294D"
- },
- "3": {
- "value": "#0025490d",
- "type": "color",
- "description": "002549"
- },
- "4": {
- "value": "#021c3714",
- "type": "color",
- "description": "021C37"
- },
- "5": {
- "value": "#0217351a",
- "type": "color",
- "description": "021735"
- },
- "6": {
- "value": "#01213921",
- "type": "color",
- "description": "012139"
- },
- "7": {
- "value": "#001a3329",
- "type": "color",
- "description": "001A33"
- },
- "8": {
- "value": "#011e323d",
- "type": "color",
- "description": "011E32"
- },
- "9": {
- "value": "#00111e78",
- "type": "color",
- "description": "00111E"
- },
- "10": {
- "value": "#00101b82",
- "type": "color",
- "description": "00101B"
- },
- "11": {
- "value": "#000e1896",
- "type": "color",
- "description": "000E18"
- },
- "12": {
- "value": "#00080ced",
- "type": "color",
- "description": "00080C"
- }
- }
- }
- }
- },
- "opacity": {
- "low": {
- "value": "10%",
- "type": "opacity"
- },
- "md": {
- "value": "50%",
- "type": "opacity"
- },
- "high": {
- "value": "90%",
- "type": "opacity"
- }
- },
- "fontFamilies": {
- "heading": {
- "value": "Inter",
- "type": "fontFamilies"
- },
- "body": {
- "value": "Circular Std",
- "type": "fontFamilies"
- },
- "roboto": {
- "value": "Roboto",
- "type": "fontFamilies"
- },
- "body2": {
- "value": "Circular Std",
- "type": "fontFamilies"
- },
- "mono": {
- "value": "Office Code Pro",
- "type": "fontFamilies"
- }
- },
- "lineHeights": {
- "0": {
- "value": "110%",
- "type": "lineHeights"
- },
- "heading": {
- "value": "110%",
- "type": "lineHeights"
- },
- "base": {
- "value": 24,
- "type": "lineHeights"
- },
- "xs": {
- "value": 16,
- "type": "lineHeights"
- },
- "sm": {
- "value": 20,
- "type": "lineHeights"
- },
- "lg": {
- "value": 28,
- "type": "lineHeights"
- },
- "xl": {
- "value": 28,
- "type": "lineHeights"
- },
- "2xl": {
- "value": 32,
- "type": "lineHeights"
- },
- "3xl": {
- "value": 36,
- "type": "lineHeights"
- },
- "4xl": {
- "value": 40,
- "type": "lineHeights"
- },
- "5xl": {
- "value": 48,
- "type": "lineHeights"
- },
- "6xl": {
- "value": 60,
- "type": "lineHeights"
- },
- "7xl": {
- "value": 72,
- "type": "lineHeights"
- },
- "8xl": {
- "value": 96,
- "type": "lineHeights"
- },
- "9xl": {
- "value": 128,
- "type": "lineHeights"
- }
- },
- "letterSpacing": {
- "0": {
- "value": "0%",
- "type": "letterSpacing"
- },
- "1": {
- "value": "-2%",
- "type": "letterSpacing"
- },
- "default": {
- "value": 0,
- "type": "letterSpacing"
- },
- "increased": {
- "value": "10%",
- "type": "letterSpacing"
- },
- "decreased": {
- "value": "-5%",
- "type": "letterSpacing"
- },
- "+8": {
- "value": "8%",
- "type": "letterSpacing"
- }
- },
- "paragraphSpacing": {
- "0": {
- "value": 26,
- "type": "paragraphSpacing"
- },
- "1": {
- "value": 32,
- "type": "paragraphSpacing"
- },
- "h1": {
- "value": 32,
- "type": "paragraphSpacing"
- },
- "h2": {
- "value": 26,
- "type": "paragraphSpacing"
- }
- },
- "fontWeights": {
- "headingRegular": {
- "value": "Regular",
- "type": "fontWeights"
- },
- "headingBold": {
- "value": "Bold",
- "type": "fontWeights"
- },
- "bodyRegular": {
- "value": "Regular",
- "type": "fontWeights"
- },
- "bodyBold": {
- "value": "Bold",
- "type": "fontWeights"
- },
- "roboto-0": {
- "value": "Regular",
- "type": "fontWeights"
- },
- "inter-1": {
- "value": "Medium",
- "type": "fontWeights"
- },
- "inter-2": {
- "value": "Book",
- "type": "fontWeights"
- },
- "heading-mono": {
- "value": "Medium",
- "type": "fontWeights"
- }
- },
- "fontSizes": {
- "5xl": {
- "value": 48,
- "type": "fontSizes"
- },
- "4xl": {
- "value": 36,
- "type": "fontSizes"
- },
- "3xl": {
- "value": 30,
- "type": "fontSizes"
- },
- "2xl": {
- "value": 24,
- "type": "fontSizes"
- },
- "xl": {
- "value": 20,
- "type": "fontSizes"
- },
- "lg": {
- "value": 18,
- "type": "fontSizes"
- },
- "base": {
- "value": 16,
- "type": "fontSizes"
- },
- "sm": {
- "value": 14,
- "type": "fontSizes"
- },
- "xs": {
- "value": 12,
- "type": "fontSizes"
- },
- "6xl": {
- "value": 60,
- "type": "fontSizes"
- },
- "7xl": {
- "value": 72,
- "type": "fontSizes"
- },
- "8xl": {
- "value": 96,
- "type": "fontSizes"
- },
- "9xl": {
- "value": 128,
- "type": "fontSizes"
- }
- },
- "inner shadow label-copy": {
- "value": {
- "color": "#858585",
- "type": "innerShadow",
- "x": 0,
- "y": 1,
- "blur": 1,
- "spread": 0
- },
- "type": "boxShadow"
- },
- "inner-shadow-text-new": {
- "value": {
- "color": "#00000026",
- "type": "innerShadow",
- "x": 0,
- "y": 0.5,
- "blur": 0.5,
- "spread": 0
- },
- "type": "boxShadow"
- },
- "fontSize": {
- "0": {
- "value": 14,
- "type": "fontSizes"
- },
- "1": {
- "value": 39.063,
- "type": "fontSizes"
- },
- "2": {
- "value": 48.829,
- "type": "fontSizes"
- }
- },
- "textCase": {
- "none": {
- "value": "none",
- "type": "textCase"
- },
- "uppercase": {
- "value": "uppercase",
- "type": "textCase"
- }
- },
- "textDecoration": {
- "none": {
- "value": "none",
- "type": "textDecoration"
- }
- },
- "variables": {
- "colors": {
- "brand": {
- "primary": {
- "value": "#3ecf8e",
- "type": "color"
- },
- "accent": {
- "value": "#34b97d",
- "type": "color"
- }
- }
- }
- },
- "icon": {
- "xs": {
- "value": 12,
- "type": "sizing"
- },
- "sm": {
- "value": 16,
- "type": "sizing"
- },
- "md": {
- "value": 18,
- "type": "sizing"
- },
- "bg": {
- "value": 0.15,
- "type": "opacity",
- "description": "Transuclent bg of icons"
- }
- },
- "iconWidth": {
- "default": {
- "value": 1,
- "type": "borderWidth"
- }
- },
- "form": {
- "input-disabled": {
- "value": "33%",
- "type": "opacity"
- }
- },
- "Modal Drop Shadow": {
- "value": {
- "x": 1,
- "y": 4,
- "blur": 4,
- "spread": 4,
- "color": "#00000026",
- "type": "dropShadow"
- },
- "type": "boxShadow"
- },
- "panel": {
- "value": 2,
- "type": "borderRadius",
- "horizontal": {
- "value": "{spacing.lg}",
- "type": "spacing"
- },
- "vertical": {
- "value": "{spacing.lg}",
- "type": "spacing"
- }
- },
- "datatable": {
- "headericon": {
- "value": 16,
- "type": "sizing"
- },
- "rowheight": {
- "value": 28,
- "type": "sizing",
- "description": "Height of datatable rows"
- }
- },
- "options": {
- "icon": {
- "value": 18,
- "type": "sizing",
- "description": "Size of product/dropdown icons icons"
- }
- },
- "input": {
- "sm": {
- "height": {
- "value": 28,
- "type": "sizing"
- }
- }
- },
- "panel2": {
- "value": 4,
- "type": "borderRadius"
- },
- "base": {
- "value": 16,
- "type": "other"
- },
- "xxl": {
- "value": 128,
- "type": "spacing"
- },
- "actionBar": {
- "vertical": {
- "value": 21,
- "type": "spacing"
- },
- "horizontal": {
- "value": 32,
- "type": "spacing"
- }
- },
- "table": {
- "header": {
- "horizontal": {
- "value": 32,
- "type": "spacing"
- }
- }
- },
- "tabs": {
- "horizontal": {
- "value": 16,
- "type": "spacing"
- }
- },
- "content": {
- "vertical": {
- "value": 32,
- "type": "spacing"
- },
- "horizontal": {
- "value": 32,
- "type": "spacing"
- }
- },
- "controller": {
- "vertical": {
- "value": 16,
- "type": "spacing"
- }
- }
-}
\ No newline at end of file
diff --git a/packages/ui/styles/tokens/03_semantic/typography.json b/packages/ui/styles/tokens/03_semantic/typography.json
deleted file mode 100644
index af21c562f3e..00000000000
--- a/packages/ui/styles/tokens/03_semantic/typography.json
+++ /dev/null
@@ -1,359 +0,0 @@
-{
- "typography": {
- "H1": {
- "Bold": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.5xl}",
- "fontSize": "{fontSizes.5xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.1}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "Regular": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.5xl}",
- "fontSize": "{fontSizes.5xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.1}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- }
- },
- "H2": {
- "Bold": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.4xl}",
- "fontSize": "{fontSizes.4xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "Regular": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.4xl}",
- "fontSize": "{fontSizes.4xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- }
- },
- "H3": {
- "Bold": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.3xl}",
- "fontSize": "{fontSizes.3xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "Regular": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.3xl}",
- "fontSize": "{fontSizes.3xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- }
- },
- "H4": {
- "Bold": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.2xl}",
- "fontSize": "{fontSizes.2xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "Regular": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.2xl}",
- "fontSize": "{fontSizes.2xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "mono": {
- "value": {
- "fontFamily": "{fontFamilies.mono}",
- "fontWeight": "{fontWeights.heading-mono}",
- "textCase": "{textCase.uppercase}",
- "lineHeight": "{lineHeights.2xl}",
- "fontSize": "{fontSizes.2xl}",
- "letterSpacing": "{letterSpacing.1}",
- "textDecoration": "{textDecoration.none}",
- "paragraphSpacing": "{paragraphSpacing.0}"
- },
- "type": "typography"
- }
- },
- "H5": {
- "Bold": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.xl}",
- "fontSize": "{fontSizes.xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "Regular": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.xl}",
- "fontSize": "{fontSizes.xl}",
- "letterSpacing": "{letterSpacing.1}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- }
- },
- "body": {
- "base": {
- "normal": {
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.base}",
- "fontSize": "{fontSizes.base}",
- "letterSpacing": "{letterSpacing.default}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- },
- "mono": {
- "value": {
- "fontFamily": "{fontFamilies.mono}",
- "fontWeight": "{fontWeights.heading-mono}",
- "lineHeight": "{lineHeights.2xl}",
- "fontSize": "{fontSize.0}",
- "letterSpacing": "{letterSpacing.+8}",
- "textCase": "{textCase.uppercase}",
- "textDecoration": "{textDecoration.none}",
- "paragraphSpacing": "{paragraphSpacing.0}"
- },
- "type": "typography"
- }
- },
- "lg": {
- "normal": {
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.lg}",
- "fontSize": "{fontSizes.lg}",
- "letterSpacing": "{letterSpacing.default}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- }
- },
- "xs": {
- "normal": {
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.xs}",
- "fontSize": "{fontSizes.xs}",
- "letterSpacing": "{letterSpacing.default}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- },
- "code": {
- "header": {
- "value": {
- "fontFamily": "{fontFamilies.mono}",
- "fontWeight": "{fontWeights.inter-1}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.xs}",
- "letterSpacing": "{letterSpacing.increased}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- }
- }
- },
- "sm": {
- "normal": {
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.sm}",
- "letterSpacing": "{letterSpacing.default}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- },
- "code": {
- "header": {
- "value": {
- "fontFamily": "{fontFamilies.mono}",
- "fontWeight": "{fontWeights.bodyRegular}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.sm}",
- "letterSpacing": "{letterSpacing.increased}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- },
- "normal": {
- "value": {
- "fontFamily": "{fontFamilies.mono}",
- "fontWeight": "{fontWeights.bodyRegular}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.sm}",
- "letterSpacing": "{letterSpacing.default}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- }
- },
- "bullet-points": {
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.sm}",
- "letterSpacing": "{letterSpacing.default}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textDecoration": "{textDecoration.none}",
- "textCase": "{textCase.none}"
- },
- "type": "typography"
- }
- }
- },
- "button": {
- "xs": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.xs}",
- "fontSize": "{fontSizes.xs}",
- "letterSpacing": "{letterSpacing.0}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "sm": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.sm}",
- "letterSpacing": "{letterSpacing.0}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- }
- },
- "form": {
- "label": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.sm}",
- "letterSpacing": "{letterSpacing.0}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- },
- "label-secondary": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.sm}",
- "letterSpacing": "{letterSpacing.0}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- }
- },
- "table": {
- "header": {
- "type": "typography",
- "value": {
- "fontFamily": "{fontFamilies.body2}",
- "fontWeight": "{fontWeights.inter-2}",
- "lineHeight": "{lineHeights.sm}",
- "fontSize": "{fontSizes.xs}",
- "letterSpacing": "{letterSpacing.0}",
- "paragraphSpacing": "{paragraphSpacing.0}",
- "textCase": "{textCase.none}",
- "textDecoration": "{textDecoration.none}"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/studio/pages/_app.tsx b/studio/pages/_app.tsx
index 96d5f954a5d..c2e7841580c 100644
--- a/studio/pages/_app.tsx
+++ b/studio/pages/_app.tsx
@@ -1,3 +1,6 @@
+import '../../packages/ui/styles/themes/light.css'
+import '../../packages/ui/styles/themes/dark.css'
+
import 'styles/main.scss'
import 'styles/editor.scss'
import 'styles/ui.scss'
diff --git a/studio/styles/main.scss b/studio/styles/main.scss
index af41a26df17..ef990d4fe51 100644
--- a/studio/styles/main.scss
+++ b/studio/styles/main.scss
@@ -26,7 +26,7 @@ body,
margin: 0;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
- @apply bg-scale-200;
+ @apply bg-body;
@apply text-scale-1200;
}