-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui/storybook-host): add dark mode with cuhacking logo
- Loading branch information
1 parent
54a947d
commit 6a38a85
Showing
5 changed files
with
459 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
@config '../../../apps/website/tailwind.config.ts'; | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
/*Easily customize theme: https://zippystarter.com/tools/shadcn-ui-theme-generator*/ | ||
/*Explore the Shadcn/ui ecosystem: https://github.com/birobirobiro/awesome-shadcn-ui*/ | ||
|
||
/*'primary': '#00A3E0',*/ | ||
/*'primary-content': '#000a12',*/ | ||
/*'secondary': '#00629b',*/ | ||
/*'secondary-content': '#d0dfec',*/ | ||
/*'accent': '#FFD100',*/ | ||
/*'accent-content': '#161000',*/ | ||
/*'neutral': '#00843d',*/ | ||
/*'neutral-content': '#d3e6d7',*/ | ||
/*// "base-100": "#002855",*/ | ||
/*'base-100': '#000000',*/ | ||
/*'base-200': '#002149',*/ | ||
/*'base-300': '#001b3d',*/ | ||
/*'base-content': '#c8d1dc',*/ | ||
/*'info': '#009CA6',*/ | ||
/*'info-content': '#00090a',*/ | ||
/*'success': '#78be21',*/ | ||
/*'success-content': '#050d00',*/ | ||
/*'warning': '#ffa400',*/ | ||
/*'warning-content': '#160a00',*/ | ||
/*'error': '#BA0C2F',*/ | ||
/*'error-content': '#f8d4d3',*/ | ||
|
||
@layer base { | ||
:root { | ||
--background: 196 100% 95%; | ||
/* hsl(196, 100%, 95%) */ | ||
--foreground: 196 5% 0%; | ||
/* hsl(196, 5%, 0%) */ | ||
--card: 196 50% 90%; | ||
/* hsl(196, 50%, 90%) */ | ||
--card-foreground: 196 5% 10%; | ||
/* hsl(196, 5%, 10%) */ | ||
--popover: 196 100% 95%; | ||
/* hsl(196, 100%, 95%) */ | ||
--popover-foreground: 196 100% 0%; | ||
/* hsl(196, 100%, 0%) */ | ||
|
||
--primary: 196 100% 43.9%; | ||
/* hsl(196, 100%, 43.9%) */ | ||
--primary-foreground: 0 0% 100%; | ||
/* hsl(0, 0%, 100%) */ | ||
--auxiliary: 203, 100%, 37%; | ||
/* hsl(203, 100%, 37%) */ | ||
--auxiliary-foreground: 213, 13%, 91%; | ||
/* hsl(213, 13%, 91%) */ | ||
--tertiary: 52, 100%, 50%; | ||
/* hsl(52, 100%, 50%) */ | ||
--tertiary-foreground: 60, 4%, 9%; | ||
/* hsl(60, 4%, 9%) */ | ||
--neutral: 143, 100%, 26%; | ||
/* hsl(143, 100%, 26%) */ | ||
--neutral-foreground: 141, 13%, 85%; | ||
/* hsl(141, 13%, 85%) */ | ||
/*// "base-100": "#002855",*/ | ||
/*'base-100': '#000000',*/ | ||
/*'base-200': '#002149',*/ | ||
/*'base-300': '#001b3d',*/ | ||
/*'base-content': '#c8d1dc',*/ | ||
--info: 183, 100%, 33%; | ||
/* hsl(183, 100%, 33%) */ | ||
--info-foreground: 180, 100%, 3%; | ||
/* hsl(180, 100%, 3%) */ | ||
--success: 83, 100%, 25%; | ||
/* hsl(83, 100%, 25%) */ | ||
--success-foreground: 120, 100%, 2%; | ||
/* hsl(120, 100%, 2%) */ | ||
--warning: 38, 100%, 50%; | ||
/* hsl(38, 100%, 50%) */ | ||
--warning-foreground: 30, 100%, 5%; | ||
/* hsl(30, 100%, 5%) */ | ||
|
||
--secondary: 196 30% 70%; | ||
/* hsl(196, 30%, 70%) */ | ||
--secondary-foreground: 0 0% 0%; | ||
/* hsl(0, 0%, 0%) */ | ||
--muted: 158 30% 85%; | ||
/* hsl(158, 30%, 85%) */ | ||
--muted-foreground: 196 5% 35%; | ||
/* hsl(196, 5%, 35%) */ | ||
--accent: 158 30% 80%; | ||
/* hsl(158, 30%, 80%) */ | ||
--accent-foreground: 196 5% 10%; | ||
/* hsl(196, 5%, 10%) */ | ||
--destructive: 0 100% 30%; | ||
/* hsl(0, 100%, 30%) */ | ||
--destructive-foreground: 196 5% 90%; | ||
/* hsl(196, 5%, 90%) */ | ||
--border: 196 30% 50%; | ||
/* hsl(196, 30%, 50%) */ | ||
--input: 196 30% 18%; | ||
/* hsl(196, 30%, 18%) */ | ||
--ring: 196 100% 43.9%; | ||
/* hsl(196, 100%, 43.9%) */ | ||
--radius: 0.75rem; | ||
--chart-1: 12 76% 61%; | ||
/* hsl(12, 76%, 61%) */ | ||
--chart-2: 173 58% 39%; | ||
/* hsl(173, 58%, 39%) */ | ||
--chart-3: 197 37% 24%; | ||
/* hsl(197, 37%, 24%) */ | ||
--chart-4: 43 74% 66%; | ||
/* hsl(43, 74%, 66%) */ | ||
--chart-5: 27 87% 67%; | ||
/* hsl(27, 87%, 67%) */ | ||
} | ||
|
||
.dark { | ||
--background: 218 100% 1%; | ||
/* hsl(218, 100%, 1%) */ | ||
--foreground: 196 5% 90%; | ||
/* hsl(196, 5%, 90%) */ | ||
--card: 196 50% 0%; | ||
/* hsl(196, 50%, 0%) */ | ||
--card-foreground: 196 5% 90%; | ||
/* hsl(196, 5%, 90%) */ | ||
--popover: 196 50% 5%; | ||
/* hsl(196, 50%, 5%) */ | ||
--popover-foreground: 196 5% 90%; | ||
/* hsl(196, 5%, 90%) */ | ||
--primary: 196 100% 43.9%; | ||
/* hsl(196, 100%, 43.9%) */ | ||
--primary-foreground: 0 0% 100%; | ||
/* hsl(0, 0%, 100%) */ | ||
|
||
--auxiliary: 203, 100%, 37%; | ||
/* hsl(203, 100%, 37%) */ | ||
--auxiliary-foreground: 213, 13%, 91%; | ||
/* hsl(213, 13%, 91%) */ | ||
--tertiary: 52, 100%, 50%; | ||
/* hsl(52, 100%, 50%) */ | ||
--tertiary-foreground: 60, 4%, 9%; | ||
/* hsl(60, 4%, 9%) */ | ||
--neutral: 143, 100%, 26%; | ||
/* hsl(143, 100%, 26%) */ | ||
--neutral-foreground: 141, 13%, 85%; | ||
/* hsl(141, 13%, 85%) */ | ||
/*// "base-100": "#002855",*/ | ||
/*'base-100': '#000000',*/ | ||
/*'base-200': '#002149',*/ | ||
/*'base-300': '#001b3d',*/ | ||
/*'base-content': '#c8d1dc',*/ | ||
--info: 183, 100%, 33%; | ||
/* hsl(183, 100%, 33%) */ | ||
--info-foreground: 180, 100%, 3%; | ||
/* hsl(180, 100%, 3%) */ | ||
--success: 83, 100%, 25%; | ||
/* hsl(83, 100%, 25%) */ | ||
--success-foreground: 120, 100%, 2%; | ||
/* hsl(120, 100%, 2%) */ | ||
--warning: 38, 100%, 50%; | ||
/* hsl(38, 100%, 50%) */ | ||
--warning-foreground: 30, 100%, 5%; | ||
/* hsl(30, 100%, 5%) */ | ||
|
||
--secondary: 196 30% 10%; | ||
/* hsl(196, 30%, 10%) */ | ||
--secondary-foreground: 0 0% 100%; | ||
/* hsl(0, 0%, 100%) */ | ||
--muted: 158 30% 15%; | ||
/* hsl(158, 30%, 15%) */ | ||
--muted-foreground: 196 5% 60%; | ||
/* hsl(196, 5%, 60%) */ | ||
--accent: 158 30% 15%; | ||
/* hsl(158, 30%, 15%) */ | ||
--accent-foreground: 196 5% 90%; | ||
/* hsl(196, 5%, 90%) */ | ||
--destructive: 0 100% 30%; | ||
/* hsl(0, 100%, 30%) */ | ||
--destructive-foreground: 196 5% 90%; | ||
/* hsl(196, 5%, 90%) */ | ||
--border: 196 30% 18%; | ||
/* hsl(196, 30%, 18%) */ | ||
--input: 196 30% 18%; | ||
/* hsl(196, 30%, 18%) */ | ||
--ring: 196 100% 43.9%; | ||
/* hsl(196, 100%, 43.9%) */ | ||
--radius: 0.75rem; | ||
--chart-1: 220 70% 50%; | ||
/* hsl(220, 70%, 50%) */ | ||
--chart-2: 160 60% 45%; | ||
/* hsl(160, 60%, 45%) */ | ||
--chart-3: 30 80% 55%; | ||
/* hsl(30, 80%, 55%) */ | ||
--chart-4: 280 65% 60%; | ||
/* hsl(280, 65%, 60%) */ | ||
--chart-5: 340 75% 55%; | ||
/* hsl(340, 75%, 55%) */ | ||
} | ||
} | ||
|
||
@layer base { | ||
* { | ||
@apply border-border; | ||
} | ||
|
||
body { | ||
@apply bg-background text-foreground; | ||
} | ||
} | ||
|
||
.backdrop-blur-xs { | ||
@apply backdrop-blur-[2px]; | ||
} | ||
|
||
@keyframes bobbing { | ||
0%, | ||
100% { | ||
transform: translateY(-2px); | ||
} | ||
|
||
50% { | ||
transform: translateY(2px); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.