The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
remove old config
Jonathan Summers-Muirb89ec2edb446
diff --git a/packages/config/ui.config.js b/packages/config/ui.config.jsindex f5b7888dcaf..96cf6ae71a7 100644--- a/packages/config/ui.config.js+++ b/packages/config/ui.config.js@@ -382,27 +382,6 @@ const uiConfig = {values: flattenColorPalette(theme('backgroundColor')),type: 'color',}- ),- matchUtilities(- {- bordershadow: (value) => {- return {- boxShadow: `- var(--colors-blackA1) 0px 0px 0px 0px,- var(--colors-blackA1) 0px 0px 0px 0px,- var(--colors-blackA8) 0px 1px 1px 0px,- ${value} 0px 0px 0px 1px,- var(--colors-blackA1) 0px 0px 0px 0px,- var(--colors-blackA1) 0px 0px 0px 0px,- rgb(64 68 82 / 8%) 0px 2px 5px 0px;- `,- }- },- },- {- values: flattenColorPalette(theme('backgroundColor')),- type: 'color',- })},require('tailwindcss-radix')(),diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsxindex 5fe78850166..97363623f97 100644--- a/packages/ui/src/components/Button/Button.tsx+++ b/packages/ui/src/components/Button/Button.tsx@@ -18,49 +18,51 @@ const buttonVariants = cva(font-regularease-outduration-200- rounded+ rounded-mdoutline-nonetransition-alloutline-0focus-visible:outline-4- focus-visible:outline-offset-1`,+ focus-visible:outline-offset-1+ border+ `,{variants: {type: {primary: `bg-brand-fixed-1100 hover:bg-brand-fixed-1000text-white- bordershadow-brand-fixed-1000 hover:bordershadow-brand-fixed-900 dark:bordershadow-brand-fixed-1000 dark:hover:bordershadow-brand-fixed-1000+ border-brand-fixed-1000 hover:border-brand-fixed-900 dark:border-brand-fixed-1000 dark:hover:border-brand-fixed-1000focus-visible:outline-brand-600shadow-sm`,secondary: `bg-scale-1200text-scale-100 hover:text-scale-800focus-visible:text-scale-600- bordershadow-scale-1100 hover:bordershadow-scale-900+ border-scale-1100 hover:border-scale-900focus-visible:outline-scale-700shadow-sm`,default: `text-scale-1200bg-scale-100 hover:bg-scale-300- bordershadow-scale-600 hover:bordershadow-scale-700- dark:bordershadow-scale-700 hover:dark:bordershadow-scale-800+ border-scale-600 hover:border-scale-700+ dark:border-scale-700 hover:dark:border-scale-800dark:bg-scale-500 dark:hover:bg-scale-600focus-visible:outline-brand-600shadow-sm`,alternative: `text-brand-1100bg-brand-200 hover:bg-brand-400- bordershadow-brand-600 hover:bordershadow-brand-800- dark:bordershadow-brand-700 hover:dark:bordershadow-brand-800+ border-brand-600 hover:border-brand-800+ dark:border-brand-700 hover:dark:border-brand-800focus-visible:border-brand-800focus-visible:outline-brand-600shadow-sm`,outline: `text-scale-1200bg-transparent- bordershadow-scale-600 hover:bordershadow-scale-700- dark:bordershadow-scale-800 hover:dark:bordershadow-scale-900+ border-scale-600 hover:border-scale-700+ dark:border-scale-800 hover:dark:border-scale-900focus-visible:outline-scale-700`,dashed: `text-scale-1200@@ -87,7 +89,7 @@ const buttonVariants = cva(danger: `text-red-1100bg-red-200- bordershadow-red-700 hover:bordershadow-red-900+ border-red-700 hover:border-red-900hover:bg-red-900hover:text-lo-contrastfocus-visible:outline-red-700@@ -95,7 +97,7 @@ const buttonVariants = cva(warning: `text-amber-1100bg-amber-200- bordershadow-amber-700 hover:bordershadow-amber-900+ border-amber-700 hover:border-amber-900hover:bg-amber-900hover:text-hi-contrastfocus-visible:outline-amber-700diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.tsindex e60139d052e..631e3d2437b 100644--- a/packages/ui/src/lib/theme/defaultTheme.ts+++ b/packages/ui/src/lib/theme/defaultTheme.ts@@ -410,121 +410,6 @@ export default {content: `focus:outline-none transition-height`,},- /*- * Button- */-- // button: {- // base : 'border border-4'- // }-- button: {- base: `- relative- cursor-pointer- inline-flex items-center space-x-2- text-center- font-regular- transition ease-out duration-200- rounded- ${defaults['focus-visible']}-- `,- label: `truncate`,- container: 'inline-flex font-medium',- type: {- primary: `- bg-brand-fixed-1100 hover:bg-brand-fixed-1000- text-white- bordershadow-brand-fixed-1000 hover:bordershadow-brand-fixed-900 dark:bordershadow-brand-fixed-1000 dark:hover:bordershadow-brand-fixed-1000- focus-visible:outline-brand-600- `,- secondary: `- bg-scale-1200- text-scale-100 hover:text-scale-800- focus-visible:text-scale-600-- bordershadow-scale-1100 hover:bordershadow-scale-900-- focus-visible:outline-scale-700- `,- default: `- text-scale-1200- bg-scale-100 hover:bg-scale-300- bordershadow-scale-600 hover:bordershadow-scale-700- dark:bordershadow-scale-700 hover:dark:bordershadow-scale-800- dark:bg-scale-500 dark:hover:bg-scale-600- focus-visible:outline-brand-600-- `,- alternative: `- text-brand-1100- bg-brand-200 hover:bg-brand-400- bordershadow-brand-600 hover:bordershadow-brand-800- dark:bordershadow-brand-700 hover:dark:bordershadow-brand-800- focus-visible:border-brand-800- focus-visible:outline-brand-600- `,- outline: `- text-scale-1200- bg-transparent- bordershadow-scale-600 hover:bordershadow-scale-700- dark:bordershadow-scale-800 hover:dark:bordershadow-scale-900- focus-visible:outline-scale-700- `,- dashed: `- text-scale-1200- border- border-dashed- border-scale-700 hover:border-scale-900- bg-transparent- focus-visible:outline-scale-700- `,- link: `- text-brand-1100- border- border-transparent- hover:bg-brand-400- border-opacity-0- bg-opacity-0 dark:bg-opacity-0- shadow-none- focus-visible:outline-scale-700- `,- text: `- text-scale-1200- hover:bg-scale-500- shadow-none- focus-visible:outline-scale-700- `,- danger: `- text-red-1100- bg-red-200- bordershadow-red-700 hover:bordershadow-red-900- hover:bg-red-900- hover:text-lo-contrast- focus-visible:outline-red-700- `,- warning: `- text-amber-1100- bg-amber-200- bordershadow-amber-700 hover:bordershadow-amber-900- hover:bg-amber-900- hover:text-hi-contrast- focus-visible:outline-amber-700- `,- },- block: 'w-full flex items-center justify-center',- shadow: 'shadow-sm',- size: {- ...default__padding_and_text,- },- loading: 'animate-spin',- // disabled prefix is disabled (lol..) by default in tailwind- // so we apply normal utilities instead, however you can add disabled prefixes if you enabled them in tailwind config.- // see more: https://tailwindcss.com/docs/hover-focus-and-other-states#disabled- disabled: 'opacity-50 cursor-not-allowed pointer-events-none',- },-/** Input*/