diff --git a/apps/console/src/components/shared/sidebar/sidebar-nav/sidebar-nav.styles.tsx b/apps/console/src/components/shared/sidebar/sidebar-nav/sidebar-nav.styles.tsx
index e9b0ec3e..62546574 100644
--- a/apps/console/src/components/shared/sidebar/sidebar-nav/sidebar-nav.styles.tsx
+++ b/apps/console/src/components/shared/sidebar/sidebar-nav/sidebar-nav.styles.tsx
@@ -2,8 +2,8 @@ import { tv, type VariantProps } from 'tailwind-variants'
const sidebarNavStyles = tv({
slots: {
- nav: 'space-y-1 bg-ziggurat-100 dark:bg-oxford-blue-900 h-screen relative overflow-y-auto overflow-x-visible pt-24 pb-8 tracking-tighter',
- icon: 'h-5 w-5 text-java-400',
+ nav: 'space-y-1 bg-ziggurat-100 dark:bg-glaucous-950 h-screen relative overflow-y-auto overflow-x-visible pt-24 pb-8 tracking-tighter',
+ icon: 'h-5 w-5 text-glaucous-400',
linkLabel:
'font-normal absolute left-12 text-base text-nowrap duration-200',
accordionTrigger:
@@ -11,15 +11,14 @@ const sidebarNavStyles = tv({
link: 'font-sans px-4 py-2 group relative flex h-[2.2rem] justify-start items-center',
accordionItem: 'border-none ',
separator: '!my-4',
- heading:
- 'text-firefly-950 font-sans px-4 py-2 uppercase font-bold tracking-[0.42px] text-sm',
+ heading: 'text-glaucous-950 font-sans px-4 py-2 uppercase font-bold tracking-[0.42px] text-sm',
badgeCount:
'flex relative ml-40 pt-px justify-center bg-aquamarine-400 text-[14px] font-semibold rounded-[6px] w-[22px] h-[22px] text-white',
},
variants: {
isCurrent: {
true: {
- link: 'rounded-md bg-aquamarine-400 font-bold hover:bg-muted dark:bg-aquamarine-400 dark:text-firefly-950',
+ link: 'rounded-md bg-firefly-400 font-bold hover:bg-muted dark:bg-firefly-400 dark:text-glaucous-950',
badgeCount:
'flex relative ml-40 pt-px justify-center bg-ziggurat-100 dark:bg-oxford-blue-900 text-[14px] font-semibold rounded-[6px] w-[22px] h-[22px] text-firefly-950 dark:text-white',
},
diff --git a/apps/console/src/components/shared/sidebar/sidebar.styles.tsx b/apps/console/src/components/shared/sidebar/sidebar.styles.tsx
index 374fb844..b8ac7f27 100644
--- a/apps/console/src/components/shared/sidebar/sidebar.styles.tsx
+++ b/apps/console/src/components/shared/sidebar/sidebar.styles.tsx
@@ -2,10 +2,10 @@ import { tv, type VariantProps } from 'tailwind-variants'
const sidebarStyles = tv({
slots: {
- nav: 'relative hidden h-screen border-oxford-blue-200 bg-ziggurat-100 text-firefly-950 border-oxford-blue-200 md:block w-[57px] dark:bg-oxford-blue-900 dark:border-oxford-blue-200 dark:text-ziggurat-200',
+ nav: 'relative hidden h-screen border-oxford-blue-200 bg-ziggurat-100 text-firefly-950 border-oxford-blue-200 md:block w-[57px] dark:bg-glaucous-950 dark:border-oxford-blue-200 dark:text-ziggurat-200',
navInner: 'relative overflow-scroll',
expandNav:
- 'absolute z-50 gap-1 flex items-center justify-center bg-ziggurat-100 -right-[58px] w-[58px] h-[42px] bottom-0 cursor-pointer rounded-tr-lg border border-oxford-blue-200 border-b-0 text-3xl text-java-400 dark:bg-oxford-blue-900 dark:border-oxford-blue-200',
+ 'absolute z-50 gap-1 flex items-center justify-center bg-ziggurat-100 -right-[58px] w-[58px] h-[42px] bottom-0 cursor-pointer rounded-tr-lg border border-oxford-blue-200 border-b-0 text-3xl text-java-400 dark:bg-glaucous-950 dark:border-oxford-blue-200',
expandNavIcon: 'rotate-180',
sideNav:
'text-background text-sm bg-oxford-blue-900 left-8 opacity-0 transition-all duration-300 group-hover:z-50 group-hover:ml-4 group-hover:rounded group-hover:bg-foreground group-hover:p-2 group-hover:opacity-100',
diff --git a/apps/storybook/package.json b/apps/storybook/package.json
index 96f765c6..315e379d 100644
--- a/apps/storybook/package.json
+++ b/apps/storybook/package.json
@@ -13,11 +13,11 @@
"dependencies": {
"@radix-ui/react-icons": "^1.3.0",
"@repo/ui": "workspace:*",
- "lucide-react": "^0.454.0",
+ "lucide-react": "^0.462.0",
"react": "18.3.12",
"react-dom": "18.3.1",
"react-hook-form": "^7.51.2",
- "survey-react-ui": "^1.12.8",
+ "survey-react-ui": "^1.12.12",
"survey-creator-react": "^1.12.8"
},
"devDependencies": {
diff --git a/packages/tailwind-config/tailwind.config.ts b/packages/tailwind-config/tailwind.config.ts
index 04ca6fb3..832e735c 100644
--- a/packages/tailwind-config/tailwind.config.ts
+++ b/packages/tailwind-config/tailwind.config.ts
@@ -28,12 +28,12 @@ export const config: Omit
= {
heading: '-0.038rem',
},
colors: {
- aquamarine: { // bright green, button styles
+ aquamarine: {
'50': '#e8fff9',
'100': '#c8ffef',
'200': '#96ffe4',
'300': '#53ffdd',
- '400': '#09f1c7', // button color
+ '400': '#09f1c7', // light: button color
'500': '#00deb7',
'600': '#00b696',
'700': '#00927d',
@@ -42,45 +42,73 @@ export const config: Omit = {
'950': '#003531',
},
java: {
- '50': '#f2fbfa',
- '100': '#d3f4ef',
- '200': '#a7e8df',
- '300': '#74d4cc',
- '400': '#59c1bb', // brand 2 from marketing site
- '500': '#2d9f9a',
- '600': '#227f7d',
- '700': '#1f6666',
- '800': '#1d5152',
- '900': '#1c4545',
- '950': '#0b2628',
+ '50': '#f2fbfa',
+ '100': '#d3f4ef',
+ '200': '#a7e8df',
+ '300': '#74d4cc',
+ '400': '#59c1bb', // marketing: brand 2 color
+ '500': '#2d9f9a',
+ '600': '#227f7d',
+ '700': '#1f6666',
+ '800': '#1d5152',
+ '900': '#1c4545',
+ '950': '#0b2628',
+ },
+ // dark green background from marketing site
+ firefly: {
+ '50': '#edfefd',
+ '100': '#d1fcfb',
+ '200': '#a9f8f7',
+ '300': '#6ef1f2', // button color
+ '400': '#2ce0e4',
+ '500': '#10c3ca',
+ '600': '#109daa',
+ '700': '#147d8a',
+ '800': '#1a6570',
+ '900': '#1a535f',
+ '950': '#082930', // light: text color
},
ziggurat: {
- '50': '#f5f9fa',
- '100': '#e9f1f5', // background color in light mode
- '200': '#bdd9e1', // font color in dark mode
- '300': '#a3cbd6',
- '400': '#72b0be',
- '500': '#5097a7',
- '600': '#3d7b8c',
- '700': '#336371',
- '800': '#2d545f',
- '900': '#2a4750', // background of panels/tables/etc. in dark mode
- '950': '#1c2e35',
+ '50': '#f5f9fa',
+ '100': '#e9f1f5', // light: background color
+ '200': '#bdd9e1',
+ '300': '#a3cbd6',
+ '400': '#72b0be',
+ '500': '#5097a7',
+ '600': '#3d7b8c',
+ '700': '#336371',
+ '800': '#2d545f',
+ '900': '#2a4750',
+ '950': '#1c2e35',
+ },
+ 'oxford-blue': {
+ '50': '#f2f7f9',
+ '100': '#dfeaee',
+ '200': '#c2d7df',
+ '300': '#98bac8',
+ '400': '#6694aa',
+ '500': '#4b788f',
+ '600': '#416379',
+ '700': '#395365',
+ '800': '#354755',
+ '900': '#303e4a', // dark: background color
+ '950': '#1c2630',
},
- firefly: { // dark green background from marketing site
- '50': '#edfefd',
- '100': '#d1fcfb',
- '200': '#a9f8f7',
- '300': '#6ef1f2',
- '400': '#2ce0e4',
- '500': '#10c3ca',
- '600': '#109daa',
- '700': '#147d8a',
- '800': '#1a6570',
- '900': '#1a535f',
- '950': '#082930', // font color in light mode
+ glaucous: {
+ '50': '#E2E7EE',
+ '100': '#D1D9E5',
+ '200': '#B4C1D5',
+ '300': '#93A6C2',
+ '400': '#768EB2',
+ '500': '#5A76A0',
+ '600': '#4A6082',
+ '700': '#374862',
+ '800': '#273344',
+ '900': '#161D27', // dark: panel background color
+ '950': '#0D1117', // dark: background color
},
- 'river-bed': { // icon font color
+ 'river-bed': {
+ // icon font color
'50': '#f4f6f7',
'100': '#e3e8ea',
'200': '#c9d2d8',
@@ -92,31 +120,44 @@ export const config: Omit = {
'800': '#3d444d',
'900': '#363b43',
'950': '#21252b',
- },
- 'oxford-blue': {
- '50': '#f2f7f9',
- '100': '#dfeaee',
- '200': '#c2d7df',
- '300': '#98bac8',
- '400': '#6694aa',
- '500': '#4b788f',
- '600': '#416379',
- '700': '#395365',
- '800': '#354755',
- '900': '#303e4a', // background color in dark mode
- '950': '#1c2630',
},
- 'util-red': {
- 900: '#771D1D',
- 800: '#9B1C1C',
- 700: '#C81E1E',
- 600: '#E02424',
- 500: '#F05252',
- 400: '#F98080',
- 300: '#F8B4B4',
- 200: '#FBD5D5',
- 100: '#FDE8E8',
- 50: '#FDF2F2',
+ neutral: {
+ '50': '#f1f7f9',
+ '100': '#e1ecef',
+ '200': '#c5d7dd',
+ '300': '#aabec5', // dark: paragraph font color
+ '400': '#92a4aa',
+ '500': '#828a8c',
+ '600': '#6e6e6e',
+ '700': '#575757',
+ '800': '#3d3d3d', // light: paragraph font color
+ '900': '#242424',
+ '950': '#1a1a1a',
+ },
+ saffron: {
+ '50': '#FEFBF1',
+ '100': '#FDF5DD',
+ '200': '#FBEABC',
+ '300': '#F9E19F',
+ '400': '#F7D77D',
+ '500': '#F5CB5C',
+ '600': '#F1B91D',
+ '700': '#C0900C',
+ '800': '#7D5E08',
+ '900': '#3E2F04',
+ '950': '#221902',
+ },
+ red: {
+ '50': '#fdf2f2',
+ '100': '#fde8e8',
+ '200': '#fbd5d5',
+ '300': '#f8b4b4',
+ '400': '#f98080',
+ '500': '#f05252',
+ '600': '#e02424',
+ '700': '#c81e1e',
+ '800': '#9b1c1c',
+ '900': '#771d1d',
},
},
fontFamily: {
diff --git a/packages/ui/src/avatar/avatar.styles.tsx b/packages/ui/src/avatar/avatar.styles.tsx
index 31edd450..ec1d58d3 100644
--- a/packages/ui/src/avatar/avatar.styles.tsx
+++ b/packages/ui/src/avatar/avatar.styles.tsx
@@ -3,7 +3,7 @@ import { tv, type VariantProps } from 'tailwind-variants'
export const avatarStyles = tv({
slots: {
avatarImageWrap:
- 'relative flex h-11 w-11 shrink-0 overflow-hidden border-none rounded-md p-0',
+ 'relative flex h-8 w-8 shrink-0 overflow-hidden border-none rounded-md p-0',
avatarImage: 'aspect-square h-full w-full',
avatarFallBack:
'uppercase flex h-full w-full items-center justify-center rounded-md bg-aquamarine-400 text-white',
diff --git a/packages/ui/src/button/button.styles.tsx b/packages/ui/src/button/button.styles.tsx
index 8b2e8f7f..648b3841 100644
--- a/packages/ui/src/button/button.styles.tsx
+++ b/packages/ui/src/button/button.styles.tsx
@@ -14,7 +14,7 @@ export const buttonStyles = tv({
},
variants: {
variant: {
- aquamarine: '!bg-aquamarine-400 hover:!opacity-90',
+ aquamarine: 'bg-firefly-300 dark:bg-firefly-300 hover:!opacity-90',
outline:
'border-java-800 text-oxford-blue-800 dark:text-oxford-blue-100 dark:border-java-100 border hover:!opacity-90',
outlineLight:
@@ -24,7 +24,7 @@ export const buttonStyles = tv({
outlineInputPadding:
'border-java-500 text-oxford-blue-800 mx-1 dark:text-oxford-blue-100 dark:border-java-100 border hover:!opacity-90',
redOutline:
- 'border-util-red-500 text-util-red-500 border bg-white hover:!opacity-90 dark:border-util-red-500 dark:text-util-red-500',
+ 'border-red-500 text-red-500 border bg-white hover:!opacity-90 dark:border-red-500 dark:text-red-500',
white: {},
success: 'flex-row-reverse !bg-aquamarine-600 hover:!opacity-90',
},
diff --git a/packages/ui/src/dialog/dialog.styles.tsx b/packages/ui/src/dialog/dialog.styles.tsx
index 7ee51f43..09b106ed 100644
--- a/packages/ui/src/dialog/dialog.styles.tsx
+++ b/packages/ui/src/dialog/dialog.styles.tsx
@@ -5,7 +5,7 @@ export const dialogStyles = tv({
overlay:
'text-left fixed inset-0 z-50 bg-java-900/70 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
content:
- 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-ziggurat-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg dark:border-ziggurat-800 dark:bg-ziggurat-900',
+ 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-ziggurat-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg dark:border-ziggurat-800 dark:bg-glaucous-900',
close:
'absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ziggurat-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-ziggurat-100 data-[state=open]:text-ziggurat-500 dark:ring-offset-ziggurat-950 dark:focus:ring-ziggurat-300 dark:data-[state=open]:bg-ziggurat-800 dark:data-[state=open]:text-ziggurat-400',
closeIcon: 'h-4 w-4',
diff --git a/packages/ui/src/dropdown-menu/dropdown-menu.styles.tsx b/packages/ui/src/dropdown-menu/dropdown-menu.styles.tsx
index e752fafc..72550a0d 100644
--- a/packages/ui/src/dropdown-menu/dropdown-menu.styles.tsx
+++ b/packages/ui/src/dropdown-menu/dropdown-menu.styles.tsx
@@ -10,7 +10,7 @@ export const dropdownMenuStyles = tv({
subContent:
'z-50 min-w-72 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
menuContent:
- 'font-sans z-50 min-w-72 px-6 py-6 overflow-hidden rounded-md border border-oxford-blue-200 bg-white dark:bg-ziggurat-900 text-popover-foreground shadow-popover data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ 'font-sans z-50 min-w-72 px-6 py-6 overflow-hidden rounded-md border border-oxford-blue-200 bg-white dark:bg-glaucous-900 text-popover-foreground shadow-popover data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
menuItem:
'relative flex cursor-default select-none items-center gap-3 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
menuCheckboxItem:
diff --git a/packages/ui/src/form/form.styles.tsx b/packages/ui/src/form/form.styles.tsx
index 3d7232f4..478d450b 100644
--- a/packages/ui/src/form/form.styles.tsx
+++ b/packages/ui/src/form/form.styles.tsx
@@ -5,9 +5,9 @@ export const formStyles = tv({
formItem: 'space-y-2',
formLabelError: '',
formDescription: 'text-sm',
- formMessageIcon: 'text-util-red-400',
+ formMessageIcon: 'text-red-400',
formMessage:
- 'text-util-red-500 rounded p-[14px] bg-util-red-100 flex items-center gap-4 !mt-5',
+ 'text-red-500 rounded p-[14px] bg-red-100 flex items-center gap-4 !mt-5',
},
})
diff --git a/packages/ui/src/icons/chevron-down.tsx b/packages/ui/src/icons/chevron-down.tsx
index dab55331..66cf1000 100644
--- a/packages/ui/src/icons/chevron-down.tsx
+++ b/packages/ui/src/icons/chevron-down.tsx
@@ -10,7 +10,7 @@ export const ChevronDown = () => (
>
)
diff --git a/packages/ui/src/input/input.styles.tsx b/packages/ui/src/input/input.styles.tsx
index f51004f8..9759c8a6 100644
--- a/packages/ui/src/input/input.styles.tsx
+++ b/packages/ui/src/input/input.styles.tsx
@@ -3,7 +3,7 @@ import { tv, type VariantProps } from 'tailwind-variants'
export const inputStyles = tv({
slots: {
input:
- 'flex h-12 w-full rounded-md border font-sans autofill:bg-white autofill:text-firefly-950 autofill:font-sans border-oxford-blue-200 bg-transparent px-3 py-none text-base transition-colors file:border-0 file:bg-transparent file:text-base file:font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-firefly-100 disabled:cursor-not-allowed disabled:opacity-50',
+ 'flex h-12 w-full rounded-md border font-sans autofill:bg-white autofill:text-firefly-950 autofill:font-sans border-oxford-blue-200 bg-transparent px-3 py-none text-base transition-colors file:border-0 file:bg-transparent file:text-base file:font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-firefly-100 disabled:cursor-not-allowed disabled:opacity-50 dark:placeholder-ziggurat-400',
inputWrapper: 'relative flex items-center',
iconWrapper:
'absolute z-20 text-firefly-500 top-1/2 -translate-y-1/2 right-4',
diff --git a/packages/ui/src/panel/panel.styles.tsx b/packages/ui/src/panel/panel.styles.tsx
index 26817395..404005d1 100644
--- a/packages/ui/src/panel/panel.styles.tsx
+++ b/packages/ui/src/panel/panel.styles.tsx
@@ -3,7 +3,7 @@ import { tv, type VariantProps } from 'tailwind-variants'
export const panelStyles = tv({
slots: {
panel:
- 'flex flex-col border w-full rounded-lg bg-white dark:bg-ziggurat-900 border-oxford-blue-200 p-9',
+ 'flex flex-col border w-full rounded-lg bg-white border-oxford-blue-200 dark:bg-glaucous-900 dark:border-oxford-blue-700 p-9',
icon: '',
iconRow: 'flex gap-6',
contentColumn: 'flex-1 flex flex-col gap-5',
@@ -39,7 +39,7 @@ export const panelStyles = tv({
destructive: {
true: {
panel:
- 'bg-util-red-100 text-red-500 border-none dark:bg-util-red-100 dark:border-none',
+ 'bg-red-100 text-red-500 border-none dark:bg-red-100 dark:border-none',
},
},
},
diff --git a/packages/ui/src/select/select.styles.tsx b/packages/ui/src/select/select.styles.tsx
index 942d14f1..ece3d339 100644
--- a/packages/ui/src/select/select.styles.tsx
+++ b/packages/ui/src/select/select.styles.tsx
@@ -3,11 +3,11 @@ import { tv, type VariantProps } from 'tailwind-variants'
export const selectStyles = tv({
slots: {
trigger:
- 'flex h-10 w-full items-center justify-between rounded-md border border-java-400 bg-white dark:bg-ziggurat-900 px-3 py-2 text-sm ring-offset-white placeholder:text-ziggurat-500 focus:outline-none focus:ring-2 focus:ring-ziggurat-950 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 dark:border-ziggurat-800 dark:ring-offset-ziggurat-950 dark:placeholder:text-ziggurat-400 dark:focus:ring-ziggurat-300',
+ 'flex h-10 w-full items-center justify-between rounded-md border border-java-400 bg-white dark:bg-glaucous-900 px-3 py-2 text-sm ring-offset-white placeholder:text-ziggurat-500 focus:outline-none focus:ring-2 focus:ring-ziggurat-950 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 dark:border-ziggurat-800 dark:ring-offset-ziggurat-950 dark:placeholder:text-ziggurat-400 dark:focus:ring-ziggurat-300',
icon: 'h-4 w-4 opacity-50',
scrollButton: 'flex cursor-default items-center justify-center py-1',
content:
- 'relative z-50 max-h-96 overflow-hidden rounded-md border border-ziggurat-200 bg-white text-ziggurat-950 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-java-400 dark:bg-ziggurat-900 dark:text-ziggurat-200',
+ 'relative z-50 max-h-96 overflow-hidden rounded-md border border-ziggurat-200 bg-white text-ziggurat-950 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-java-400 dark:bg-glaucous-900 dark:text-ziggurat-200',
viewport:
'p-1 data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1 h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',
label: 'py-1.5 pl-8 pr-2 text-sm font-semibold',
diff --git a/packages/ui/src/slider/slider.styles.ts b/packages/ui/src/slider/slider.styles.ts
index f61c3457..b99ad985 100644
--- a/packages/ui/src/slider/slider.styles.ts
+++ b/packages/ui/src/slider/slider.styles.ts
@@ -7,6 +7,6 @@ export const sliderStyles = tv({
'relative h-2 w-full grow overflow-hidden rounded-full bg-java-800 dark:bg-ziggurat-800',
range: 'absolute h-full bg-ziggurat-900 dark:bg-ziggurat-50',
thumb:
- 'block h-5 w-5 rounded-full border-2 border-ziggurat-900 bg-white ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ziggurat-900 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:border-ziggurat-50 dark:bg-ziggurat-900 dark:ring-offset-ziggurat-900 dark:focus-visible:ring-ziggurat-300',
+ 'block h-5 w-5 rounded-full border-2 border-ziggurat-900 bg-white ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ziggurat-900 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:border-ziggurat-50 dark:bg-glaucous-900 dark:ring-offset-ziggurat-900 dark:focus-visible:ring-ziggurat-300',
},
})
diff --git a/packages/ui/src/table/table.styles.tsx b/packages/ui/src/table/table.styles.tsx
index a3932e3d..1e6fd03a 100644
--- a/packages/ui/src/table/table.styles.tsx
+++ b/packages/ui/src/table/table.styles.tsx
@@ -2,14 +2,14 @@ import { tv, type VariantProps } from 'tailwind-variants'
export const tableStyles = tv({
slots: {
- container: 'relative w-full overflow-auto border rounded-lg',
- table: 'w-full caption-bottom font-sans bg-white dark:bg-ziggurat-900',
+ container: 'relative w-full overflow-auto border dark:border-oxford-blue-700 rounded-lg',
+ table: 'w-full caption-bottom font-sans bg-white dark:bg-glaucous-900',
tableHeader: '[&_tr]:border-b text-left',
tableBody: '[&_tr:last-child]:border-0',
tableFooter:
- 'p-1 border-oxford-blue-200 font-medium [&>tr]:last:border-b-0 ',
+ 'p-1 border-oxford-blue-200 dark:border-oxford-blue-700 font-medium [&>tr]:last:border-b-0 ',
tableRow:
- 'border-b border-oxford-blue-200 transition-colors data-[state=selected]:bg-java-500',
+ 'border-b border-oxford-blue-200 dark:border-oxford-blue-700 transition-colors data-[state=selected]:bg-java-500',
tableHead:
'h-12 px-4 text-left align-middle font-medium text-java-500 [&:has([role=checkbox])]:pr-0 dark:text-ziggurat-400',
tableCell:
diff --git a/packages/ui/src/tabs/tabs.styles.tsx b/packages/ui/src/tabs/tabs.styles.tsx
index 91f69c39..0bce5f74 100644
--- a/packages/ui/src/tabs/tabs.styles.tsx
+++ b/packages/ui/src/tabs/tabs.styles.tsx
@@ -16,7 +16,7 @@ const tabsStyles = tv({
'flex-1 items-center justify-center whitespace-nowrap px-3 py-2 font-sans border-b border-ziggurat-900 ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:border-aquamarine-900 data-[state=active]:border-b-2 data-[state=active]:text-aquamarine-900',
},
solid: {
- tabsList: 'rounded-md bg-white dark:bg-ziggurat-900 p-[10px] items-start',
+ tabsList: 'rounded-md bg-white dark:bg-glaucous-900 p-[10px] items-start',
tabsTrigger:
'py-[15px] px-5 rounded-[5px] border border-transparent data-[state=active]:bg-aquamarine-400 data-[state=active]:text-firefly-950',
tabsContent: 'mt-[26px]',
diff --git a/packages/ui/src/toast/toast.styles.tsx b/packages/ui/src/toast/toast.styles.tsx
index 9a49161a..faee6510 100644
--- a/packages/ui/src/toast/toast.styles.tsx
+++ b/packages/ui/src/toast/toast.styles.tsx
@@ -7,9 +7,9 @@ export const toastStyles = tv({
toast:
'group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border border-ziggurat-200 p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:tranziggurat-x-0 data-[swipe=end]:tranziggurat-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:tranziggurat-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full dark:border-ziggurat-800',
toastDefault:
- 'border bg-white text-firefly-950 dark:bg-ziggurat-900 dark:text-ziggurat-200',
+ 'border bg-white text-firefly-950 dark:bg-glaucous-900 dark:text-ziggurat-200',
toastDestructive:
- 'destructive group border-util-red-300 bg-util-red-100 text-util-red-500 dark:border-util-red-300 dark:bg-util-red-100 dark:text-util-red-500',
+ 'destructive group border-red-300 bg-red-100 text-red-500 dark:border-red-300 dark:bg-red-100 dark:text-red-500',
toastSuccess:
'group border-aquamarine-600 bg-aquamarine-300 text-aquamarine-800 dark:border-aquamarine-200 dark:bg-aquamarine-100 dark:text-aquamarine-500',
action: