@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.
- package/dist/components/core/button.d.ts +2 -8
- package/dist/components/core/button.d.ts.map +1 -1
- package/dist/components/core/button.jsx +11 -18
- package/dist/components/core/polymorph.d.ts.map +1 -1
- package/dist/components/core/slot.d.ts +1 -1
- package/dist/components/core/slot.d.ts.map +1 -1
- package/dist/components/core/slot.jsx +28 -35
- package/dist/components/core/tag.d.ts +1 -1
- package/dist/components/core/tag.d.ts.map +1 -1
- package/dist/components/core/tag.jsx +3 -3
- package/dist/components/core/typography.d.ts.map +1 -1
- package/dist/components/core/typography.jsx +16 -20
- package/dist/components/display/alert.d.ts.map +1 -1
- package/dist/components/display/alert.jsx +19 -17
- package/dist/components/display/calendar.d.ts.map +1 -1
- package/dist/components/display/calendar.jsx +6 -8
- package/dist/components/display/card.d.ts.map +1 -1
- package/dist/components/display/card.jsx +6 -6
- package/dist/components/display/empty.jsx +1 -1
- package/dist/components/display/notifications.d.ts +2 -0
- package/dist/components/display/notifications.d.ts.map +1 -1
- package/dist/components/display/notifications.jsx +76 -48
- package/dist/components/display/progress.d.ts.map +1 -1
- package/dist/components/display/progress.jsx +7 -9
- package/dist/components/display/shortcut.jsx +1 -1
- package/dist/components/display/skeleton.d.ts.map +1 -1
- package/dist/components/display/skeleton.jsx +3 -5
- package/dist/components/display/step.d.ts.map +1 -1
- package/dist/components/display/step.jsx +27 -27
- package/dist/components/display/tabs.d.ts.map +1 -1
- package/dist/components/display/tabs.jsx +5 -7
- package/dist/components/display/timeline.jsx +1 -1
- package/dist/components/floating/command-palette.d.ts +1 -0
- package/dist/components/floating/command-palette.d.ts.map +1 -1
- package/dist/components/floating/command-palette.jsx +92 -70
- package/dist/components/floating/dropdown.d.ts.map +1 -1
- package/dist/components/floating/dropdown.jsx +15 -15
- package/dist/components/floating/menu.d.ts +2 -2
- package/dist/components/floating/menu.jsx +2 -2
- package/dist/components/floating/modal.d.ts +20 -53
- package/dist/components/floating/modal.d.ts.map +1 -1
- package/dist/components/floating/modal.jsx +109 -51
- package/dist/components/floating/tooltip.d.ts.map +1 -1
- package/dist/components/floating/tooltip.jsx +2 -8
- package/dist/components/floating/wizard.d.ts +1 -1
- package/dist/components/floating/wizard.d.ts.map +1 -1
- package/dist/components/floating/wizard.jsx +50 -53
- package/dist/components/form/autocomplete.d.ts.map +1 -1
- package/dist/components/form/autocomplete.jsx +42 -38
- package/dist/components/form/checkbox.jsx +3 -3
- package/dist/components/form/date-picker.d.ts.map +1 -1
- package/dist/components/form/date-picker.jsx +14 -14
- package/dist/components/form/file-upload.jsx +13 -13
- package/dist/components/form/free-text.d.ts.map +1 -1
- package/dist/components/form/free-text.jsx +3 -3
- package/dist/components/form/input-field.d.ts +3 -2
- package/dist/components/form/input-field.d.ts.map +1 -1
- package/dist/components/form/input-field.jsx +43 -41
- package/dist/components/form/multi-select.d.ts.map +1 -1
- package/dist/components/form/multi-select.jsx +56 -56
- package/dist/components/form/select.d.ts.map +1 -1
- package/dist/components/form/select.jsx +3 -3
- package/dist/components/form/slider.d.ts.map +1 -1
- package/dist/components/form/slider.jsx +10 -10
- package/dist/components/form/switch.jsx +2 -2
- package/dist/components/form/transfer-list.jsx +3 -3
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/page-calendar/calendar-header.d.ts +16 -0
- package/dist/components/page-calendar/calendar-header.d.ts.map +1 -0
- package/dist/components/page-calendar/calendar-header.jsx +81 -0
- package/dist/components/page-calendar/day-view.d.ts +12 -0
- package/dist/components/page-calendar/day-view.d.ts.map +1 -0
- package/dist/components/page-calendar/day-view.jsx +87 -0
- package/dist/components/page-calendar/event-pill.d.ts +9 -0
- package/dist/components/page-calendar/event-pill.d.ts.map +1 -0
- package/dist/components/page-calendar/event-pill.jsx +25 -0
- package/dist/components/page-calendar/index.d.ts +4 -0
- package/dist/components/page-calendar/index.d.ts.map +1 -0
- package/dist/components/page-calendar/index.js +2 -0
- package/dist/components/page-calendar/month-view.d.ts +11 -0
- package/dist/components/page-calendar/month-view.d.ts.map +1 -0
- package/dist/components/page-calendar/month-view.jsx +47 -0
- package/dist/components/page-calendar/page-calendar.d.ts +18 -0
- package/dist/components/page-calendar/page-calendar.d.ts.map +1 -0
- package/dist/components/page-calendar/page-calendar.jsx +41 -0
- package/dist/components/page-calendar/page-calendar.types.d.ts +18 -0
- package/dist/components/page-calendar/page-calendar.types.d.ts.map +1 -0
- package/dist/components/page-calendar/page-calendar.types.js +1 -0
- package/dist/components/page-calendar/page-calendar.utils.d.ts +18 -0
- package/dist/components/page-calendar/page-calendar.utils.d.ts.map +1 -0
- package/dist/components/page-calendar/page-calendar.utils.js +71 -0
- package/dist/components/page-calendar/week-view.d.ts +11 -0
- package/dist/components/page-calendar/week-view.d.ts.map +1 -0
- package/dist/components/page-calendar/week-view.jsx +64 -0
- package/dist/components/table/filter.jsx +4 -4
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/index.jsx +10 -10
- package/dist/components/table/inner-table.d.ts.map +1 -1
- package/dist/components/table/inner-table.jsx +18 -18
- package/dist/components/table/metadata.d.ts.map +1 -1
- package/dist/components/table/metadata.jsx +29 -30
- package/dist/components/table/pagination.jsx +1 -1
- package/dist/components/table/row.d.ts.map +1 -1
- package/dist/components/table/row.jsx +17 -17
- package/dist/components/table/sort.jsx +1 -1
- package/dist/components/table/table-lib.d.ts.map +1 -1
- package/dist/components/table/table-lib.js +1 -2
- package/dist/components/table/thead.d.ts.map +1 -1
- package/dist/components/table/thead.jsx +6 -6
- package/dist/config/context.d.ts.map +1 -1
- package/dist/config/default-translations.d.ts +17 -0
- package/dist/config/default-translations.d.ts.map +1 -1
- package/dist/config/default-translations.jsx +18 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/hooks/use-components-provider.d.ts.map +1 -1
- package/dist/hooks/use-components-provider.jsx +4 -1
- package/dist/hooks/use-form.d.ts +11 -11
- package/dist/hooks/use-form.d.ts.map +1 -1
- package/dist/hooks/use-form.js +1 -0
- package/dist/hooks/use-input-id.d.ts.map +1 -1
- package/dist/hooks/use-is-coarse-device.js +1 -1
- package/dist/hooks/use-preferences.d.ts.map +1 -1
- package/dist/hooks/use-previous.d.ts.map +1 -1
- package/dist/hooks/use-previous.js +1 -0
- package/dist/hooks/use-reactive.d.ts.map +1 -1
- package/dist/hooks/use-reactive.js +1 -0
- package/dist/hooks/use-resize-observer.d.ts.map +1 -1
- package/dist/hooks/use-stable-ref.d.ts.map +1 -1
- package/dist/hooks/use-stable-ref.js +1 -0
- package/dist/hooks/use-swipe.d.ts.map +1 -1
- package/dist/hooks/use-swipe.js +1 -0
- package/dist/hooks/use-translations.d.ts +17 -0
- package/dist/hooks/use-translations.d.ts.map +1 -1
- package/dist/index.css +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13689 -12344
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +24 -17
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/dom.d.ts +1 -0
- package/dist/lib/dom.d.ts.map +1 -1
- package/dist/lib/dom.js +20 -2
- package/dist/lib/fns.d.ts.map +1 -1
- package/dist/lib/fns.js +2 -2
- package/dist/preset/plugin.tailwind.d.ts +9 -0
- package/dist/preset/plugin.tailwind.d.ts.map +1 -0
- package/dist/preset/plugin.tailwind.js +27 -0
- package/dist/preset/preset.tailwind.d.ts +8 -0
- package/dist/preset/preset.tailwind.d.ts.map +1 -0
- package/dist/preset/preset.tailwind.js +54 -0
- package/dist/preset/src/styles/common.d.ts +2 -14
- package/dist/preset/src/styles/common.d.ts.map +1 -1
- package/dist/preset/src/styles/common.js +1 -0
- package/dist/preset/src/styles/dark.d.ts.map +1 -1
- package/dist/preset/src/styles/dark.js +119 -114
- package/dist/preset/src/styles/light.d.ts.map +1 -1
- package/dist/preset/src/styles/light.js +111 -106
- package/dist/preset/src/styles/theme.types.d.ts +17 -8
- package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
- package/dist/styles/common.d.ts +2 -14
- package/dist/styles/common.d.ts.map +1 -1
- package/dist/styles/common.js +1 -0
- package/dist/styles/dark.d.ts.map +1 -1
- package/dist/styles/dark.js +119 -114
- package/dist/styles/light.d.ts.map +1 -1
- package/dist/styles/light.js +111 -106
- package/dist/styles/theme.types.d.ts +17 -8
- package/dist/styles/theme.types.d.ts.map +1 -1
- package/package.json +299 -301
- package/dist/preset/tailwindcssv4.d.ts +0 -3
- package/dist/preset/tailwindcssv4.d.ts.map +0 -1
- package/dist/preset/tailwindcssv4.js +0 -75
package/dist/styles/dark.js
CHANGED
|
@@ -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(
|
|
15
|
-
background: "hsla(
|
|
16
|
-
border: "hsla(240,
|
|
17
|
-
|
|
18
|
-
|
|
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(
|
|
21
|
-
DEFAULT: "hsla(
|
|
22
|
-
subtle: "hsla(
|
|
23
|
-
hover: "hsla(
|
|
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(
|
|
27
|
-
DEFAULT: "hsla(
|
|
28
|
-
subtle: "hsla(
|
|
29
|
-
hover: "hsla(
|
|
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(
|
|
33
|
-
background: "hsla(
|
|
34
|
-
subtle: "hsla(
|
|
35
|
-
hover: "hsla(
|
|
36
|
-
foreground: "hsla(
|
|
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(
|
|
40
|
-
subtle: "hsla(
|
|
41
|
-
hover: "hsla(
|
|
42
|
-
foreground: "hsla(
|
|
43
|
-
notification: "hsla(
|
|
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(
|
|
54
|
-
subtle: "hsla(0,
|
|
55
|
-
hover: "hsla(0,
|
|
56
|
-
foreground: "hsla(
|
|
57
|
-
notification: "hsla(
|
|
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(
|
|
61
|
-
subtle: "hsla(
|
|
62
|
-
hover: "hsla(
|
|
63
|
-
foreground: "hsla(
|
|
64
|
-
notification: "hsla(
|
|
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%,
|
|
68
|
-
placeholder: "hsla(
|
|
69
|
-
"mask-error": "hsla(0,
|
|
70
|
-
"switch-bg": "hsla(
|
|
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(
|
|
76
|
-
border: "hsla(240,
|
|
77
|
-
background: "hsla(
|
|
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(
|
|
81
|
-
background: "hsla(
|
|
82
|
-
hover: "hsla(
|
|
83
|
-
border: "hsla(240,
|
|
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(
|
|
88
|
-
background: "hsla(
|
|
89
|
-
hover: "hsla(
|
|
90
|
-
border: "hsla(0, 0%,
|
|
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(
|
|
95
|
-
border: "hsla(240, 4%,
|
|
96
|
-
background: "hsla(
|
|
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(
|
|
101
|
-
bg: "hsla(
|
|
105
|
+
text: "hsla(221, 52%, 100%)",
|
|
106
|
+
bg: "hsla(201,49%,42%)",
|
|
102
107
|
},
|
|
103
108
|
warn: {
|
|
104
|
-
text: "hsla(
|
|
105
|
-
bg: "hsla(
|
|
109
|
+
text: "hsla(240, 10%, 4%)",
|
|
110
|
+
bg: "hsla(38, 92%, 50%)",
|
|
106
111
|
},
|
|
107
112
|
info: {
|
|
108
|
-
text: "hsla(
|
|
109
|
-
bg: "hsla(
|
|
113
|
+
text: "hsla(0, 0%, 100%)",
|
|
114
|
+
bg: "hsla(199, 89%, 48%)",
|
|
110
115
|
},
|
|
111
116
|
success: {
|
|
112
|
-
text: "hsla(
|
|
113
|
-
bg: "hsla(
|
|
117
|
+
text: "hsla(240, 10%, 4%)",
|
|
118
|
+
bg: "hsla(142, 71%, 45%)",
|
|
114
119
|
},
|
|
115
120
|
danger: {
|
|
116
|
-
text: "hsla(
|
|
117
|
-
bg: "hsla(
|
|
121
|
+
text: "hsla(0, 0%, 100%)",
|
|
122
|
+
bg: "hsla(0, 84%, 60%)",
|
|
118
123
|
},
|
|
119
124
|
muted: {
|
|
120
|
-
text: "hsla(
|
|
121
|
-
bg: "hsla(
|
|
125
|
+
text: "hsla(240, 5%, 96%)",
|
|
126
|
+
bg: "hsla(240, 4%, 16%)",
|
|
122
127
|
},
|
|
123
128
|
neutral: {
|
|
124
|
-
text: "hsla(
|
|
125
|
-
bg: "hsla(
|
|
129
|
+
text: "hsla(240, 5%, 96%)",
|
|
130
|
+
bg: "hsla(240, 4%, 16%)",
|
|
126
131
|
},
|
|
127
132
|
secondary: {
|
|
128
|
-
text: "hsla(
|
|
129
|
-
bg: "hsla(
|
|
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(
|
|
135
|
-
bg: "hsla(
|
|
139
|
+
text: "hsla(0, 0%, 100%)",
|
|
140
|
+
bg: "hsla(240, 4%, 20%)",
|
|
136
141
|
},
|
|
137
142
|
warn: {
|
|
138
|
-
text: "hsla(
|
|
139
|
-
bg: "hsla(
|
|
143
|
+
text: "hsla(38, 92%, 70%)",
|
|
144
|
+
bg: "hsla(38, 92%, 15%)",
|
|
140
145
|
},
|
|
141
146
|
info: {
|
|
142
|
-
text: "hsla(
|
|
143
|
-
bg: "hsla(
|
|
147
|
+
text: "hsla(199, 89%, 70%)",
|
|
148
|
+
bg: "hsla(199, 89%, 15%)",
|
|
144
149
|
},
|
|
145
150
|
success: {
|
|
146
|
-
text: "hsla(
|
|
147
|
-
bg: "hsla(
|
|
151
|
+
text: "hsla(142, 71%, 70%)",
|
|
152
|
+
bg: "hsla(142, 71%, 15%)",
|
|
148
153
|
},
|
|
149
154
|
danger: {
|
|
150
|
-
text: "hsla(
|
|
151
|
-
bg: "hsla(
|
|
155
|
+
text: "hsla(0, 84%, 70%)",
|
|
156
|
+
bg: "hsla(0, 84%, 15%)",
|
|
152
157
|
},
|
|
153
158
|
neutral: {
|
|
154
|
-
text: "hsla(
|
|
155
|
-
bg: "hsla(
|
|
159
|
+
text: "hsla(240, 5%, 96%)",
|
|
160
|
+
bg: "hsla(240, 4%, 16%)",
|
|
156
161
|
},
|
|
157
162
|
secondary: {
|
|
158
|
-
text: "hsla(
|
|
159
|
-
bg: "hsla(
|
|
163
|
+
text: "hsla(240, 10%, 4%)",
|
|
164
|
+
bg: "hsla(0, 0%, 100%)",
|
|
160
165
|
},
|
|
161
166
|
muted: {
|
|
162
|
-
text: "hsla(
|
|
163
|
-
bg: "hsla(
|
|
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(
|
|
169
|
-
border: "hsla(
|
|
170
|
-
bg: "hsla(
|
|
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(
|
|
174
|
-
border: "hsla(
|
|
175
|
-
text: "hsla(
|
|
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(
|
|
179
|
-
bg: "hsla(
|
|
180
|
-
border: "hsla(
|
|
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(
|
|
184
|
-
bg: "hsla(
|
|
185
|
-
border: "hsla(
|
|
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(
|
|
189
|
-
bg: "hsla(
|
|
190
|
-
border: "hsla(
|
|
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(
|
|
194
|
-
bg: "hsla(
|
|
195
|
-
border: "hsla(
|
|
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(
|
|
199
|
-
bg: "hsla(
|
|
200
|
-
border: "hsla(
|
|
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(
|
|
204
|
-
border: "hsla(
|
|
205
|
-
text: "hsla(
|
|
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,
|
|
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"}
|
package/dist/styles/light.js
CHANGED
|
@@ -11,198 +11,203 @@ export const LIGHT_THEME = {
|
|
|
11
11
|
},
|
|
12
12
|
zIndex,
|
|
13
13
|
colors: {
|
|
14
|
-
foreground: "hsla(
|
|
15
|
-
background: "hsla(
|
|
16
|
-
border: "hsla(
|
|
17
|
-
muted:
|
|
18
|
-
|
|
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(
|
|
21
|
-
DEFAULT: "hsla(
|
|
22
|
-
subtle: "hsla(
|
|
23
|
-
hover: "hsla(
|
|
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(
|
|
27
|
-
DEFAULT: "hsla(
|
|
28
|
-
subtle: "hsla(
|
|
29
|
-
hover: "hsla(
|
|
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(
|
|
33
|
-
DEFAULT: "hsla(
|
|
34
|
-
subtle: "hsla(
|
|
35
|
-
hover: "hsla(
|
|
36
|
-
foreground: "hsla(
|
|
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(
|
|
40
|
-
subtle: "hsla(
|
|
41
|
-
hover: "hsla(
|
|
42
|
-
foreground: "hsla(
|
|
43
|
-
notification: "hsla(
|
|
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,
|
|
47
|
-
subtle: "hsla(0,
|
|
48
|
-
hover: "hsla(0,
|
|
49
|
-
foreground: "hsla(
|
|
50
|
-
notification: "hsla(0,
|
|
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(
|
|
54
|
-
subtle: "hsla(
|
|
55
|
-
hover: "hsla(
|
|
56
|
-
foreground: "hsla(
|
|
57
|
-
notification: "hsla(
|
|
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(
|
|
61
|
-
subtle: "hsla(
|
|
62
|
-
hover: "hsla(
|
|
63
|
-
foreground: "hsla(
|
|
64
|
-
notification: "hsla(
|
|
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(
|
|
68
|
-
placeholder: "hsla(
|
|
69
|
-
"mask-error": "hsla(0,
|
|
70
|
-
"switch-bg": "hsla(
|
|
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(
|
|
77
|
+
slider: "hsla(199, 89%, 48%)",
|
|
73
78
|
},
|
|
74
79
|
card: {
|
|
75
|
-
muted: "hsla(
|
|
76
|
-
border: "hsla(
|
|
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(
|
|
85
|
+
foreground: "hsla(240, 10%, 4%)",
|
|
81
86
|
background: "hsla(0, 0%, 100%)",
|
|
82
|
-
hover: "hsla(
|
|
83
|
-
border: "hsla(
|
|
84
|
-
overlay: "hsla(
|
|
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(
|
|
88
|
-
background: "hsla(
|
|
89
|
-
hover: "hsla(
|
|
90
|
-
border: "hsla(
|
|
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(
|
|
99
|
+
header: "hsla(240, 5%, 96%)",
|
|
95
100
|
background: "hsla(0, 0%, 100%)",
|
|
96
|
-
border: "hsla(
|
|
101
|
+
border: "hsla(240, 6%, 90%)",
|
|
97
102
|
},
|
|
98
103
|
button: {
|
|
99
104
|
muted: {
|
|
100
|
-
bg: "hsla(
|
|
101
|
-
text: "hsla(
|
|
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(
|
|
110
|
+
bg: "hsla(201,49%,54%)",
|
|
106
111
|
},
|
|
107
112
|
warn: {
|
|
108
|
-
bg: "hsla(
|
|
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(
|
|
118
|
+
bg: "hsla(199, 89%, 48%)",
|
|
114
119
|
},
|
|
115
120
|
success: {
|
|
116
121
|
text: "hsla(0, 0%, 100%)",
|
|
117
|
-
bg: "hsla(
|
|
122
|
+
bg: "hsla(142, 71%, 45%)",
|
|
118
123
|
},
|
|
119
124
|
danger: {
|
|
120
125
|
text: "hsla(0, 0%, 100%)",
|
|
121
|
-
bg: "hsla(
|
|
126
|
+
bg: "hsla(0, 84%, 60%)",
|
|
122
127
|
},
|
|
123
128
|
neutral: {
|
|
124
|
-
text: "hsla(
|
|
125
|
-
bg: "hsla(
|
|
129
|
+
text: "hsla(240, 6%, 10%)",
|
|
130
|
+
bg: "hsla(240, 5%, 96%)",
|
|
126
131
|
},
|
|
127
132
|
secondary: {
|
|
128
|
-
text: "hsla(
|
|
129
|
-
bg: "hsla(
|
|
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(
|
|
135
|
-
text: "hsla(
|
|
139
|
+
bg: "hsla(240, 5%, 96%)",
|
|
140
|
+
text: "hsla(240, 4%, 46%)",
|
|
136
141
|
},
|
|
137
142
|
primary: {
|
|
138
|
-
text: "hsla(
|
|
139
|
-
bg: "hsla(
|
|
143
|
+
text: "hsla(199, 89%, 48%)",
|
|
144
|
+
bg: "hsla(199, 89%, 96%)",
|
|
140
145
|
},
|
|
141
146
|
warn: {
|
|
142
|
-
bg: "hsla(
|
|
143
|
-
text: "hsla(
|
|
147
|
+
bg: "hsla(38, 92%, 96%)",
|
|
148
|
+
text: "hsla(38, 92%, 40%)",
|
|
144
149
|
},
|
|
145
150
|
info: {
|
|
146
|
-
text: "hsla(
|
|
147
|
-
bg: "hsla(
|
|
151
|
+
text: "hsla(199, 89%, 40%)",
|
|
152
|
+
bg: "hsla(199, 89%, 96%)",
|
|
148
153
|
},
|
|
149
154
|
success: {
|
|
150
|
-
text: "hsla(
|
|
151
|
-
bg: "hsla(
|
|
155
|
+
text: "hsla(142, 71%, 35%)",
|
|
156
|
+
bg: "hsla(142, 71%, 96%)",
|
|
152
157
|
},
|
|
153
158
|
danger: {
|
|
154
|
-
text: "hsla(
|
|
155
|
-
bg: "hsla(
|
|
159
|
+
text: "hsla(0, 84%, 45%)",
|
|
160
|
+
bg: "hsla(0, 84%, 96%)",
|
|
156
161
|
},
|
|
157
162
|
neutral: {
|
|
158
|
-
text: "hsla(
|
|
159
|
-
bg: "hsla(
|
|
163
|
+
text: "hsla(240, 6%, 10%)",
|
|
164
|
+
bg: "hsla(240, 5%, 96%)",
|
|
160
165
|
},
|
|
161
166
|
secondary: {
|
|
162
|
-
text: "hsla(
|
|
163
|
-
bg: "hsla(
|
|
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(
|
|
169
|
-
text: "hsla(
|
|
170
|
-
border: "hsla(
|
|
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(
|
|
174
|
-
border: "hsla(
|
|
175
|
-
bg: "hsla(
|
|
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(
|
|
179
|
-
text: "hsla(
|
|
180
|
-
border: "hsla(
|
|
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(
|
|
184
|
-
bg: "hsla(
|
|
185
|
-
border: "hsla(
|
|
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(
|
|
189
|
-
bg: "hsla(
|
|
190
|
-
border: "hsla(
|
|
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(
|
|
194
|
-
bg: "hsla(
|
|
195
|
-
border: "hsla(
|
|
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(
|
|
199
|
-
bg: "hsla(
|
|
200
|
-
border: "hsla(
|
|
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(
|
|
204
|
-
bg: "hsla(
|
|
205
|
-
border: "hsla(
|
|
208
|
+
text: "hsla(0, 0%, 100%)",
|
|
209
|
+
bg: "hsla(240, 6%, 10%)",
|
|
210
|
+
border: "hsla(240, 6%, 10%)",
|
|
206
211
|
},
|
|
207
212
|
},
|
|
208
213
|
},
|