default.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. :root {
  2. --font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
  3. 'Helvetica Neue', arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
  4. 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  5. /* Default background color of <body />...etc */
  6. --background: 0 0% 100%;
  7. /* 主体区域背景色 */
  8. --background-deep: 216 20.11% 95.47%;
  9. --foreground: 210 6% 21%;
  10. /* Background color for <Card /> */
  11. --card: 0 0% 100%;
  12. --card-foreground: 222.2 84% 4.9%;
  13. /* Background color for popovers such as <DropdownMenu />, <HoverCard />, <Popover /> */
  14. --popover: 0 0% 100%;
  15. --popover-foreground: 222.2 84% 4.9%;
  16. /* Muted backgrounds such as <TabsList />, <Skeleton /> and <Switch /> */
  17. /* --muted: 210 40% 96.1%;
  18. --muted-foreground: 215.4 16.3% 46.9%; */
  19. --muted: 240 4.8% 95.9%;
  20. --muted-foreground: 240 3.8% 46.1%;
  21. /* 主题颜色 */
  22. --primary: 212 100% 45%;
  23. --primary-foreground: 0 0% 98%;
  24. /* Used for destructive actions such as <Button variant="destructive"> */
  25. --destructive: 359.33 100% 65.1%;
  26. --destructive-foreground: 0 0% 98%;
  27. /* Used for success actions such as <message> */
  28. --info: 240, 5%, 96%;
  29. --info-foreground: 220, 4%, 58%;
  30. /* Used for success actions such as <message> */
  31. --success: 144 57% 58%;
  32. --success-foreground: 0 0% 98%;
  33. /* Used for warning actions such as <message> */
  34. --warning: 42 84% 61%;
  35. --warning-foreground: 0 0% 98%;
  36. /* Secondary colors for <Button /> */
  37. --secondary: 240 5% 96%;
  38. --secondary-foreground: 240 6% 10%;
  39. /* Used for accents such as hover effects on <DropdownMenuItem>, <SelectItem>...etc */
  40. --accent: 240 5% 96%;
  41. --accent-lighter: 240 0% 98%;
  42. --accent-hover: 200deg 10% 90%;
  43. --accent-foreground: 240 6% 10%;
  44. /* Darker color */
  45. --heavy: 192deg 9.43% 89.61%;
  46. --heavy-foreground: var(--accent-foreground);
  47. /* Default border color */
  48. --border: 240 5.9% 90%;
  49. /* Border color for inputs such as <Input />, <Select />, <Textarea /> */
  50. --input: 240deg 5.88% 90%;
  51. --input-placeholder: 217 10.6% 65%;
  52. --input-background: 0 0% 100%;
  53. /* Used for focus ring */
  54. --ring: 222.2 84% 4.9%;
  55. /* Border radius for card, input and buttons */
  56. --radius: 0.5rem;
  57. /* ============= custom ============= */
  58. /* 遮罩颜色 */
  59. --overlay: 0 0% 0% / 45%;
  60. --overlay-content: 0 0% 95% / 45%;
  61. /* 基本文字大小 */
  62. --font-size-base: 16px;
  63. /* =============component & UI============= */
  64. /* menu */
  65. --sidebar: 0 0% 100%;
  66. --sidebar-deep: 0 0% 100%;
  67. --menu: var(--sidebar);
  68. /* header */
  69. --header: 0 0% 100%;
  70. accent-color: var(--primary);
  71. color-scheme: light;
  72. }
  73. [data-theme='violet'] {
  74. /* --background: 0 0% 100%; */
  75. --foreground: 224 71.4% 4.1%;
  76. --card: 0 0% 100%;
  77. --card-foreground: 224 71.4% 4.1%;
  78. --popover: 0 0% 100%;
  79. --popover-foreground: 224 71.4% 4.1%;
  80. --primary-foreground: 210 20% 98%;
  81. --secondary: 220 14.3% 95.9%;
  82. --secondary-foreground: 220.9 39.3% 11%;
  83. --muted: 220 14.3% 95.9%;
  84. --muted-foreground: 220 8.9% 46.1%;
  85. --accent: 220 14.3% 95.9%;
  86. --accent-foreground: 220.9 39.3% 11%;
  87. --destructive: 0 84.2% 60.2%;
  88. --destructive-foreground: 210 20% 98%;
  89. --border: 220 13% 91%;
  90. --input: 220 13% 91%;
  91. --ring: 262.1 83.3% 57.8%;
  92. }
  93. [data-theme='pink'] {
  94. /* --background: 0 0% 100%; */
  95. --foreground: 240 10% 3.9%;
  96. --card: 0 0% 100%;
  97. --card-foreground: 240 10% 3.9%;
  98. --popover: 0 0% 100%;
  99. --popover-foreground: 240 10% 3.9%;
  100. --primary-foreground: 355.7 100% 97.3%;
  101. --secondary: 240 4.8% 95.9%;
  102. --secondary-foreground: 240 5.9% 10%;
  103. --muted: 240 4.8% 95.9%;
  104. --muted-foreground: 240 3.8% 46.1%;
  105. --accent: 240 4.8% 95.9%;
  106. --accent-foreground: 240 5.9% 10%;
  107. --destructive: 0 84.2% 60.2%;
  108. --destructive-foreground: 0 0% 98%;
  109. --border: 240 5.9% 90%;
  110. --input: 240 5.9% 90%;
  111. --ring: 346.8 77.2% 49.8%;
  112. }
  113. [data-theme='rose'] {
  114. /* --background: 0 0% 100%; */
  115. --foreground: 240 10% 3.9%;
  116. --card: 0 0% 100%;
  117. --card-foreground: 240 10% 3.9%;
  118. --popover: 0 0% 100%;
  119. --popover-foreground: 240 10% 3.9%;
  120. --primary-foreground: 355.7 100% 97.3%;
  121. --secondary: 240 4.8% 95.9%;
  122. --secondary-foreground: 240 5.9% 10%;
  123. --muted: 240 4.8% 95.9%;
  124. --muted-foreground: 240 3.8% 46.1%;
  125. --accent: 240 4.8% 95.9%;
  126. --accent-foreground: 240 5.9% 10%;
  127. --destructive: 0 84.2% 60.2%;
  128. --destructive-foreground: 0 0% 98%;
  129. --border: 240 5.9% 90%;
  130. --input: 240 5.9% 90%;
  131. --ring: 346.8 77.2% 49.8%;
  132. }
  133. [data-theme='sky-blue'] {
  134. /* --background: 0 0% 100%; */
  135. --foreground: 222.2 84% 4.9%;
  136. --card: 0 0% 100%;
  137. --card-foreground: 222.2 84% 4.9%;
  138. --popover: 0 0% 100%;
  139. --popover-foreground: 222.2 84% 4.9%;
  140. --primary-foreground: 210 40% 98%;
  141. --secondary: 210 40% 96.1%;
  142. --secondary-foreground: 222.2 47.4% 11.2%;
  143. --muted: 210 40% 96.1%;
  144. --muted-foreground: 215.4 16.3% 46.9%;
  145. --accent: 210 40% 96.1%;
  146. --accent-foreground: 222.2 47.4% 11.2%;
  147. --destructive: 0 84.2% 60.2%;
  148. --destructive-foreground: 210 40% 98%;
  149. --border: 214.3 31.8% 91.4%;
  150. --input: 214.3 31.8% 91.4%;
  151. --ring: 221.2 83.2% 53.3%;
  152. }
  153. [data-theme='deep-blue'] {
  154. /* --background: 0 0% 100%; */
  155. --foreground: 222.2 84% 4.9%;
  156. --card: 0 0% 100%;
  157. --card-foreground: 222.2 84% 4.9%;
  158. --popover: 0 0% 100%;
  159. --popover-foreground: 222.2 84% 4.9%;
  160. --primary-foreground: 210 40% 98%;
  161. --secondary: 210 40% 96.1%;
  162. --secondary-foreground: 222.2 47.4% 11.2%;
  163. --muted: 210 40% 96.1%;
  164. --muted-foreground: 215.4 16.3% 46.9%;
  165. --accent: 210 40% 96.1%;
  166. --accent-foreground: 222.2 47.4% 11.2%;
  167. --destructive: 0 84.2% 60.2%;
  168. --destructive-foreground: 210 40% 98%;
  169. --border: 214.3 31.8% 91.4%;
  170. --input: 214.3 31.8% 91.4%;
  171. --ring: 221.2 83.2% 53.3%;
  172. }
  173. [data-theme='green'] {
  174. /* --background: 0 0% 100%; */
  175. --foreground: 240 10% 3.9%;
  176. --card: 0 0% 100%;
  177. --card-foreground: 240 10% 3.9%;
  178. --popover: 0 0% 100%;
  179. --popover-foreground: 240 10% 3.9%;
  180. --primary-foreground: 355.7 100% 97.3%;
  181. --secondary: 240 4.8% 95.9%;
  182. --secondary-foreground: 240 5.9% 10%;
  183. --muted: 240 4.8% 95.9%;
  184. --muted-foreground: 240 3.8% 46.1%;
  185. --accent: 240 4.8% 95.9%;
  186. --accent-foreground: 240 5.9% 10%;
  187. --destructive: 0 84.2% 60.2%;
  188. --destructive-foreground: 0 0% 98%;
  189. --border: 240 5.9% 90%;
  190. --input: 240 5.9% 90%;
  191. --ring: 142.1 76.2% 36.3%;
  192. }
  193. [data-theme='deep-green'] {
  194. /* --background: 0 0% 100%; */
  195. --foreground: 240 10% 3.9%;
  196. --card: 0 0% 100%;
  197. --card-foreground: 240 10% 3.9%;
  198. --popover: 0 0% 100%;
  199. --popover-foreground: 240 10% 3.9%;
  200. --primary-foreground: 355.7 100% 97.3%;
  201. --secondary: 240 4.8% 95.9%;
  202. --secondary-foreground: 240 5.9% 10%;
  203. --muted: 240 4.8% 95.9%;
  204. --muted-foreground: 240 3.8% 46.1%;
  205. --accent: 240 4.8% 95.9%;
  206. --accent-foreground: 240 5.9% 10%;
  207. --destructive: 0 84.2% 60.2%;
  208. --destructive-foreground: 0 0% 98%;
  209. --border: 240 5.9% 90%;
  210. --input: 240 5.9% 90%;
  211. --ring: 142.1 76.2% 36.3%;
  212. }
  213. [data-theme='orange'] {
  214. /* --background: 0 0% 100%; */
  215. --foreground: 20 14.3% 4.1%;
  216. --card: 0 0% 100%;
  217. --card-foreground: 20 14.3% 4.1%;
  218. --popover: 0 0% 100%;
  219. --popover-foreground: 20 14.3% 4.1%;
  220. --primary-foreground: 60 9.1% 97.8%;
  221. --secondary: 60 4.8% 95.9%;
  222. --secondary-foreground: 24 9.8% 10%;
  223. --muted: 60 4.8% 95.9%;
  224. --muted-foreground: 25 5.3% 44.7%;
  225. --accent: 60 4.8% 95.9%;
  226. --accent-foreground: 24 9.8% 10%;
  227. --destructive: 0 84.2% 60.2%;
  228. --destructive-foreground: 60 9.1% 97.8%;
  229. --border: 20 5.9% 90%;
  230. --input: 20 5.9% 90%;
  231. --ring: 24.6 95% 53.1%;
  232. }
  233. [data-theme='yellow'] {
  234. /* --background: 0 0% 100%; */
  235. --foreground: 20 14.3% 4.1%;
  236. --card: 0 0% 100%;
  237. --card-foreground: 20 14.3% 4.1%;
  238. --popover: 0 0% 100%;
  239. --popover-foreground: 20 14.3% 4.1%;
  240. --primary-foreground: 26 83.3% 14.1%;
  241. --secondary: 60 4.8% 95.9%;
  242. --secondary-foreground: 24 9.8% 10%;
  243. --muted: 60 4.8% 95.9%;
  244. --muted-foreground: 25 5.3% 44.7%;
  245. --accent: 60 4.8% 95.9%;
  246. --accent-foreground: 24 9.8% 10%;
  247. --destructive: 0 84.2% 60.2%;
  248. --destructive-foreground: 60 9.1% 97.8%;
  249. --border: 20 5.9% 90%;
  250. --input: 20 5.9% 90%;
  251. --ring: 20 14.3% 4.1%;
  252. }
  253. [data-theme='zinc'] {
  254. /* --background: 0 0% 100%; */
  255. --foreground: 240 10% 3.9%;
  256. --card: 0 0% 100%;
  257. --card-foreground: 240 10% 3.9%;
  258. --popover: 0 0% 100%;
  259. --popover-foreground: 240 10% 3.9%;
  260. --primary-foreground: 0 0% 98%;
  261. --secondary: 240 4.8% 95.9%;
  262. --secondary-foreground: 240 5.9% 10%;
  263. --muted: 240 4.8% 95.9%;
  264. --muted-foreground: 240 3.8% 46.1%;
  265. --accent: 240 4.8% 95.9%;
  266. --accent-foreground: 240 5.9% 10%;
  267. --destructive: 0 84.2% 60.2%;
  268. --destructive-foreground: 0 0% 98%;
  269. --border: 240 5.9% 90%;
  270. --input: 240 5.9% 90%;
  271. --ring: 240 5.9% 10%;
  272. }
  273. [data-theme='neutral'] {
  274. /* --background: 0 0% 100%; */
  275. --foreground: 0 0% 3.9%;
  276. --card: 0 0% 100%;
  277. --card-foreground: 0 0% 3.9%;
  278. --popover: 0 0% 100%;
  279. --popover-foreground: 0 0% 3.9%;
  280. --primary-foreground: 0 0% 98%;
  281. --secondary: 0 0% 96.1%;
  282. --secondary-foreground: 0 0% 9%;
  283. --muted: 0 0% 96.1%;
  284. --muted-foreground: 0 0% 45.1%;
  285. --accent: 0 0% 96.1%;
  286. --accent-foreground: 0 0% 9%;
  287. --destructive: 0 84.2% 60.2%;
  288. --destructive-foreground: 0 0% 98%;
  289. --border: 0 0% 89.8%;
  290. --input: 0 0% 89.8%;
  291. --ring: 0 0% 3.9%;
  292. }
  293. [data-theme='slate'] {
  294. /* --background: 0 0% 100%; */
  295. --foreground: 222.2 84% 4.9%;
  296. --card: 0 0% 100%;
  297. --card-foreground: 222.2 84% 4.9%;
  298. --popover: 0 0% 100%;
  299. --popover-foreground: 222.2 84% 4.9%;
  300. --primary-foreground: 210 40% 98%;
  301. --secondary: 210 40% 96.1%;
  302. --secondary-foreground: 222.2 47.4% 11.2%;
  303. --muted: 210 40% 96.1%;
  304. --muted-foreground: 215.4 16.3% 46.9%;
  305. --accent: 210 40% 96.1%;
  306. --accent-foreground: 222.2 47.4% 11.2%;
  307. --destructive: 0 84.2% 60.2%;
  308. --destructive-foreground: 210 40% 98%;
  309. --border: 214.3 31.8% 91.4%;
  310. --input: 214.3 31.8% 91.4%;
  311. --ring: 222.2 84% 4.9%;
  312. }
  313. [data-theme='gray'] {
  314. /* --background: 0 0% 100%; */
  315. --foreground: 224 71.4% 4.1%;
  316. --card: 0 0% 100%;
  317. --card-foreground: 224 71.4% 4.1%;
  318. --popover: 0 0% 100%;
  319. --popover-foreground: 224 71.4% 4.1%;
  320. --primary-foreground: 210 20% 98%;
  321. --secondary: 220 14.3% 95.9%;
  322. --secondary-foreground: 220.9 39.3% 11%;
  323. --muted: 220 14.3% 95.9%;
  324. --muted-foreground: 220 8.9% 46.1%;
  325. --accent: 220 14.3% 95.9%;
  326. --accent-foreground: 220.9 39.3% 11%;
  327. --destructive: 0 84.2% 60.2%;
  328. --destructive-foreground: 210 20% 98%;
  329. --border: 220 13% 91%;
  330. --input: 220 13% 91%;
  331. --ring: 224 71.4% 4.1%;
  332. }