theme.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. * {
  2. @apply border-border;
  3. }
  4. body {
  5. @apply bg-background text-foreground;
  6. .ui__toaster {
  7. &-viewport {
  8. @apply gap-2;
  9. }
  10. }
  11. }
  12. /* light */
  13. html {
  14. &[data-color=default] {
  15. --accent: 210 40% 96.1%;
  16. --accent-foreground: 222.2 47.4% 11.2%;
  17. --primary: 200 97% 37%;
  18. --primary-foreground: 255 92% 100%;
  19. --ring: 200 97% 37%;
  20. }
  21. &[data-color=blue] {
  22. --background: 0 0% 100%;
  23. --foreground: 222.2 84% 4.9%;
  24. --card: 0 0% 100%;
  25. --card-foreground: 222.2 84% 4.9%;
  26. --popover: 0 0% 100%;
  27. --popover-foreground: 222.2 84% 4.9%;
  28. --primary: 221.2 83.2% 53.3%;
  29. --primary-foreground: 210 40% 98%;
  30. --secondary: 210 40% 96.1%;
  31. --secondary-foreground: 222.2 47.4% 11.2%;
  32. --muted: 210 40% 96.1%;
  33. --muted-foreground: 215.4 16.3% 46.9%;
  34. --accent: 210 40% 96.1%;
  35. --accent-foreground: 222.2 47.4% 11.2%;
  36. --destructive: 0 84.2% 60.2%;
  37. --destructive-foreground: 210 40% 98%;
  38. --border: 214.3 31.8% 91.4%;
  39. --input: 214.3 31.8% 91.4%;
  40. --ring: 221.2 83.2% 53.3%;
  41. --radius: 0.5rem;
  42. }
  43. &[data-color=green] {
  44. --background: 0 0% 100%;
  45. --foreground: 240 10% 3.9%;
  46. --card: 0 0% 100%;
  47. --card-foreground: 240 10% 3.9%;
  48. --popover: 0 0% 100%;
  49. --popover-foreground: 240 10% 3.9%;
  50. --primary: 142.1 76.2% 36.3%;
  51. --primary-foreground: 355.7 100% 97.3%;
  52. --secondary: 240 4.8% 95.9%;
  53. --secondary-foreground: 240 5.9% 10%;
  54. --muted: 240 4.8% 95.9%;
  55. --muted-foreground: 240 3.8% 46.1%;
  56. --accent: 240 4.8% 95.9%;
  57. --accent-foreground: 240 5.9% 10%;
  58. --destructive: 0 84.2% 60.2%;
  59. --destructive-foreground: 0 0% 98%;
  60. --border: 240 5.9% 90%;
  61. --input: 240 5.9% 90%;
  62. --ring: 142.1 76.2% 36.3%;
  63. --radius: 0.5rem;
  64. }
  65. &[data-color=orange] {
  66. --background: 0 0% 100%;
  67. --foreground: 20 14.3% 4.1%;
  68. --card: 0 0% 100%;
  69. --card-foreground: 20 14.3% 4.1%;
  70. --popover: 0 0% 100%;
  71. --popover-foreground: 20 14.3% 4.1%;
  72. --primary: 24.6 95% 53.1%;
  73. --primary-foreground: 60 9.1% 97.8%;
  74. --secondary: 60 4.8% 95.9%;
  75. --secondary-foreground: 24 9.8% 10%;
  76. --muted: 60 4.8% 95.9%;
  77. --muted-foreground: 25 5.3% 44.7%;
  78. --accent: 60 4.8% 95.9%;
  79. --accent-foreground: 24 9.8% 10%;
  80. --destructive: 0 84.2% 60.2%;
  81. --destructive-foreground: 60 9.1% 97.8%;
  82. --border: 20 5.9% 90%;
  83. --input: 20 5.9% 90%;
  84. --ring: 24.6 95% 53.1%;
  85. --radius: 0.5rem;
  86. }
  87. }
  88. html[data-color-scheme=dark] {
  89. &[data-color=green] {
  90. --background: 20 14.3% 4.1%;
  91. --foreground: 0 0% 95%;
  92. --card: 24 9.8% 10%;
  93. --card-foreground: 0 0% 95%;
  94. --popover: 0 0% 9%;
  95. --popover-foreground: 0 0% 95%;
  96. --primary: 142.1 70.6% 45.3%;
  97. --primary-foreground: 144.9 80.4% 10%;
  98. --secondary: 240 3.7% 15.9%;
  99. --secondary-foreground: 0 0% 98%;
  100. --muted: 0 0% 15%;
  101. --muted-foreground: 240 5% 64.9%;
  102. --accent: 12 6.5% 15.1%;
  103. --accent-foreground: 0 0% 98%;
  104. --destructive: 0 62.8% 30.6%;
  105. --destructive-foreground: 0 85.7% 97.3%;
  106. --border: 240 3.7% 15.9%;
  107. --input: 240 3.7% 15.9%;
  108. --ring: 142.4 71.8% 29.2%;
  109. }
  110. }