123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354 |
- :root.dark,
- :root.dark[data-theme='custom'],
- :root.dark[data-theme='default'] {
- /* Default background color of <body />...etc */
- --background: 220deg 13.04% 8%;
- --foreground: 220 13% 91%;
- /* Background color for <Card /> */
- --card: 222.86deg 8.43% 16.27%;
- /* --card: 222.2 84% 4.9%; */
- --card-foreground: 210 40% 98%;
- /* Background color for popovers such as <DropdownMenu />, <HoverCard />, <Popover /> */
- --popover: 222.86deg 8.43% 16.27%;
- --popover-foreground: 210 40% 98%;
- /* Muted backgrounds such as <TabsList />, <Skeleton /> and <Switch /> */
- --muted: 220deg 6.82% 17.25%;
- --muted-foreground: 215 20.2% 65.1%;
- /* 主题颜色 */
- /* --primary: 245 82% 67%; */
- --primary-foreground: 0 0 98%;
- /* Used for destructive actions such as <Button variant="destructive"> */
- --destructive: 0 78% 68%;
- --destructive-foreground: 0 0 98%;
- /* Used for success actions such as <message> */
- --success: 144 57% 58%;
- --success-foreground: 0 0 98%;
- /* Used for warning actions such as <message> */
- --warning: 42 84% 61%;
- --warning-foreground: 0 0 98%;
- /* 颜色次要 */
- --secondary: 240 5% 17%;
- --secondary-foreground: 0 0 98%;
- /* Used for accents such as hover effects on <DropdownMenuItem>, <SelectItem>...etc */
- --accent: 0deg 0% 100% / 8%;
- --accent-hover: 0deg 0% 100% / 12%;
- --accent-foreground: 0 0 98%;
- /* Darker color */
- --heavy: 0deg 0% 100% / 12%;
- --heavy-foreground: var(--accent-foreground);
- /* Default border color */
- --border: 0deg 0% 100% / 10%;
- /* Border color for inputs such as <Input />, <Select />, <Textarea /> */
- --input: 0deg 0% 100% / 10%;
- --input-placeholder: 218deg 11% 65%;
- --input-background: 0deg 0% 100% / 5%;
- /* Used for focus ring */
- --ring: 222.2 84% 4.9%;
- /* 遮罩颜色 */
- --overlay: 0deg 0% 0% / 40%;
- /* 基本文字大小 */
- --font-size-base: 16px;
- /* 基本圆角大小 */
- --radius: 0.5rem;
- /* =============component & UI============= */
- /* authentication */
- --authentication: 240deg 11% 2%;
- color-scheme: dark;
- }
- :root.dark[data-theme='violet'] {
- --background: 224 71.4% 4.1%;
- --foreground: 210 20% 98%;
- --card: 224 71.4% 4.1%;
- --card-foreground: 210 20% 98%;
- --popover: 224 71.4% 4.1%;
- --popover-foreground: 210 20% 98%;
- --primary-foreground: 210 20% 98%;
- --secondary: 215 27.9% 16.9%;
- --secondary-foreground: 210 20% 98%;
- --muted: 215 27.9% 16.9%;
- --muted-foreground: 217.9 10.6% 64.9%;
- --accent: 215 27.9% 16.9%;
- --accent-foreground: 210 20% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 210 20% 98%;
- --border: 215 27.9% 16.9%;
- --input: 215 27.9% 16.9%;
- --ring: 263.4 70% 50.4%;
- }
- :root.dark[data-theme='pink'] {
- --background: 20 14.3% 4.1%;
- --foreground: 0 0% 95%;
- --card: 24 9.8% 10%;
- --card-foreground: 0 0% 95%;
- --popover: 0 0% 9%;
- --popover-foreground: 0 0% 95%;
- --primary-foreground: 355.7 100% 97.3%;
- --secondary: 240 3.7% 15.9%;
- --secondary-foreground: 0 0% 98%;
- --muted: 0 0% 15%;
- --muted-foreground: 240 5% 64.9%;
- --accent: 12 6.5% 15.1%;
- --accent-foreground: 0 0% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 0 85.7% 97.3%;
- --border: 240 3.7% 15.9%;
- --input: 240 3.7% 15.9%;
- --ring: 346.8 77.2% 49.8%;
- }
- :root.dark[data-theme='rose'] {
- --background: 0 0% 3.9%;
- --foreground: 0 0% 98%;
- --card: 0 0% 3.9%;
- --card-foreground: 0 0% 98%;
- --popover: 0 0% 3.9%;
- --popover-foreground: 0 0% 98%;
- --primary-foreground: 0 85.7% 97.3%;
- --secondary: 0 0% 14.9%;
- --secondary-foreground: 0 0% 98%;
- --muted: 0 0% 14.9%;
- --muted-foreground: 0 0% 63.9%;
- --accent: 0 0% 14.9%;
- --accent-foreground: 0 0% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 0 0% 98%;
- --border: 0 0% 14.9%;
- --input: 0 0% 14.9%;
- --ring: 0 72.2% 50.6%;
- }
- :root.dark[data-theme='sky-blue'] {
- --background: 222.2 84% 4.9%;
- --foreground: 210 40% 98%;
- --card: 222.2 84% 4.9%;
- --card-foreground: 210 40% 98%;
- --popover: 222.2 84% 4.9%;
- --popover-foreground: 210 40% 98%;
- --primary-foreground: 210 20% 98%;
- --secondary: 217.2 32.6% 17.5%;
- --secondary-foreground: 210 40% 98%;
- --muted: 217.2 32.6% 17.5%;
- --muted-foreground: 215 20.2% 65.1%;
- --accent: 217.2 32.6% 17.5%;
- --accent-foreground: 210 40% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 210 40% 98%;
- --border: 217.2 32.6% 17.5%;
- --input: 217.2 32.6% 17.5%;
- --ring: 224.3 76.3% 48%;
- }
- :root.dark[data-theme='deep-blue'] {
- --background: 222.2 84% 4.9%;
- --foreground: 210 40% 98%;
- --card: 222.2 84% 4.9%;
- --card-foreground: 210 40% 98%;
- --popover: 222.2 84% 4.9%;
- --popover-foreground: 210 40% 98%;
- --primary-foreground: 210 20% 98%;
- --secondary: 217.2 32.6% 17.5%;
- --secondary-foreground: 210 40% 98%;
- --muted: 217.2 32.6% 17.5%;
- --muted-foreground: 215 20.2% 65.1%;
- --accent: 217.2 32.6% 17.5%;
- --accent-foreground: 210 40% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 210 40% 98%;
- --border: 217.2 32.6% 17.5%;
- --input: 217.2 32.6% 17.5%;
- --ring: 224.3 76.3% 48%;
- }
- :root.dark[data-theme='green'] {
- --background: 20 14.3% 4.1%;
- --foreground: 0 0% 95%;
- --card: 24 9.8% 10%;
- --card-foreground: 0 0% 95%;
- --popover: 0 0% 9%;
- --popover-foreground: 0 0% 95%;
- --primary-foreground: 210 20% 98%;
- --secondary: 240 3.7% 15.9%;
- --secondary-foreground: 0 0% 98%;
- --muted: 0 0% 15%;
- --muted-foreground: 240 5% 64.9%;
- --accent: 12 6.5% 15.1%;
- --accent-foreground: 0 0% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 0 85.7% 97.3%;
- --border: 240 3.7% 15.9%;
- --input: 240 3.7% 15.9%;
- --ring: 142.4 71.8% 29.2%;
- }
- :root.dark[data-theme='deep-green'] {
- --background: 20 14.3% 4.1%;
- --foreground: 0 0% 95%;
- --card: 24 9.8% 10%;
- --card-foreground: 0 0% 95%;
- --popover: 0 0% 9%;
- --popover-foreground: 0 0% 95%;
- --primary-foreground: 210 20% 98%;
- --secondary: 240 3.7% 15.9%;
- --secondary-foreground: 0 0% 98%;
- --muted: 0 0% 15%;
- --muted-foreground: 240 5% 64.9%;
- --accent: 12 6.5% 15.1%;
- --accent-foreground: 0 0% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 0 85.7% 97.3%;
- --border: 240 3.7% 15.9%;
- --input: 240 3.7% 15.9%;
- --ring: 142.4 71.8% 29.2%;
- }
- :root.dark[data-theme='orange'] {
- --background: 20 14.3% 4.1%;
- --foreground: 60 9.1% 97.8%;
- --card: 20 14.3% 4.1%;
- --card-foreground: 60 9.1% 97.8%;
- --popover: 20 14.3% 4.1%;
- --popover-foreground: 60 9.1% 97.8%;
- --primary-foreground: 60 9.1% 97.8%;
- --secondary: 12 6.5% 15.1%;
- --secondary-foreground: 60 9.1% 97.8%;
- --muted: 12 6.5% 15.1%;
- --muted-foreground: 24 5.4% 63.9%;
- --accent: 12 6.5% 15.1%;
- --accent-foreground: 60 9.1% 97.8%;
- --destructive: 0 72.2% 50.6%;
- --destructive-foreground: 60 9.1% 97.8%;
- --border: 12 6.5% 15.1%;
- --input: 12 6.5% 15.1%;
- --ring: 20.5 90.2% 48.2%;
- }
- :root.dark[data-theme='yellow'] {
- --background: 20 14.3% 4.1%;
- --foreground: 60 9.1% 97.8%;
- --card: 20 14.3% 4.1%;
- --card-foreground: 60 9.1% 97.8%;
- --popover: 20 14.3% 4.1%;
- --popover-foreground: 60 9.1% 97.8%;
- --primary-foreground: 26 83.3% 14.1%;
- --secondary: 12 6.5% 15.1%;
- --secondary-foreground: 60 9.1% 97.8%;
- --muted: 12 6.5% 15.1%;
- --muted-foreground: 24 5.4% 63.9%;
- --accent: 12 6.5% 15.1%;
- --accent-foreground: 60 9.1% 97.8%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 60 9.1% 97.8%;
- --border: 12 6.5% 15.1%;
- --input: 12 6.5% 15.1%;
- --ring: 35.5 91.7% 32.9%;
- }
- :root.dark[data-theme='zinc'] {
- --background: 240 10% 3.9%;
- --foreground: 0 0% 98%;
- --card: 240 10% 3.9%;
- --card-foreground: 0 0% 98%;
- --popover: 240 10% 3.9%;
- --popover-foreground: 0 0% 98%;
- --primary-foreground: 240 5.9% 10%;
- --secondary: 240 3.7% 15.9%;
- --secondary-foreground: 0 0% 98%;
- --muted: 240 3.7% 15.9%;
- --muted-foreground: 240 5% 64.9%;
- --accent: 240 3.7% 15.9%;
- --accent-foreground: 0 0% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 0 0% 98%;
- --border: 240 3.7% 15.9%;
- --input: 240 3.7% 15.9%;
- --ring: 240 4.9% 83.9%;
- }
- :root.dark[data-theme='neutral'] {
- --background: 0 0% 3.9%;
- --foreground: 0 0% 98%;
- --card: 0 0% 3.9%;
- --card-foreground: 0 0% 98%;
- --popover: 0 0% 3.9%;
- --popover-foreground: 0 0% 98%;
- --primary-foreground: 0 0% 9%;
- --secondary: 0 0% 14.9%;
- --secondary-foreground: 0 0% 98%;
- --muted: 0 0% 14.9%;
- --muted-foreground: 0 0% 63.9%;
- --accent: 0 0% 14.9%;
- --accent-foreground: 0 0% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 0 0% 98%;
- --border: 0 0% 14.9%;
- --input: 0 0% 14.9%;
- --ring: 0 0% 83.1%;
- }
- :root.dark[data-theme='slate'] {
- --background: 222.2 84% 4.9%;
- --foreground: 210 40% 98%;
- --card: 222.2 84% 4.9%;
- --card-foreground: 210 40% 98%;
- --popover: 222.2 84% 4.9%;
- --popover-foreground: 210 40% 98%;
- --primary-foreground: 222.2 47.4% 11.2%;
- --secondary: 217.2 32.6% 17.5%;
- --secondary-foreground: 210 40% 98%;
- --muted: 217.2 32.6% 17.5%;
- --muted-foreground: 215 20.2% 65.1%;
- --accent: 217.2 32.6% 17.5%;
- --accent-foreground: 210 40% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 210 40% 98%;
- --border: 217.2 32.6% 17.5%;
- --input: 217.2 32.6% 17.5%;
- --ring: 212.7 26.8% 83.9;
- }
- :root.dark[data-theme='gray'] {
- --background: 224 71.4% 4.1%;
- --foreground: 210 20% 98%;
- --card: 224 71.4% 4.1%;
- --card-foreground: 210 20% 98%;
- --popover: 224 71.4% 4.1%;
- --popover-foreground: 210 20% 98%;
- --primary-foreground: 220.9 39.3% 11%;
- --secondary: 215 27.9% 16.9%;
- --secondary-foreground: 210 20% 98%;
- --muted: 215 27.9% 16.9%;
- --muted-foreground: 217.9 10.6% 64.9%;
- --accent: 215 27.9% 16.9%;
- --accent-foreground: 210 20% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 210 20% 98%;
- --border: 215 27.9% 16.9%;
- --input: 215 27.9% 16.9%;
- --ring: 216 12.2% 83.9%;
- }
|