@g4rcez/components 3.0.0-0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/dist/components/core/button.d.ts +2 -8
  2. package/dist/components/core/button.d.ts.map +1 -1
  3. package/dist/components/core/button.jsx +11 -18
  4. package/dist/components/core/polymorph.d.ts.map +1 -1
  5. package/dist/components/core/slot.d.ts +1 -1
  6. package/dist/components/core/slot.d.ts.map +1 -1
  7. package/dist/components/core/slot.jsx +28 -35
  8. package/dist/components/core/tag.d.ts +1 -1
  9. package/dist/components/core/tag.d.ts.map +1 -1
  10. package/dist/components/core/tag.jsx +3 -3
  11. package/dist/components/core/typography.d.ts.map +1 -1
  12. package/dist/components/core/typography.jsx +16 -20
  13. package/dist/components/display/alert.d.ts.map +1 -1
  14. package/dist/components/display/alert.jsx +19 -17
  15. package/dist/components/display/calendar.d.ts.map +1 -1
  16. package/dist/components/display/calendar.jsx +6 -8
  17. package/dist/components/display/card.d.ts.map +1 -1
  18. package/dist/components/display/card.jsx +6 -6
  19. package/dist/components/display/empty.jsx +1 -1
  20. package/dist/components/display/notifications.d.ts +2 -0
  21. package/dist/components/display/notifications.d.ts.map +1 -1
  22. package/dist/components/display/notifications.jsx +76 -48
  23. package/dist/components/display/progress.d.ts.map +1 -1
  24. package/dist/components/display/progress.jsx +7 -9
  25. package/dist/components/display/shortcut.jsx +1 -1
  26. package/dist/components/display/skeleton.d.ts.map +1 -1
  27. package/dist/components/display/skeleton.jsx +3 -5
  28. package/dist/components/display/step.d.ts.map +1 -1
  29. package/dist/components/display/step.jsx +27 -27
  30. package/dist/components/display/tabs.d.ts.map +1 -1
  31. package/dist/components/display/tabs.jsx +5 -7
  32. package/dist/components/display/timeline.jsx +1 -1
  33. package/dist/components/floating/command-palette.d.ts +1 -0
  34. package/dist/components/floating/command-palette.d.ts.map +1 -1
  35. package/dist/components/floating/command-palette.jsx +92 -70
  36. package/dist/components/floating/dropdown.d.ts.map +1 -1
  37. package/dist/components/floating/dropdown.jsx +15 -15
  38. package/dist/components/floating/menu.d.ts +2 -2
  39. package/dist/components/floating/menu.jsx +2 -2
  40. package/dist/components/floating/modal.d.ts +20 -53
  41. package/dist/components/floating/modal.d.ts.map +1 -1
  42. package/dist/components/floating/modal.jsx +109 -51
  43. package/dist/components/floating/tooltip.d.ts.map +1 -1
  44. package/dist/components/floating/tooltip.jsx +2 -8
  45. package/dist/components/floating/wizard.d.ts +1 -1
  46. package/dist/components/floating/wizard.d.ts.map +1 -1
  47. package/dist/components/floating/wizard.jsx +50 -53
  48. package/dist/components/form/autocomplete.d.ts.map +1 -1
  49. package/dist/components/form/autocomplete.jsx +42 -38
  50. package/dist/components/form/checkbox.jsx +3 -3
  51. package/dist/components/form/date-picker.d.ts.map +1 -1
  52. package/dist/components/form/date-picker.jsx +14 -14
  53. package/dist/components/form/file-upload.jsx +13 -13
  54. package/dist/components/form/free-text.d.ts.map +1 -1
  55. package/dist/components/form/free-text.jsx +3 -3
  56. package/dist/components/form/input-field.d.ts +3 -2
  57. package/dist/components/form/input-field.d.ts.map +1 -1
  58. package/dist/components/form/input-field.jsx +43 -41
  59. package/dist/components/form/multi-select.d.ts.map +1 -1
  60. package/dist/components/form/multi-select.jsx +56 -56
  61. package/dist/components/form/select.d.ts.map +1 -1
  62. package/dist/components/form/select.jsx +3 -3
  63. package/dist/components/form/slider.d.ts.map +1 -1
  64. package/dist/components/form/slider.jsx +10 -10
  65. package/dist/components/form/switch.jsx +2 -2
  66. package/dist/components/form/transfer-list.jsx +3 -3
  67. package/dist/components/index.d.ts +2 -0
  68. package/dist/components/index.d.ts.map +1 -1
  69. package/dist/components/index.js +2 -0
  70. package/dist/components/page-calendar/calendar-header.d.ts +16 -0
  71. package/dist/components/page-calendar/calendar-header.d.ts.map +1 -0
  72. package/dist/components/page-calendar/calendar-header.jsx +81 -0
  73. package/dist/components/page-calendar/day-view.d.ts +12 -0
  74. package/dist/components/page-calendar/day-view.d.ts.map +1 -0
  75. package/dist/components/page-calendar/day-view.jsx +87 -0
  76. package/dist/components/page-calendar/event-pill.d.ts +9 -0
  77. package/dist/components/page-calendar/event-pill.d.ts.map +1 -0
  78. package/dist/components/page-calendar/event-pill.jsx +25 -0
  79. package/dist/components/page-calendar/index.d.ts +4 -0
  80. package/dist/components/page-calendar/index.d.ts.map +1 -0
  81. package/dist/components/page-calendar/index.js +2 -0
  82. package/dist/components/page-calendar/month-view.d.ts +11 -0
  83. package/dist/components/page-calendar/month-view.d.ts.map +1 -0
  84. package/dist/components/page-calendar/month-view.jsx +47 -0
  85. package/dist/components/page-calendar/page-calendar.d.ts +18 -0
  86. package/dist/components/page-calendar/page-calendar.d.ts.map +1 -0
  87. package/dist/components/page-calendar/page-calendar.jsx +41 -0
  88. package/dist/components/page-calendar/page-calendar.types.d.ts +18 -0
  89. package/dist/components/page-calendar/page-calendar.types.d.ts.map +1 -0
  90. package/dist/components/page-calendar/page-calendar.types.js +1 -0
  91. package/dist/components/page-calendar/page-calendar.utils.d.ts +18 -0
  92. package/dist/components/page-calendar/page-calendar.utils.d.ts.map +1 -0
  93. package/dist/components/page-calendar/page-calendar.utils.js +71 -0
  94. package/dist/components/page-calendar/week-view.d.ts +11 -0
  95. package/dist/components/page-calendar/week-view.d.ts.map +1 -0
  96. package/dist/components/page-calendar/week-view.jsx +64 -0
  97. package/dist/components/table/filter.jsx +4 -4
  98. package/dist/components/table/index.d.ts.map +1 -1
  99. package/dist/components/table/index.jsx +10 -10
  100. package/dist/components/table/inner-table.d.ts.map +1 -1
  101. package/dist/components/table/inner-table.jsx +18 -18
  102. package/dist/components/table/metadata.d.ts.map +1 -1
  103. package/dist/components/table/metadata.jsx +29 -30
  104. package/dist/components/table/pagination.jsx +1 -1
  105. package/dist/components/table/row.d.ts.map +1 -1
  106. package/dist/components/table/row.jsx +17 -17
  107. package/dist/components/table/sort.jsx +1 -1
  108. package/dist/components/table/table-lib.d.ts.map +1 -1
  109. package/dist/components/table/table-lib.js +1 -2
  110. package/dist/components/table/thead.d.ts.map +1 -1
  111. package/dist/components/table/thead.jsx +6 -6
  112. package/dist/config/context.d.ts.map +1 -1
  113. package/dist/config/default-translations.d.ts +17 -0
  114. package/dist/config/default-translations.d.ts.map +1 -1
  115. package/dist/config/default-translations.jsx +18 -1
  116. package/dist/constants.d.ts.map +1 -1
  117. package/dist/hooks/use-components-provider.d.ts.map +1 -1
  118. package/dist/hooks/use-components-provider.jsx +4 -1
  119. package/dist/hooks/use-form.d.ts +11 -11
  120. package/dist/hooks/use-form.d.ts.map +1 -1
  121. package/dist/hooks/use-form.js +1 -0
  122. package/dist/hooks/use-input-id.d.ts.map +1 -1
  123. package/dist/hooks/use-is-coarse-device.js +1 -1
  124. package/dist/hooks/use-preferences.d.ts.map +1 -1
  125. package/dist/hooks/use-previous.d.ts.map +1 -1
  126. package/dist/hooks/use-previous.js +1 -0
  127. package/dist/hooks/use-reactive.d.ts.map +1 -1
  128. package/dist/hooks/use-reactive.js +1 -0
  129. package/dist/hooks/use-resize-observer.d.ts.map +1 -1
  130. package/dist/hooks/use-stable-ref.d.ts.map +1 -1
  131. package/dist/hooks/use-stable-ref.js +1 -0
  132. package/dist/hooks/use-swipe.d.ts.map +1 -1
  133. package/dist/hooks/use-swipe.js +1 -0
  134. package/dist/hooks/use-translations.d.ts +17 -0
  135. package/dist/hooks/use-translations.d.ts.map +1 -1
  136. package/dist/index.css +1 -0
  137. package/dist/index.d.ts.map +1 -1
  138. package/dist/index.js.map +1 -1
  139. package/dist/index.mjs +13689 -12344
  140. package/dist/index.mjs.map +1 -1
  141. package/dist/index.umd.js +24 -17
  142. package/dist/index.umd.js.map +1 -1
  143. package/dist/lib/dom.d.ts +1 -0
  144. package/dist/lib/dom.d.ts.map +1 -1
  145. package/dist/lib/dom.js +20 -2
  146. package/dist/lib/fns.d.ts.map +1 -1
  147. package/dist/lib/fns.js +2 -2
  148. package/dist/preset/plugin.tailwind.d.ts +9 -0
  149. package/dist/preset/plugin.tailwind.d.ts.map +1 -0
  150. package/dist/preset/plugin.tailwind.js +27 -0
  151. package/dist/preset/preset.tailwind.d.ts +8 -0
  152. package/dist/preset/preset.tailwind.d.ts.map +1 -0
  153. package/dist/preset/preset.tailwind.js +54 -0
  154. package/dist/preset/src/styles/common.d.ts +2 -14
  155. package/dist/preset/src/styles/common.d.ts.map +1 -1
  156. package/dist/preset/src/styles/common.js +1 -0
  157. package/dist/preset/src/styles/dark.d.ts.map +1 -1
  158. package/dist/preset/src/styles/dark.js +119 -114
  159. package/dist/preset/src/styles/light.d.ts.map +1 -1
  160. package/dist/preset/src/styles/light.js +111 -106
  161. package/dist/preset/src/styles/theme.types.d.ts +17 -8
  162. package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
  163. package/dist/styles/common.d.ts +2 -14
  164. package/dist/styles/common.d.ts.map +1 -1
  165. package/dist/styles/common.js +1 -0
  166. package/dist/styles/dark.d.ts.map +1 -1
  167. package/dist/styles/dark.js +119 -114
  168. package/dist/styles/light.d.ts.map +1 -1
  169. package/dist/styles/light.js +111 -106
  170. package/dist/styles/theme.types.d.ts +17 -8
  171. package/dist/styles/theme.types.d.ts.map +1 -1
  172. package/package.json +299 -301
  173. package/dist/preset/tailwindcssv4.d.ts +0 -3
  174. package/dist/preset/tailwindcssv4.d.ts.map +0 -1
  175. package/dist/preset/tailwindcssv4.js +0 -75
@@ -11,198 +11,203 @@ export const DARK_THEME = {
11
11
  "shadow-table": "0px 1px 1px 1px hsla(210, 25%, 20%, 0.1)",
12
12
  },
13
13
  colors: {
14
- foreground: "hsla(210, 50%, 98%)",
15
- background: "hsla(0, 0%, 9%)",
16
- border: "hsla(240, 7%, 27%)",
17
- muted: "hsla(210, 10%, 40%)",
18
- disabled: "hsla(240, 4%, 33%)",
14
+ foreground: "hsla(240, 5%, 96%)",
15
+ background: "hsla(240, 10%, 8%)",
16
+ border: "hsla(240, 4%, 16%)",
17
+ disabled: "hsla(240, 4%, 16%)",
18
+ muted: {
19
+ DEFAULT: "hsla(240, 4%, 16%)",
20
+ foreground: "hsla(240, 5%, 65%)",
21
+ subtle: "hsla(240, 5%, 65%)",
22
+ hover: "hsla(240, 4%, 20%)",
23
+ },
19
24
  emphasis: {
20
- foreground: "hsla(251, 91%, 95%)",
21
- DEFAULT: "hsla(255, 92%, 76%)",
22
- subtle: "hsla(252, 95%, 85%)",
23
- hover: "hsla(262, 83%, 58%)",
25
+ foreground: "hsla(199, 89%, 48%)",
26
+ DEFAULT: "hsla(199, 89%, 10%)",
27
+ subtle: "hsla(199, 89%, 15%)",
28
+ hover: "hsla(199, 89%, 40%)",
24
29
  },
25
30
  primary: {
26
- foreground: "hsla(210, 40%, 98%)",
27
- DEFAULT: "hsla(200,98%,39%)",
28
- subtle: "hsla(199, 95%, 87%)",
29
- hover: "hsla(199, 97%, 40%)",
31
+ foreground: "hsla(240, 6%, 10%)",
32
+ DEFAULT: "hsla(201,49%,54%)",
33
+ subtle: "hsla(201,49%,36%)",
34
+ hover: "hsla(201,49%,22%)",
30
35
  },
31
36
  secondary: {
32
- DEFAULT: "hsla(210, 32%, 70%)",
33
- background: "hsla(210, 30%, 81%)",
34
- subtle: "hsla(210, 27%, 88%)",
35
- hover: "hsla(210, 10%, 58%)",
36
- foreground: "hsla(210, 20%, 30%)",
37
+ DEFAULT: "hsla(240, 5%, 96%)",
38
+ background: "hsla(240, 4%, 16%)",
39
+ subtle: "hsla(240, 4%, 20%)",
40
+ hover: "hsla(240, 4%, 25%)",
41
+ foreground: "hsla(240, 5%, 96%)",
37
42
  },
38
43
  info: {
39
- DEFAULT: "hsla(219, 91%, 59%)",
40
- subtle: "hsla(219, 93%, 77%)",
41
- hover: "hsla(219, 83%, 41%)",
42
- foreground: "hsla(210, 40%, 98%)",
43
- notification: "hsla(219, 91%, 59%)",
44
- },
45
- warn: {
46
- DEFAULT: "hsla(27, 96%, 61%)",
47
- subtle: "hsla(45, 95%, 66%)",
48
- hover: "hsla(21, 90%, 48%)",
49
- foreground: "hsla(210, 40%, 98%)",
50
- notification: "hsla(32, 65%, 75%)",
44
+ DEFAULT: "hsla(199, 89%, 48%)",
45
+ subtle: "hsla(199, 89%, 15%)",
46
+ hover: "hsla(199, 89%, 40%)",
47
+ foreground: "hsla(0, 0%, 100%)",
48
+ notification: "hsla(199, 89%, 48%)",
51
49
  },
52
50
  danger: {
53
- DEFAULT: "hsla(358, 65%, 57%)",
54
- subtle: "hsla(0, 94%, 81%)",
55
- hover: "hsla(0, 82%, 47%)",
56
- foreground: "hsla(210, 40%, 98%)",
57
- notification: "hsla(358, 40%, 23%)",
51
+ DEFAULT: "hsla(0, 84%, 60%)",
52
+ subtle: "hsla(0, 84%, 15%)",
53
+ hover: "hsla(0, 84%, 50%)",
54
+ foreground: "hsla(0, 0%, 100%)",
55
+ notification: "hsla(0, 84%, 60%)",
56
+ },
57
+ warn: {
58
+ DEFAULT: "hsla(38, 92%, 50%)",
59
+ subtle: "hsla(38, 92%, 15%)",
60
+ hover: "hsla(38, 92%, 45%)",
61
+ foreground: "hsla(240, 10%, 4%)",
62
+ notification: "hsla(38, 92%, 50%)",
58
63
  },
59
64
  success: {
60
- DEFAULT: "hsla(160, 73%, 36%)",
61
- subtle: "hsla(160, 75%, 75%)",
62
- hover: "hsla(160, 91%, 27%)",
63
- foreground: "hsla(160, 91%, 50%)",
64
- notification: "hsla(160,90%,5%)",
65
+ DEFAULT: "hsla(142, 71%, 45%)",
66
+ subtle: "hsla(142, 71%, 15%)",
67
+ hover: "hsla(142, 71%, 40%)",
68
+ foreground: "hsla(240, 10%, 4%)",
69
+ notification: "hsla(142, 71%, 45%)",
65
70
  },
66
71
  input: {
67
- border: "hsla(240, 4%, 25%)",
68
- placeholder: "hsla(210, 24%, 71%)",
69
- "mask-error": "hsla(0, 94%, 81%)",
70
- "switch-bg": "hsla(0, 0%, 9%)",
72
+ border: "hsla(240, 4%, 16%)",
73
+ placeholder: "hsla(240, 5%, 65%)",
74
+ "mask-error": "hsla(0, 84%, 20%)",
75
+ "switch-bg": "hsla(240, 4%, 16%)",
71
76
  switch: "hsla(0, 0%, 100%)",
72
77
  slider: "hsla(0, 0%, 100%)",
73
78
  },
74
79
  card: {
75
- muted: "hsla(0, 0%, 22%)",
76
- border: "hsla(240, 7%, 20%)",
77
- background: "hsla(0, 0%, 15%)",
80
+ muted: "hsla(240, 4%, 10%)",
81
+ border: "hsla(240, 4%, 11%)",
82
+ background: "hsla(221, 16%, 9%)",
78
83
  },
79
84
  floating: {
80
- foreground: "hsla(210, 40%, 98%)",
81
- background: "hsla(219, 15%, 12%)",
82
- hover: "hsla(221, 10%, 22%)",
83
- border: "hsla(240, 7%, 17%)",
85
+ foreground: "hsla(240, 5%, 96%)",
86
+ background: "hsla(240, 10%, 8%)",
87
+ hover: "hsla(240, 4%, 16%)",
88
+ border: "hsla(240, 4%, 16%)",
84
89
  overlay: "hsla(0, 0%, 0%)",
85
90
  },
86
91
  tooltip: {
87
- foreground: "hsla(210, 40%, 98%)",
88
- background: "hsla(221, 5%, 15%)",
89
- hover: "hsla(221, 10%, 35%)",
90
- border: "hsla(0, 0%, 19%)",
92
+ foreground: "hsla(240, 10%, 4%)",
93
+ background: "hsla(0, 0%, 100%)",
94
+ hover: "hsla(0, 0%, 100%)",
95
+ border: "hsla(0, 0%, 100%)",
91
96
  overlay: "hsla(0, 0%, 0%)",
92
97
  },
93
98
  table: {
94
- header: "hsla(0, 0%, 12%)",
95
- border: "hsla(240, 4%, 20%)",
96
- background: "hsla(0, 0%, 15%)",
99
+ header: "hsla(240, 4%, 10%)",
100
+ border: "hsla(240, 4%, 16%)",
101
+ background: "hsla(240, 10%, 4%)",
97
102
  },
98
103
  button: {
99
104
  primary: {
100
- text: "hsla(200,98%,60%)",
101
- bg: "hsla(200,28%,19%)",
105
+ text: "hsla(221, 52%, 100%)",
106
+ bg: "hsla(201,49%,42%)",
102
107
  },
103
108
  warn: {
104
- text: "hsla(26,100%,67%)",
105
- bg: "hsla(37,100%,15%)",
109
+ text: "hsla(240, 10%, 4%)",
110
+ bg: "hsla(38, 92%, 50%)",
106
111
  },
107
112
  info: {
108
- text: "hsla(200,80%,70%)",
109
- bg: "hsla(206,66%,24%)",
113
+ text: "hsla(0, 0%, 100%)",
114
+ bg: "hsla(199, 89%, 48%)",
110
115
  },
111
116
  success: {
112
- text: "hsla(151,65%,54%)",
113
- bg: "hsla(154,52%,19%)",
117
+ text: "hsla(240, 10%, 4%)",
118
+ bg: "hsla(142, 71%, 45%)",
114
119
  },
115
120
  danger: {
116
- text: "hsla(2,100%,90%)",
117
- bg: "hsla(5,62%,23%)",
121
+ text: "hsla(0, 0%, 100%)",
122
+ bg: "hsla(0, 84%, 60%)",
118
123
  },
119
124
  muted: {
120
- text: "hsla(0, 100%, 100%)",
121
- bg: "hsla(0, 0%, 12%)",
125
+ text: "hsla(240, 5%, 96%)",
126
+ bg: "hsla(240, 4%, 16%)",
122
127
  },
123
128
  neutral: {
124
- text: "hsla(200,98%,60%)",
125
- bg: "hsla(200,28%,19%)",
129
+ text: "hsla(240, 5%, 96%)",
130
+ bg: "hsla(240, 4%, 16%)",
126
131
  },
127
132
  secondary: {
128
- text: "hsla(216,10%,90%)",
129
- bg: "hsla(214,7%,19%)",
133
+ text: "hsla(240, 10%, 4%)",
134
+ bg: "hsla(0, 0%, 100%)",
130
135
  },
131
136
  },
132
137
  tag: {
133
138
  primary: {
134
- text: "hsla(200,98%,60%)",
135
- bg: "hsla(200,28%,19%)",
139
+ text: "hsla(0, 0%, 100%)",
140
+ bg: "hsla(240, 4%, 20%)",
136
141
  },
137
142
  warn: {
138
- text: "hsla(26,100%,67%)",
139
- bg: "hsla(37,100%,15%)",
143
+ text: "hsla(38, 92%, 70%)",
144
+ bg: "hsla(38, 92%, 15%)",
140
145
  },
141
146
  info: {
142
- text: "hsla(200,80%,70%)",
143
- bg: "hsla(206,66%,24%)",
147
+ text: "hsla(199, 89%, 70%)",
148
+ bg: "hsla(199, 89%, 15%)",
144
149
  },
145
150
  success: {
146
- text: "hsla(151,65%,54%)",
147
- bg: "hsla(154,52%,19%)",
151
+ text: "hsla(142, 71%, 70%)",
152
+ bg: "hsla(142, 71%, 15%)",
148
153
  },
149
154
  danger: {
150
- text: "hsla(2,100%,79%)",
151
- bg: "hsla(5,62%,23%)",
155
+ text: "hsla(0, 84%, 70%)",
156
+ bg: "hsla(0, 84%, 15%)",
152
157
  },
153
158
  neutral: {
154
- text: "hsla(200,98%,60%)",
155
- bg: "hsla(200,28%,19%)",
159
+ text: "hsla(240, 5%, 96%)",
160
+ bg: "hsla(240, 4%, 16%)",
156
161
  },
157
162
  secondary: {
158
- text: "hsla(216,10%,90%)",
159
- bg: "hsla(214,7%,19%)",
163
+ text: "hsla(240, 10%, 4%)",
164
+ bg: "hsla(0, 0%, 100%)",
160
165
  },
161
166
  muted: {
162
- text: "hsla(0, 100%, 100%)",
163
- bg: "hsla(0, 0%, 12%)",
167
+ text: "hsla(240, 5%, 96%)",
168
+ bg: "hsla(240, 4%, 16%)",
164
169
  },
165
170
  },
166
171
  alert: {
167
172
  primary: {
168
- text: "hsla(210,100%,72%)",
169
- border: "hsla(212,69%,16%)",
170
- bg: "hsla(215,42%,9%)",
173
+ text: "hsla(199, 89%, 80%)",
174
+ border: "hsla(199, 89%, 25%)",
175
+ bg: "hsla(199, 89%, 12%)",
171
176
  },
172
177
  warn: {
173
- bg: "hsla(28,33%,9%)",
174
- border: "hsla(29,65%,12%)",
175
- text: "hsla(27,100%,78%)",
178
+ bg: "hsla(38, 92%, 12%)",
179
+ border: "hsla(38, 92%, 25%)",
180
+ text: "hsla(38, 92%, 80%)",
176
181
  },
177
182
  info: {
178
- text: "hsla(253,100%,83%)",
179
- bg: "hsla(263,28%,11%)",
180
- border: "hsla(252,34%,51%)",
183
+ text: "hsla(199, 89%, 80%)",
184
+ bg: "hsla(199, 89%, 12%)",
185
+ border: "hsla(199, 89%, 25%)",
181
186
  },
182
187
  success: {
183
- text: "hsla(144,79%,79%)",
184
- bg: "hsla(153,20%,9%)",
185
- border: "hsla(144,70%,14%)",
188
+ text: "hsla(142, 71%, 80%)",
189
+ bg: "hsla(142, 71%, 12%)",
190
+ border: "hsla(142, 71%, 25%)",
186
191
  },
187
192
  danger: {
188
- text: "hsla(350,100%,91%)",
189
- bg: "hsla(355,25%,15%)",
190
- border: "hsla(355,25%,10%)",
193
+ text: "hsla(0, 84%, 80%)",
194
+ bg: "hsla(0, 84%, 12%)",
195
+ border: "hsla(0, 84%, 25%)",
191
196
  },
192
197
  neutral: {
193
- text: "hsla(200,98%,60%)",
194
- bg: "hsla(200,28%,19%)",
195
- border: "hsla(200,90%,89%)",
198
+ text: "hsla(240, 5%, 96%)",
199
+ bg: "hsla(240, 4%, 16%)",
200
+ border: "hsla(240, 4%, 20%)",
196
201
  },
197
202
  secondary: {
198
- text: "hsla(220,9%,94%)",
199
- bg: "hsla(220,6%,10%)",
200
- border: "hsla(214,7%,19%)",
203
+ text: "hsla(240, 10%, 4%)",
204
+ bg: "hsla(0, 0%, 100%)",
205
+ border: "hsla(0, 0%, 100%)",
201
206
  },
202
207
  muted: {
203
- bg: "hsla(0, 0%, 12%)",
204
- border: "hsla(0, 0%, 40%)",
205
- text: "hsla(0, 100%, 100%)",
208
+ bg: "hsla(240, 4%, 16%)",
209
+ border: "hsla(240, 4%, 20%)",
210
+ text: "hsla(240, 5%, 96%)",
206
211
  },
207
212
  },
208
213
  },
@@ -1 +1 @@
1
- {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/styles/light.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,eAAO,MAAM,WAAW,EAAE,YA+MzB,CAAC"}
1
+ {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../src/styles/light.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,eAAO,MAAM,WAAW,EAAE,YAoNzB,CAAC"}
@@ -11,198 +11,203 @@ export const LIGHT_THEME = {
11
11
  },
12
12
  zIndex,
13
13
  colors: {
14
- foreground: "hsla(217, 15%, 30%)",
15
- background: "hsla(210, 40%, 98%)",
16
- border: "hsla(210, 25%, 88%)",
17
- muted: "hsla(210, 30%, 86%)",
18
- disabled: "hsla(240, 10%, 78%)",
14
+ foreground: "hsla(221, 15%, 23%)",
15
+ background: "hsla(0, 0%, 100%)",
16
+ border: "hsla(240, 6%, 90%)",
17
+ muted: {
18
+ DEFAULT: "hsla(240, 5%, 96%)",
19
+ foreground: "hsla(240, 4%, 46%)",
20
+ subtle: "hsla(240, 4%, 46%)",
21
+ hover: "hsla(240, 5%, 96%)",
22
+ },
23
+ disabled: "hsla(240, 5%, 96%)",
19
24
  emphasis: {
20
- foreground: "hsla(251,91%,95%)",
21
- DEFAULT: "hsla(255,92%,76%)",
22
- subtle: "hsla(252,95%,85%)",
23
- hover: "hsla(262,83%,58%)",
25
+ foreground: "hsla(199, 89%, 48%)",
26
+ DEFAULT: "hsla(199, 89%, 96%)",
27
+ subtle: "hsla(199, 89%, 92%)",
28
+ hover: "hsla(199, 89%, 40%)",
24
29
  },
25
30
  primary: {
26
- foreground: "hsla(210, 40%, 98%)",
27
- DEFAULT: "hsla(199, 89%, 54%)",
28
- subtle: "hsla(199, 95%, 87%)",
29
- hover: "hsla(199, 97%, 40%)",
31
+ foreground: "hsla(240, 6%, 10%)",
32
+ DEFAULT: "hsla(201,49%,54%)",
33
+ subtle: "hsla(201,49%,36%)",
34
+ hover: "hsla(201,49%,22%)",
30
35
  },
31
36
  secondary: {
32
- background: "hsla(210, 25%, 35%)",
33
- DEFAULT: "hsla(210, 25%, 45%)",
34
- subtle: "hsla(207, 29%, 39%)",
35
- hover: "hsla(210, 21%, 67%)",
36
- foreground: "hsla(210, 40%, 98%)",
37
+ background: "hsla(240, 5%, 96%)",
38
+ DEFAULT: "hsla(240, 6%, 10%)",
39
+ subtle: "hsla(240, 5%, 96%)",
40
+ hover: "hsla(240, 6%, 15%)",
41
+ foreground: "hsla(0, 0%, 100%)",
37
42
  },
38
43
  info: {
39
- DEFAULT: "hsla(219, 91%, 59%)",
40
- subtle: "hsla(219, 70%, 90%)",
41
- hover: "hsla(219, 83%, 41%)",
42
- foreground: "hsla(210, 34%, 96%)",
43
- notification: "hsla(219, 91%, 59%)",
44
+ DEFAULT: "hsla(199, 89%, 48%)",
45
+ subtle: "hsla(199, 89%, 96%)",
46
+ hover: "hsla(199, 89%, 40%)",
47
+ foreground: "hsla(0, 0%, 100%)",
48
+ notification: "hsla(199, 89%, 48%)",
44
49
  },
45
50
  danger: {
46
- DEFAULT: "hsla(0, 82%, 63%)",
47
- subtle: "hsla(0, 96%, 95%)",
48
- hover: "hsla(0, 82%, 47%)",
49
- foreground: "hsla(210, 34%, 96%)",
50
- notification: "hsla(0, 100%, 87%)",
51
+ DEFAULT: "hsla(0, 84%, 60%)",
52
+ subtle: "hsla(0, 84%, 96%)",
53
+ hover: "hsla(0, 84%, 50%)",
54
+ foreground: "hsla(0, 0%, 100%)",
55
+ notification: "hsla(0, 84%, 60%)",
51
56
  },
52
57
  warn: {
53
- DEFAULT: "hsla(27, 100%, 70%)",
54
- subtle: "hsla(45, 95%, 80%)",
55
- hover: "hsla(29, 85%, 50%)",
56
- foreground: "hsla(210, 34%, 96%)",
57
- notification: "hsla(27, 85%, 92%)",
58
+ DEFAULT: "hsla(38, 92%, 50%)",
59
+ subtle: "hsla(38, 92%, 96%)",
60
+ hover: "hsla(38, 92%, 45%)",
61
+ foreground: "hsla(0, 0%, 100%)",
62
+ notification: "hsla(38, 92%, 50%)",
58
63
  },
59
64
  success: {
60
- DEFAULT: "hsla(160, 73%, 36%)",
61
- subtle: "hsla(160, 75%, 90%)",
62
- hover: "hsla(160, 91%, 27%)",
63
- foreground: "hsla(160, 91%, 17%)",
64
- notification: "hsla(160, 75%, 80%)",
65
+ DEFAULT: "hsla(142, 71%, 45%)",
66
+ subtle: "hsla(142, 71%, 96%)",
67
+ hover: "hsla(142, 71%, 40%)",
68
+ foreground: "hsla(0, 0%, 100%)",
69
+ notification: "hsla(142, 71%, 45%)",
65
70
  },
66
71
  input: {
67
- border: "hsla(218, 22%, 85%)",
68
- placeholder: "hsla(210, 24%, 71%)",
69
- "mask-error": "hsla(0, 94%, 81%)",
70
- "switch-bg": "hsla(0, 0%, 45%)",
72
+ border: "hsla(240, 6%, 90%)",
73
+ placeholder: "hsla(240, 4%, 46%)",
74
+ "mask-error": "hsla(0, 84%, 96%)",
75
+ "switch-bg": "hsla(240, 6%, 90%)",
71
76
  switch: "hsla(0, 0%, 100%)",
72
- slider: "hsla(0, 0%, 100%)",
77
+ slider: "hsla(199, 89%, 48%)",
73
78
  },
74
79
  card: {
75
- muted: "hsla(210, 25%, 94%)",
76
- border: "hsla(210, 25%, 95%)",
80
+ muted: "hsla(240, 5%, 96%)",
81
+ border: "hsla(240, 6%, 90%)",
77
82
  background: "hsla(0, 0%, 100%)",
78
83
  },
79
84
  floating: {
80
- foreground: "hsla(217, 15%, 20%)",
85
+ foreground: "hsla(240, 10%, 4%)",
81
86
  background: "hsla(0, 0%, 100%)",
82
- hover: "hsla(0, 0%, 92%)",
83
- border: "hsla(210, 25%, 88%)",
84
- overlay: "hsla(0, 0%, 0%)",
87
+ hover: "hsla(240, 5%, 96%)",
88
+ border: "hsla(240, 6%, 90%)",
89
+ overlay: "hsla(240, 10%, 4%)",
85
90
  },
86
91
  tooltip: {
87
- foreground: "hsla(217, 15%, 20%)",
88
- background: "hsla(210, 25%, 98%)",
89
- hover: "hsla(210, 25%, 92%)",
90
- border: "hsla(200, 1%, 80%)",
92
+ foreground: "hsla(0, 0%, 100%)",
93
+ background: "hsla(240, 10%, 4%)",
94
+ hover: "hsla(240, 10%, 4%)",
95
+ border: "hsla(240, 10%, 4%)",
91
96
  overlay: "hsla(0, 0%, 0%)",
92
97
  },
93
98
  table: {
94
- header: "hsla(210, 20%, 98%)",
99
+ header: "hsla(240, 5%, 96%)",
95
100
  background: "hsla(0, 0%, 100%)",
96
- border: "hsla(210, 20%, 92%)",
101
+ border: "hsla(240, 6%, 90%)",
97
102
  },
98
103
  button: {
99
104
  muted: {
100
- bg: "hsla(210, 30%, 86%)",
101
- text: "hsla(210, 10%, 15%)",
105
+ bg: "hsla(240, 5%, 96%)",
106
+ text: "hsla(240, 6%, 10%)",
102
107
  },
103
108
  primary: {
104
109
  text: "hsla(0, 0%, 100%)",
105
- bg: "hsla(207,96%,48%)",
110
+ bg: "hsla(201,49%,54%)",
106
111
  },
107
112
  warn: {
108
- bg: "hsla(26,90%,60%)",
113
+ bg: "hsla(38, 92%, 50%)",
109
114
  text: "hsla(0, 0%, 100%)",
110
115
  },
111
116
  info: {
112
117
  text: "hsla(0, 0%, 100%)",
113
- bg: "hsla(210,60%,60%)",
118
+ bg: "hsla(199, 89%, 48%)",
114
119
  },
115
120
  success: {
116
121
  text: "hsla(0, 0%, 100%)",
117
- bg: "hsla(152,56%,39%)",
122
+ bg: "hsla(142, 71%, 45%)",
118
123
  },
119
124
  danger: {
120
125
  text: "hsla(0, 0%, 100%)",
121
- bg: "hsla(10,78%,54%)",
126
+ bg: "hsla(0, 84%, 60%)",
122
127
  },
123
128
  neutral: {
124
- text: "hsla(200,98%,60%)",
125
- bg: "hsla(200,28%,19%)",
129
+ text: "hsla(240, 6%, 10%)",
130
+ bg: "hsla(240, 5%, 96%)",
126
131
  },
127
132
  secondary: {
128
- text: "hsla(216,10%,90%)",
129
- bg: "hsla(214,7%,19%)",
133
+ text: "hsla(0, 0%, 100%)",
134
+ bg: "hsla(240, 6%, 10%)",
130
135
  },
131
136
  },
132
137
  tag: {
133
138
  muted: {
134
- bg: "hsla(210, 30%, 92%)",
135
- text: "hsla(210, 10%, 25%)",
139
+ bg: "hsla(240, 5%, 96%)",
140
+ text: "hsla(240, 4%, 46%)",
136
141
  },
137
142
  primary: {
138
- text: "hsla(0, 0%, 100%)",
139
- bg: "hsla(207,70%,55%)",
143
+ text: "hsla(199, 89%, 48%)",
144
+ bg: "hsla(199, 89%, 96%)",
140
145
  },
141
146
  warn: {
142
- bg: "hsla(30,100%,82%)",
143
- text: "hsla(23,100%,40%)",
147
+ bg: "hsla(38, 92%, 96%)",
148
+ text: "hsla(38, 92%, 40%)",
144
149
  },
145
150
  info: {
146
- text: "hsla(196,100%,20%)",
147
- bg: "hsla(197,65%,80%)",
151
+ text: "hsla(199, 89%, 40%)",
152
+ bg: "hsla(199, 89%, 96%)",
148
153
  },
149
154
  success: {
150
- text: "hsla(154,52%,19%)",
151
- bg: "hsla(152,56%,80%)",
155
+ text: "hsla(142, 71%, 35%)",
156
+ bg: "hsla(142, 71%, 96%)",
152
157
  },
153
158
  danger: {
154
- text: "hsla(10,82%,45%)",
155
- bg: "hsla(359,94%,92%)",
159
+ text: "hsla(0, 84%, 45%)",
160
+ bg: "hsla(0, 84%, 96%)",
156
161
  },
157
162
  neutral: {
158
- text: "hsla(200,98%,60%)",
159
- bg: "hsla(200,28%,19%)",
163
+ text: "hsla(240, 6%, 10%)",
164
+ bg: "hsla(240, 5%, 96%)",
160
165
  },
161
166
  secondary: {
162
- text: "hsla(216,10%,90%)",
163
- bg: "hsla(214,7%,19%)",
167
+ text: "hsla(0, 0%, 100%)",
168
+ bg: "hsla(240, 6%, 10%)",
164
169
  },
165
170
  },
166
171
  alert: {
167
172
  muted: {
168
- bg: "hsla(210, 30%, 86%)",
169
- text: "hsla(210, 30%, 86%)",
170
- border: "hsla(210, 10%, 70%)",
173
+ bg: "hsla(240, 5%, 96%)",
174
+ text: "hsla(240, 6%, 10%)",
175
+ border: "hsla(240, 6%, 90%)",
171
176
  },
172
177
  primary: {
173
- text: "hsla(206,70%,50%)",
174
- border: "hsla(206,90%,89%)",
175
- bg: "hsla(205,92%,95%)",
178
+ text: "hsla(199, 89%, 40%)",
179
+ border: "hsla(199, 89%, 90%)",
180
+ bg: "hsla(199, 89%, 98%)",
176
181
  },
177
182
  warn: {
178
- bg: "hsla(23,100%,96%)",
179
- text: "hsla(23,93%,53%)",
180
- border: "hsla(33,100%,85%)",
183
+ bg: "hsla(38, 92%, 98%)",
184
+ text: "hsla(38, 92%, 35%)",
185
+ border: "hsla(38, 92%, 90%)",
181
186
  },
182
187
  info: {
183
- text: "hsla(252,56%,57%)",
184
- bg: "hsla(256,100%,95%)",
185
- border: "hsla(252,76%,84%)",
188
+ text: "hsla(199, 89%, 35%)",
189
+ bg: "hsla(199, 89%, 98%)",
190
+ border: "hsla(199, 89%, 90%)",
186
191
  },
187
192
  success: {
188
- text: "hsla(152,56%,39%)",
189
- bg: "hsla(139,47%,93%)",
190
- border: "hsla(152,58%,78%)",
193
+ text: "hsla(142, 71%, 30%)",
194
+ bg: "hsla(142, 71%, 98%)",
195
+ border: "hsla(142, 71%, 90%)",
191
196
  },
192
197
  danger: {
193
- text: "hsla(358,69%,55%)",
194
- bg: "hsla(357,90%,96%)",
195
- border: "hsla(359,100%,90%)",
198
+ text: "hsla(0, 84%, 40%)",
199
+ bg: "hsla(0, 84%, 98%)",
200
+ border: "hsla(0, 84%, 90%)",
196
201
  },
197
202
  neutral: {
198
- text: "hsla(200,98%,60%)",
199
- bg: "hsla(200,28%,19%)",
200
- border: "hsla(200,90%,89%)",
203
+ text: "hsla(240, 6%, 10%)",
204
+ bg: "hsla(240, 5%, 96%)",
205
+ border: "hsla(240, 6%, 90%)",
201
206
  },
202
207
  secondary: {
203
- text: "hsla(216,10%,10%)",
204
- bg: "hsla(214,7%,92%)",
205
- border: "hsla(216,22%,78%)",
208
+ text: "hsla(0, 0%, 100%)",
209
+ bg: "hsla(240, 6%, 10%)",
210
+ border: "hsla(240, 6%, 10%)",
206
211
  },
207
212
  },
208
213
  },