@docsplain-kit/core 0.0.46 → 0.0.47
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/accordion/accordion-content/accordion-content.js +17 -1
- package/accordion/accordion-content/accordion-content.js.map +1 -1
- package/accordion/accordion-header/accordion-header.js +16 -1
- package/accordion/accordion-header/accordion-header.js.map +1 -1
- package/accordion/accordion-item/accordion-item.js +20 -3
- package/accordion/accordion-item/accordion-item.js.map +1 -1
- package/accordion/accordion-item/accordion-item.style.d.ts +0 -33
- package/accordion/accordion-item/accordion-item.style.js +1 -34
- package/accordion/accordion-item/accordion-item.style.js.map +1 -1
- package/accordion/accordion-item/accordion-item.theme.d.ts +158 -0
- package/accordion/accordion-item/accordion-item.theme.js +171 -0
- package/accordion/accordion-item/accordion-item.theme.js.map +1 -0
- package/avatar/avatar.props.d.ts +1 -1
- package/avatar/index.d.ts +1 -1
- package/badge/badge.js +11 -1
- package/badge/badge.js.map +1 -1
- package/button/button.js +18 -1
- package/button/button.js.map +1 -1
- package/button/button.style.d.ts +1 -146
- package/button/button.style.js +1 -156
- package/button/button.style.js.map +1 -1
- package/button/button.theme.d.ts +288 -0
- package/button/button.theme.js +310 -0
- package/button/button.theme.js.map +1 -0
- package/checkbox/checkbox.js +11 -1
- package/checkbox/checkbox.js.map +1 -1
- package/chip/chip.js +19 -1
- package/chip/chip.js.map +1 -1
- package/index.d.ts +10 -8
- package/index.js +24 -15
- package/index.js.map +1 -1
- package/package.json +28 -28
- package/provider/docsplain-provider.d.ts +24 -0
- package/provider/docsplain-provider.js +47 -0
- package/provider/docsplain-provider.js.map +1 -0
- package/provider/docsplain-provider.types.d.ts +16 -0
- package/provider/docsplain-provider.types.js +3 -0
- package/provider/docsplain-provider.types.js.map +1 -0
- package/provider/hooks/index.d.ts +6 -0
- package/provider/hooks/index.js +25 -0
- package/provider/hooks/index.js.map +1 -0
- package/provider/hooks/use-font-size.d.ts +19 -0
- package/provider/hooks/use-font-size.js +102 -0
- package/provider/hooks/use-font-size.js.map +1 -0
- package/provider/hooks/use-responsive-font-size.d.ts +10 -0
- package/provider/hooks/use-responsive-font-size.js +24 -0
- package/provider/hooks/use-responsive-font-size.js.map +1 -0
- package/provider/hooks/use-text-direction.d.ts +12 -0
- package/provider/hooks/use-text-direction.js +20 -0
- package/provider/hooks/use-text-direction.js.map +1 -0
- package/provider/hooks/use-text-scale.d.ts +12 -0
- package/provider/hooks/use-text-scale.js +20 -0
- package/provider/hooks/use-text-scale.js.map +1 -0
- package/provider/hooks/use-theme.d.ts +12 -0
- package/provider/hooks/use-theme.js +20 -0
- package/provider/hooks/use-theme.js.map +1 -0
- package/provider/index.d.ts +3 -0
- package/provider/index.js +24 -0
- package/provider/index.js.map +1 -0
- package/radio-button/radio-button.js +12 -2
- package/radio-button/radio-button.js.map +1 -1
- package/spinner/spinner.js +11 -1
- package/spinner/spinner.js.map +1 -1
- package/switch-box/switch-box.js +32 -2
- package/switch-box/switch-box.js.map +1 -1
- package/text/text.js +39 -1
- package/text/text.js.map +1 -1
- package/text/text.theme.d.ts +23 -0
- package/text/text.theme.js +114 -0
- package/text/text.theme.js.map +1 -0
- package/theme/badge-theme.d.ts +16 -0
- package/theme/badge-theme.js +84 -0
- package/theme/badge-theme.js.map +1 -0
- package/theme/checkbox-theme.d.ts +16 -0
- package/theme/checkbox-theme.js +82 -0
- package/theme/checkbox-theme.js.map +1 -0
- package/theme/chip-theme.d.ts +370 -0
- package/theme/chip-theme.js +391 -0
- package/theme/chip-theme.js.map +1 -0
- package/theme/index.d.ts +12 -0
- package/theme/index.js +53 -0
- package/theme/index.js.map +1 -0
- package/theme/radio-button-theme.d.ts +25 -0
- package/theme/radio-button-theme.js +48 -0
- package/theme/radio-button-theme.js.map +1 -0
- package/theme/spinner-theme.d.ts +14 -0
- package/theme/spinner-theme.js +80 -0
- package/theme/spinner-theme.js.map +1 -0
- package/theme/switch-box-theme.d.ts +16 -0
- package/theme/switch-box-theme.js +82 -0
- package/theme/switch-box-theme.js.map +1 -0
- package/theme/theme-utils.d.ts +87 -0
- package/theme/theme-utils.js +147 -0
- package/theme/theme-utils.js.map +1 -0
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.getChipHoverColors = exports.getChipColors = exports.HOVER_COLORS_DARK = exports.HOVER_COLORS_LIGHT = exports.TEXT_COLORS_DARK = exports.TEXT_COLORS_LIGHT = exports.TINT_COLORS_DARK = exports.TINT_COLORS_LIGHT = exports.OUTLINED_COLORS_DARK = exports.OUTLINED_COLORS_LIGHT = exports.COLORS_DARK = exports.COLORS_LIGHT = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Light Theme Chip Colors - Filled Variant
|
|
6
|
+
*/
|
|
7
|
+
exports.COLORS_LIGHT = {
|
|
8
|
+
primary: 'bg-primary-500 border-primary-500 text-white',
|
|
9
|
+
secondary: 'bg-secondary-500 border-secondary-500 text-white',
|
|
10
|
+
tertiary: 'bg-tertiary-500 border-tertiary-500 text-white',
|
|
11
|
+
info: 'bg-info-500 border-info-500 text-white',
|
|
12
|
+
danger: 'bg-danger-500 border-danger-500 text-white',
|
|
13
|
+
warning: 'bg-warning-500 border-warning-500 text-white',
|
|
14
|
+
success: 'bg-success-500 border-success-500 text-white',
|
|
15
|
+
control: 'bg-control-500 border-control-500 text-white',
|
|
16
|
+
black: 'bg-black border-black text-white',
|
|
17
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
18
|
+
slate: 'bg-slate-500 border-slate-500 text-white',
|
|
19
|
+
zinc: 'bg-zinc-500 border-zinc-500 text-white',
|
|
20
|
+
neutral: 'bg-neutral-500 border-neutral-500 text-white',
|
|
21
|
+
stone: 'bg-stone-500 border-stone-500 text-white',
|
|
22
|
+
red: 'bg-red-500 border-red-500 text-white',
|
|
23
|
+
orange: 'bg-orange-500 border-orange-500 text-white',
|
|
24
|
+
amber: 'bg-amber-500 border-amber-500 text-white',
|
|
25
|
+
yellow: 'bg-yellow-500 border-yellow-500 text-white',
|
|
26
|
+
lime: 'bg-lime-500 border-lime-500 text-white',
|
|
27
|
+
green: 'bg-green-500 border-green-500 text-white',
|
|
28
|
+
emerald: 'bg-emerald-500 border-emerald-500 text-white',
|
|
29
|
+
teal: 'bg-teal-500 border-teal-500 text-white',
|
|
30
|
+
cyan: 'bg-cyan-500 border-cyan-500 text-white',
|
|
31
|
+
sky: 'bg-sky-500 border-sky-500 text-white',
|
|
32
|
+
blue: 'bg-blue-500 border-blue-500 text-white',
|
|
33
|
+
indigo: 'bg-indigo-500 border-indigo-500 text-white',
|
|
34
|
+
violet: 'bg-violet-500 border-violet-500 text-white',
|
|
35
|
+
purple: 'bg-purple-500 border-purple-500 text-white',
|
|
36
|
+
fuchsia: 'bg-fuchsia-500 border-fuchsia-500 text-white',
|
|
37
|
+
pink: 'bg-pink-500 border-pink-500 text-white',
|
|
38
|
+
rose: 'bg-rose-500 border-rose-500 text-white'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Dark Theme Chip Colors - Filled Variant
|
|
42
|
+
*/
|
|
43
|
+
exports.COLORS_DARK = {
|
|
44
|
+
primary: 'bg-primary-400 border-primary-400 text-gray-900',
|
|
45
|
+
secondary: 'bg-secondary-400 border-secondary-400 text-gray-900',
|
|
46
|
+
tertiary: 'bg-tertiary-400 border-tertiary-400 text-gray-900',
|
|
47
|
+
info: 'bg-info-400 border-info-400 text-gray-900',
|
|
48
|
+
danger: 'bg-danger-400 border-danger-400 text-gray-900',
|
|
49
|
+
warning: 'bg-warning-400 border-warning-400 text-gray-900',
|
|
50
|
+
success: 'bg-success-400 border-success-400 text-gray-900',
|
|
51
|
+
control: 'bg-gray-600 border-gray-600 text-white',
|
|
52
|
+
black: 'bg-gray-800 border-gray-800 text-white',
|
|
53
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
54
|
+
slate: 'bg-slate-400 border-slate-400 text-gray-900',
|
|
55
|
+
zinc: 'bg-zinc-400 border-zinc-400 text-gray-900',
|
|
56
|
+
neutral: 'bg-neutral-400 border-neutral-400 text-gray-900',
|
|
57
|
+
stone: 'bg-stone-400 border-stone-400 text-gray-900',
|
|
58
|
+
red: 'bg-red-400 border-red-400 text-gray-900',
|
|
59
|
+
orange: 'bg-orange-400 border-orange-400 text-gray-900',
|
|
60
|
+
amber: 'bg-amber-400 border-amber-400 text-gray-900',
|
|
61
|
+
yellow: 'bg-yellow-400 border-yellow-400 text-gray-900',
|
|
62
|
+
lime: 'bg-lime-400 border-lime-400 text-gray-900',
|
|
63
|
+
green: 'bg-green-400 border-green-400 text-gray-900',
|
|
64
|
+
emerald: 'bg-emerald-400 border-emerald-400 text-gray-900',
|
|
65
|
+
teal: 'bg-teal-400 border-teal-400 text-gray-900',
|
|
66
|
+
cyan: 'bg-cyan-400 border-cyan-400 text-gray-900',
|
|
67
|
+
sky: 'bg-sky-400 border-sky-400 text-gray-900',
|
|
68
|
+
blue: 'bg-blue-400 border-blue-400 text-gray-900',
|
|
69
|
+
indigo: 'bg-indigo-400 border-indigo-400 text-gray-900',
|
|
70
|
+
violet: 'bg-violet-400 border-violet-400 text-gray-900',
|
|
71
|
+
purple: 'bg-purple-400 border-purple-400 text-gray-900',
|
|
72
|
+
fuchsia: 'bg-fuchsia-400 border-fuchsia-400 text-gray-900',
|
|
73
|
+
pink: 'bg-pink-400 border-pink-400 text-gray-900',
|
|
74
|
+
rose: 'bg-rose-400 border-rose-400 text-gray-900'
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Light Theme - Outlined Variant
|
|
78
|
+
*/
|
|
79
|
+
exports.OUTLINED_COLORS_LIGHT = {
|
|
80
|
+
primary: 'bg-white border border-primary text-primary',
|
|
81
|
+
danger: 'bg-white border border-danger text-danger',
|
|
82
|
+
warning: 'bg-white border border-warning text-warning',
|
|
83
|
+
secondary: 'bg-white border border-secondary text-secondary',
|
|
84
|
+
tertiary: 'bg-white border border-tertiary text-tertiary',
|
|
85
|
+
success: 'bg-white border border-success text-success',
|
|
86
|
+
info: 'bg-white border border-info text-info',
|
|
87
|
+
control: 'bg-white border border-control text-control',
|
|
88
|
+
black: 'bg-white border border-black text-black',
|
|
89
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
90
|
+
slate: 'bg-white border border-slate-500 text-slate-500',
|
|
91
|
+
zinc: 'bg-white border border-zinc-500 text-zinc-500',
|
|
92
|
+
neutral: 'bg-white border border-neutral-500 text-neutral-500',
|
|
93
|
+
stone: 'bg-white border border-stone-500 text-stone-500',
|
|
94
|
+
red: 'bg-white border border-red-500 text-red-500',
|
|
95
|
+
orange: 'bg-white border border-orange-500 text-orange-500',
|
|
96
|
+
amber: 'bg-white border border-amber-500 text-amber-500',
|
|
97
|
+
yellow: 'bg-white border border-yellow-500 text-yellow-500',
|
|
98
|
+
lime: 'bg-white border border-lime-500 text-lime-500',
|
|
99
|
+
green: 'bg-white border border-green-500 text-green-500',
|
|
100
|
+
emerald: 'bg-white border border-emerald-500 text-emerald-500',
|
|
101
|
+
teal: 'bg-white border border-teal-500 text-teal-500',
|
|
102
|
+
cyan: 'bg-white border border-cyan-500 text-cyan-500',
|
|
103
|
+
sky: 'bg-white border border-sky-500 text-sky-500',
|
|
104
|
+
blue: 'bg-white border border-blue-500 text-blue-500',
|
|
105
|
+
indigo: 'bg-white border border-indigo-500 text-indigo-500',
|
|
106
|
+
violet: 'bg-white border border-violet-500 text-violet-500',
|
|
107
|
+
purple: 'bg-white border border-purple-500 text-purple-500',
|
|
108
|
+
fuchsia: 'bg-white border border-fuchsia-500 text-fuchsia-500',
|
|
109
|
+
pink: 'bg-white border border-pink-500 text-pink-500',
|
|
110
|
+
rose: 'bg-white border border-rose-500 text-rose-500'
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Dark Theme - Outlined Variant
|
|
114
|
+
*/
|
|
115
|
+
exports.OUTLINED_COLORS_DARK = {
|
|
116
|
+
primary: 'bg-gray-800 border border-primary-400 text-primary-300',
|
|
117
|
+
danger: 'bg-gray-800 border border-danger-400 text-danger-300',
|
|
118
|
+
warning: 'bg-gray-800 border border-warning-400 text-warning-300',
|
|
119
|
+
secondary: 'bg-gray-800 border border-secondary-400 text-secondary-300',
|
|
120
|
+
tertiary: 'bg-gray-800 border border-tertiary-400 text-tertiary-300',
|
|
121
|
+
success: 'bg-gray-800 border border-success-400 text-success-300',
|
|
122
|
+
info: 'bg-gray-800 border border-info-400 text-info-300',
|
|
123
|
+
control: 'bg-gray-800 border border-gray-500 text-gray-400',
|
|
124
|
+
black: 'bg-gray-800 border border-gray-600 text-gray-400',
|
|
125
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
126
|
+
slate: 'bg-gray-800 border border-slate-400 text-slate-400',
|
|
127
|
+
zinc: 'bg-gray-800 border border-zinc-400 text-zinc-400',
|
|
128
|
+
neutral: 'bg-gray-800 border border-neutral-400 text-neutral-400',
|
|
129
|
+
stone: 'bg-gray-800 border border-stone-400 text-stone-400',
|
|
130
|
+
red: 'bg-gray-800 border border-red-400 text-red-400',
|
|
131
|
+
orange: 'bg-gray-800 border border-orange-400 text-orange-400',
|
|
132
|
+
amber: 'bg-gray-800 border border-amber-400 text-amber-400',
|
|
133
|
+
yellow: 'bg-gray-800 border border-yellow-400 text-yellow-400',
|
|
134
|
+
lime: 'bg-gray-800 border border-lime-400 text-lime-400',
|
|
135
|
+
green: 'bg-gray-800 border border-green-400 text-green-400',
|
|
136
|
+
emerald: 'bg-gray-800 border border-emerald-400 text-emerald-400',
|
|
137
|
+
teal: 'bg-gray-800 border border-teal-400 text-teal-400',
|
|
138
|
+
cyan: 'bg-gray-800 border border-cyan-400 text-cyan-400',
|
|
139
|
+
sky: 'bg-gray-800 border border-sky-400 text-sky-400',
|
|
140
|
+
blue: 'bg-gray-800 border border-blue-400 text-blue-400',
|
|
141
|
+
indigo: 'bg-gray-800 border border-indigo-400 text-indigo-400',
|
|
142
|
+
violet: 'bg-gray-800 border border-violet-400 text-violet-400',
|
|
143
|
+
purple: 'bg-gray-800 border border-purple-400 text-purple-400',
|
|
144
|
+
fuchsia: 'bg-gray-800 border border-fuchsia-400 text-fuchsia-400',
|
|
145
|
+
pink: 'bg-gray-800 border border-pink-400 text-pink-400',
|
|
146
|
+
rose: 'bg-gray-800 border border-rose-400 text-rose-400'
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Light Theme - Tint Variant
|
|
150
|
+
*/
|
|
151
|
+
exports.TINT_COLORS_LIGHT = {
|
|
152
|
+
primary: 'bg-primary-50 border border-primary-100 text-primary-500',
|
|
153
|
+
secondary: 'bg-secondary-50 border border-secondary-100 text-secondary-500',
|
|
154
|
+
tertiary: 'bg-tertiary-50 border border-tertiary-100 text-tertiary-500',
|
|
155
|
+
info: 'bg-info-50 border border-info-100 text-info-500',
|
|
156
|
+
danger: 'bg-danger-50 border border-danger-100 text-danger-500',
|
|
157
|
+
warning: 'bg-warning-50 border border-warning-100 text-warning-500',
|
|
158
|
+
success: 'bg-success-50 border border-success-100 text-success-500',
|
|
159
|
+
control: 'bg-control-50 border border-control-100 text-control-700',
|
|
160
|
+
black: 'bg-control-50 border border-control-100 text-black',
|
|
161
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
162
|
+
slate: 'bg-slate-50 border border-slate-100 text-slate-500',
|
|
163
|
+
zinc: 'bg-zinc-50 border border-zinc-100 text-zinc-500',
|
|
164
|
+
neutral: 'bg-neutral-50 border border-neutral-100 text-neutral-500',
|
|
165
|
+
stone: 'bg-stone-50 border border-stone-100 text-stone-500',
|
|
166
|
+
red: 'bg-red-50 border border-red-100 text-red-500',
|
|
167
|
+
orange: 'bg-orange-50 border border-orange-100 text-orange-500',
|
|
168
|
+
amber: 'bg-amber-50 border border-amber-100 text-amber-500',
|
|
169
|
+
yellow: 'bg-yellow-50 border border-yellow-100 text-yellow-500',
|
|
170
|
+
lime: 'bg-lime-50 border border-lime-100 text-lime-500',
|
|
171
|
+
green: 'bg-green-50 border border-green-100 text-green-500',
|
|
172
|
+
emerald: 'bg-emerald-50 border border-emerald-100 text-emerald-500',
|
|
173
|
+
teal: 'bg-teal-50 border border-teal-100 text-teal-500',
|
|
174
|
+
cyan: 'bg-cyan-50 border border-cyan-100 text-cyan-500',
|
|
175
|
+
sky: 'bg-sky-50 border border-sky-100 text-sky-500',
|
|
176
|
+
blue: 'bg-blue-50 border border-blue-100 text-blue-500',
|
|
177
|
+
indigo: 'bg-indigo-50 border border-indigo-100 text-indigo-500',
|
|
178
|
+
violet: 'bg-violet-50 border border-violet-100 text-violet-500',
|
|
179
|
+
purple: 'bg-purple-50 border border-purple-100 text-purple-500',
|
|
180
|
+
fuchsia: 'bg-fuchsia-50 border border-fuchsia-100 text-fuchsia-500',
|
|
181
|
+
pink: 'bg-pink-50 border border-pink-100 text-pink-500',
|
|
182
|
+
rose: 'bg-rose-50 border border-rose-100 text-rose-500'
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Dark Theme - Tint Variant
|
|
186
|
+
*/
|
|
187
|
+
exports.TINT_COLORS_DARK = {
|
|
188
|
+
primary: 'bg-primary-900/40 border border-primary-800 text-primary-300',
|
|
189
|
+
secondary: 'bg-secondary-900/40 border border-secondary-800 text-secondary-300',
|
|
190
|
+
tertiary: 'bg-tertiary-900/40 border border-tertiary-800 text-tertiary-300',
|
|
191
|
+
info: 'bg-info-900/40 border border-info-800 text-info-300',
|
|
192
|
+
danger: 'bg-danger-900/40 border border-danger-800 text-danger-300',
|
|
193
|
+
warning: 'bg-warning-900/40 border border-warning-800 text-warning-300',
|
|
194
|
+
success: 'bg-success-900/40 border border-success-800 text-success-300',
|
|
195
|
+
control: 'bg-gray-800 border border-gray-700 text-gray-300',
|
|
196
|
+
black: 'bg-gray-800 border border-gray-700 text-gray-300',
|
|
197
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
198
|
+
slate: 'bg-slate-900/40 border border-slate-800 text-slate-300',
|
|
199
|
+
zinc: 'bg-zinc-900/40 border border-zinc-800 text-zinc-300',
|
|
200
|
+
neutral: 'bg-neutral-900/40 border border-neutral-800 text-neutral-300',
|
|
201
|
+
stone: 'bg-stone-900/40 border border-stone-800 text-stone-300',
|
|
202
|
+
red: 'bg-red-900/40 border border-red-800 text-red-300',
|
|
203
|
+
orange: 'bg-orange-900/40 border border-orange-800 text-orange-300',
|
|
204
|
+
amber: 'bg-amber-900/40 border border-amber-800 text-amber-300',
|
|
205
|
+
yellow: 'bg-yellow-900/40 border border-yellow-800 text-yellow-300',
|
|
206
|
+
lime: 'bg-lime-900/40 border border-lime-800 text-lime-300',
|
|
207
|
+
green: 'bg-green-900/40 border border-green-800 text-green-300',
|
|
208
|
+
emerald: 'bg-emerald-900/40 border border-emerald-800 text-emerald-300',
|
|
209
|
+
teal: 'bg-teal-900/40 border border-teal-800 text-teal-300',
|
|
210
|
+
cyan: 'bg-cyan-900/40 border border-cyan-800 text-cyan-300',
|
|
211
|
+
sky: 'bg-sky-900/40 border border-sky-800 text-sky-300',
|
|
212
|
+
blue: 'bg-blue-900/40 border border-blue-800 text-blue-300',
|
|
213
|
+
indigo: 'bg-indigo-900/40 border border-indigo-800 text-indigo-300',
|
|
214
|
+
violet: 'bg-violet-900/40 border border-violet-800 text-violet-300',
|
|
215
|
+
purple: 'bg-purple-900/40 border border-purple-800 text-purple-300',
|
|
216
|
+
fuchsia: 'bg-fuchsia-900/40 border border-fuchsia-800 text-fuchsia-300',
|
|
217
|
+
pink: 'bg-pink-900/40 border border-pink-800 text-pink-300',
|
|
218
|
+
rose: 'bg-rose-900/40 border border-rose-800 text-rose-300'
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Light Theme - Text Variant
|
|
222
|
+
*/
|
|
223
|
+
exports.TEXT_COLORS_LIGHT = {
|
|
224
|
+
primary: 'text-primary hover:text-primary-dark active:text-primary-light',
|
|
225
|
+
danger: 'text-danger hover:text-danger-dark active:text-danger-light',
|
|
226
|
+
warning: 'text-warning hover:text-warning-dark active:text-warning-light',
|
|
227
|
+
secondary: 'text-secondary hover:text-secondary-dark active:text-secondary-light',
|
|
228
|
+
tertiary: 'text-tertiary hover:text-tertiary-dark active:text-tertiary-light',
|
|
229
|
+
success: 'text-success hover:text-success-dark active:text-success-light',
|
|
230
|
+
info: 'text-info hover:text-info-dark active:text-info-light',
|
|
231
|
+
control: 'text-control hover:text-control-950 active:text-control',
|
|
232
|
+
black: 'text-control-900 hover:text-control-950 active:text-control',
|
|
233
|
+
inherit: 'text-inherit',
|
|
234
|
+
slate: 'text-slate-500 hover:text-slate-700 active:text-slate-300',
|
|
235
|
+
zinc: 'text-zinc-500 hover:text-zinc-700 active:text-zinc-300',
|
|
236
|
+
neutral: 'text-neutral-500 hover:text-neutral-700 active:text-neutral-300',
|
|
237
|
+
stone: 'text-stone-500 hover:text-stone-700 active:text-stone-300',
|
|
238
|
+
red: 'text-red-500 hover:text-red-700 active:text-red-300',
|
|
239
|
+
orange: 'text-orange-500 hover:text-orange-700 active:text-orange-300',
|
|
240
|
+
amber: 'text-amber-500 hover:text-amber-700 active:text-amber-300',
|
|
241
|
+
yellow: 'text-yellow-500 hover:text-yellow-700 active:text-yellow-300',
|
|
242
|
+
lime: 'text-lime-500 hover:text-lime-700 active:text-lime-300',
|
|
243
|
+
green: 'text-green-500 hover:text-green-700 active:text-green-300',
|
|
244
|
+
emerald: 'text-emerald-500 hover:text-emerald-700 active:text-emerald-300',
|
|
245
|
+
teal: 'text-teal-500 hover:text-teal-700 active:text-teal-300',
|
|
246
|
+
cyan: 'text-cyan-500 hover:text-cyan-700 active:text-cyan-300',
|
|
247
|
+
sky: 'text-sky-500 hover:text-sky-700 active:text-sky-300',
|
|
248
|
+
blue: 'text-blue-500 hover:text-blue-700 active:text-blue-300',
|
|
249
|
+
indigo: 'text-indigo-500 hover:text-indigo-700 active:text-indigo-300',
|
|
250
|
+
violet: 'text-violet-500 hover:text-violet-700 active:text-violet-300',
|
|
251
|
+
purple: 'text-purple-500 hover:text-purple-700 active:text-purple-300',
|
|
252
|
+
fuchsia: 'text-fuchsia-500 hover:text-fuchsia-700 active:text-fuchsia-300',
|
|
253
|
+
pink: 'text-pink-500 hover:text-pink-700 active:text-pink-300',
|
|
254
|
+
rose: 'text-rose-500 hover:text-rose-700 active:text-rose-300'
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Dark Theme - Text Variant
|
|
258
|
+
*/
|
|
259
|
+
exports.TEXT_COLORS_DARK = {
|
|
260
|
+
primary: 'text-primary-400 hover:text-primary-300 active:text-primary-500',
|
|
261
|
+
danger: 'text-danger-400 hover:text-danger-300 active:text-danger-500',
|
|
262
|
+
warning: 'text-warning-400 hover:text-warning-300 active:text-warning-500',
|
|
263
|
+
secondary: 'text-secondary-400 hover:text-secondary-300 active:text-secondary-500',
|
|
264
|
+
tertiary: 'text-tertiary-400 hover:text-tertiary-300 active:text-tertiary-500',
|
|
265
|
+
success: 'text-success-400 hover:text-success-300 active:text-success-500',
|
|
266
|
+
info: 'text-info-400 hover:text-info-300 active:text-info-500',
|
|
267
|
+
control: 'text-gray-400 hover:text-gray-300 active:text-gray-500',
|
|
268
|
+
black: 'text-gray-300 hover:text-gray-200 active:text-gray-400',
|
|
269
|
+
inherit: 'text-inherit',
|
|
270
|
+
slate: 'text-slate-400 hover:text-slate-300 active:text-slate-500',
|
|
271
|
+
zinc: 'text-zinc-400 hover:text-zinc-300 active:text-zinc-500',
|
|
272
|
+
neutral: 'text-neutral-400 hover:text-neutral-300 active:text-neutral-500',
|
|
273
|
+
stone: 'text-stone-400 hover:text-stone-300 active:text-stone-500',
|
|
274
|
+
red: 'text-red-400 hover:text-red-300 active:text-red-500',
|
|
275
|
+
orange: 'text-orange-400 hover:text-orange-300 active:text-orange-500',
|
|
276
|
+
amber: 'text-amber-400 hover:text-amber-300 active:text-amber-500',
|
|
277
|
+
yellow: 'text-yellow-400 hover:text-yellow-300 active:text-yellow-500',
|
|
278
|
+
lime: 'text-lime-400 hover:text-lime-300 active:text-lime-500',
|
|
279
|
+
green: 'text-green-400 hover:text-green-300 active:text-green-500',
|
|
280
|
+
emerald: 'text-emerald-400 hover:text-emerald-300 active:text-emerald-500',
|
|
281
|
+
teal: 'text-teal-400 hover:text-teal-300 active:text-teal-500',
|
|
282
|
+
cyan: 'text-cyan-400 hover:text-cyan-300 active:text-cyan-500',
|
|
283
|
+
sky: 'text-sky-400 hover:text-sky-300 active:text-sky-500',
|
|
284
|
+
blue: 'text-blue-400 hover:text-blue-300 active:text-blue-500',
|
|
285
|
+
indigo: 'text-indigo-400 hover:text-indigo-300 active:text-indigo-500',
|
|
286
|
+
violet: 'text-violet-400 hover:text-violet-300 active:text-violet-500',
|
|
287
|
+
purple: 'text-purple-400 hover:text-purple-300 active:text-purple-500',
|
|
288
|
+
fuchsia: 'text-fuchsia-400 hover:text-fuchsia-300 active:text-fuchsia-500',
|
|
289
|
+
pink: 'text-pink-400 hover:text-pink-300 active:text-pink-500',
|
|
290
|
+
rose: 'text-rose-400 hover:text-rose-300 active:text-rose-500'
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* Light Theme - Hover Colors for Filled Variant
|
|
294
|
+
*/
|
|
295
|
+
exports.HOVER_COLORS_LIGHT = {
|
|
296
|
+
primary: 'hover:bg-primary-dark hover:border-primary-dark active:bg-primary-light',
|
|
297
|
+
secondary: 'hover:bg-secondary-dark hover:border-secondary-dark active:bg-secondary-light',
|
|
298
|
+
tertiary: 'hover:bg-tertiary-dark hover:border-tertiary-dark active:bg-tertiary-light',
|
|
299
|
+
info: 'hover:bg-info-dark hover:border-info-dark active:bg-info-light',
|
|
300
|
+
danger: 'hover:bg-danger-dark hover:border-danger-dark active:bg-danger-light',
|
|
301
|
+
warning: 'hover:bg-warning-dark hover:border-warning-dark active:bg-warning-light',
|
|
302
|
+
success: 'hover:bg-success-dark hover:border-success-dark active:bg-success-light',
|
|
303
|
+
control: 'hover:bg-control-dark hover:border-control-dark active:bg-control-light',
|
|
304
|
+
black: 'hover:bg-primary-dark hover:border-primary-dark active:bg-primary-light',
|
|
305
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
306
|
+
slate: 'hover:bg-slate-700 hover:border-slate-700 active:bg-slate-300',
|
|
307
|
+
zinc: 'hover:bg-zinc-700 hover:border-zinc-700 active:bg-zinc-300',
|
|
308
|
+
neutral: 'hover:bg-neutral-700 hover:border-neutral-700 active:bg-neutral-300',
|
|
309
|
+
stone: 'hover:bg-stone-700 hover:border-stone-700 active:bg-stone-300',
|
|
310
|
+
red: 'hover:bg-red-700 hover:border-red-700 active:bg-red-300',
|
|
311
|
+
orange: 'hover:bg-orange-700 hover:border-orange-700 active:bg-orange-300',
|
|
312
|
+
amber: 'hover:bg-amber-700 hover:border-amber-700 active:bg-amber-300',
|
|
313
|
+
yellow: 'hover:bg-yellow-700 hover:border-yellow-700 active:bg-yellow-300',
|
|
314
|
+
lime: 'hover:bg-lime-700 hover:border-lime-700 active:bg-lime-300',
|
|
315
|
+
green: 'hover:bg-green-700 hover:border-green-700 active:bg-green-300',
|
|
316
|
+
emerald: 'hover:bg-emerald-700 hover:border-emerald-700 active:bg-emerald-300',
|
|
317
|
+
teal: 'hover:bg-teal-700 hover:border-teal-700 active:bg-teal-300',
|
|
318
|
+
cyan: 'hover:bg-cyan-700 hover:border-cyan-700 active:bg-cyan-300',
|
|
319
|
+
sky: 'hover:bg-sky-700 hover:border-sky-700 active:bg-sky-300',
|
|
320
|
+
blue: 'hover:bg-blue-700 hover:border-blue-700 active:bg-blue-300',
|
|
321
|
+
indigo: 'hover:bg-indigo-700 hover:border-indigo-700 active:bg-indigo-300',
|
|
322
|
+
violet: 'hover:bg-violet-700 hover:border-violet-700 active:bg-violet-300',
|
|
323
|
+
purple: 'hover:bg-purple-700 hover:border-purple-700 active:bg-purple-300',
|
|
324
|
+
fuchsia: 'hover:bg-fuchsia-700 hover:border-fuchsia-700 active:bg-fuchsia-300',
|
|
325
|
+
pink: 'hover:bg-pink-700 hover:border-pink-700 active:bg-pink-300',
|
|
326
|
+
rose: 'hover:bg-rose-700 hover:border-rose-700 active:bg-rose-300'
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Dark Theme - Hover Colors for Filled Variant
|
|
330
|
+
*/
|
|
331
|
+
exports.HOVER_COLORS_DARK = {
|
|
332
|
+
primary: 'hover:bg-primary-300 hover:border-primary-300 active:bg-primary-500',
|
|
333
|
+
secondary: 'hover:bg-secondary-300 hover:border-secondary-300 active:bg-secondary-500',
|
|
334
|
+
tertiary: 'hover:bg-tertiary-300 hover:border-tertiary-300 active:bg-tertiary-500',
|
|
335
|
+
info: 'hover:bg-info-300 hover:border-info-300 active:bg-info-500',
|
|
336
|
+
danger: 'hover:bg-danger-300 hover:border-danger-300 active:bg-danger-500',
|
|
337
|
+
warning: 'hover:bg-warning-300 hover:border-warning-300 active:bg-warning-500',
|
|
338
|
+
success: 'hover:bg-success-300 hover:border-success-300 active:bg-success-500',
|
|
339
|
+
control: 'hover:bg-gray-500 hover:border-gray-500 active:bg-gray-700',
|
|
340
|
+
black: 'hover:bg-gray-700 hover:border-gray-700 active:bg-gray-900',
|
|
341
|
+
inherit: 'bg-transparent hover:bg-transparent',
|
|
342
|
+
slate: 'hover:bg-slate-300 hover:border-slate-300 active:bg-slate-500',
|
|
343
|
+
zinc: 'hover:bg-zinc-300 hover:border-zinc-300 active:bg-zinc-500',
|
|
344
|
+
neutral: 'hover:bg-neutral-300 hover:border-neutral-300 active:bg-neutral-500',
|
|
345
|
+
stone: 'hover:bg-stone-300 hover:border-stone-300 active:bg-stone-500',
|
|
346
|
+
red: 'hover:bg-red-300 hover:border-red-300 active:bg-red-500',
|
|
347
|
+
orange: 'hover:bg-orange-300 hover:border-orange-300 active:bg-orange-500',
|
|
348
|
+
amber: 'hover:bg-amber-300 hover:border-amber-300 active:bg-amber-500',
|
|
349
|
+
yellow: 'hover:bg-yellow-300 hover:border-yellow-300 active:bg-yellow-500',
|
|
350
|
+
lime: 'hover:bg-lime-300 hover:border-lime-300 active:bg-lime-500',
|
|
351
|
+
green: 'hover:bg-green-300 hover:border-green-300 active:bg-green-500',
|
|
352
|
+
emerald: 'hover:bg-emerald-300 hover:border-emerald-300 active:bg-emerald-500',
|
|
353
|
+
teal: 'hover:bg-teal-300 hover:border-teal-300 active:bg-teal-500',
|
|
354
|
+
cyan: 'hover:bg-cyan-300 hover:border-cyan-300 active:bg-cyan-500',
|
|
355
|
+
sky: 'hover:bg-sky-300 hover:border-sky-300 active:bg-sky-500',
|
|
356
|
+
blue: 'hover:bg-blue-300 hover:border-blue-300 active:bg-blue-500',
|
|
357
|
+
indigo: 'hover:bg-indigo-300 hover:border-indigo-300 active:bg-indigo-500',
|
|
358
|
+
violet: 'hover:bg-violet-300 hover:border-violet-300 active:bg-violet-500',
|
|
359
|
+
purple: 'hover:bg-purple-300 hover:border-purple-300 active:bg-purple-500',
|
|
360
|
+
fuchsia: 'hover:bg-fuchsia-300 hover:border-fuchsia-300 active:bg-fuchsia-500',
|
|
361
|
+
pink: 'hover:bg-pink-300 hover:border-pink-300 active:bg-pink-500',
|
|
362
|
+
rose: 'hover:bg-rose-300 hover:border-rose-300 active:bg-rose-500'
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Helper function to get chip colors based on theme and variant
|
|
366
|
+
*/
|
|
367
|
+
var getChipColors = function (theme, color, variant) {
|
|
368
|
+
if (variant === 'filled') {
|
|
369
|
+
return theme === 'dark' ? exports.COLORS_DARK[color] : exports.COLORS_LIGHT[color];
|
|
370
|
+
}
|
|
371
|
+
else if (variant === 'outlined') {
|
|
372
|
+
return theme === 'dark' ? exports.OUTLINED_COLORS_DARK[color] : exports.OUTLINED_COLORS_LIGHT[color];
|
|
373
|
+
}
|
|
374
|
+
else if (variant === 'tint') {
|
|
375
|
+
return theme === 'dark' ? exports.TINT_COLORS_DARK[color] : exports.TINT_COLORS_LIGHT[color];
|
|
376
|
+
}
|
|
377
|
+
return theme === 'dark' ? exports.TEXT_COLORS_DARK[color] : exports.TEXT_COLORS_LIGHT[color];
|
|
378
|
+
};
|
|
379
|
+
exports.getChipColors = getChipColors;
|
|
380
|
+
/**
|
|
381
|
+
* Helper function to get chip hover colors based on theme and variant
|
|
382
|
+
*/
|
|
383
|
+
var getChipHoverColors = function (theme, color, variant) {
|
|
384
|
+
if (variant === 'filled') {
|
|
385
|
+
return theme === 'dark' ? exports.HOVER_COLORS_DARK[color] : exports.HOVER_COLORS_LIGHT[color];
|
|
386
|
+
}
|
|
387
|
+
// For other variants, we'll add hover styles in the future
|
|
388
|
+
return '';
|
|
389
|
+
};
|
|
390
|
+
exports.getChipHoverColors = getChipHoverColors;
|
|
391
|
+
//# sourceMappingURL=chip-theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip-theme.js","sourceRoot":"","sources":["../../theme/chip-theme.ts"],"names":[],"mappings":";;;AAGA;;GAEG;AACU,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,8CAA8C;IACvD,SAAS,EAAE,kDAAkD;IAC7D,QAAQ,EAAE,gDAAgD;IAC1D,IAAI,EAAE,wCAAwC;IAC9C,MAAM,EAAE,4CAA4C;IACpD,OAAO,EAAE,8CAA8C;IACvD,OAAO,EAAE,8CAA8C;IACvD,OAAO,EAAE,8CAA8C;IACvD,KAAK,EAAE,kCAAkC;IACzC,OAAO,EAAE,qCAAqC;IAC9C,KAAK,EAAE,0CAA0C;IACjD,IAAI,EAAE,wCAAwC;IAC9C,OAAO,EAAE,8CAA8C;IACvD,KAAK,EAAE,0CAA0C;IACjD,GAAG,EAAE,sCAAsC;IAC3C,MAAM,EAAE,4CAA4C;IACpD,KAAK,EAAE,0CAA0C;IACjD,MAAM,EAAE,4CAA4C;IACpD,IAAI,EAAE,wCAAwC;IAC9C,KAAK,EAAE,0CAA0C;IACjD,OAAO,EAAE,8CAA8C;IACvD,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE,wCAAwC;IAC9C,GAAG,EAAE,sCAAsC;IAC3C,IAAI,EAAE,wCAAw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B,OAAO,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,wBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,yBAAiB,CAAC,KAAK,CAAC,CAAC;KAC9E;IACD,OAAO,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,wBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,yBAAiB,CAAC,KAAK,CAAC,CAAC;AAC/E,CAAC,CAAC;AATW,QAAA,aAAa,iBASxB;AAEF;;GAEG;AACI,IAAM,kBAAkB,GAAG,UAAC,KAAY,EAAE,KAAiB,EAAE,OAAgB;IAClF,IAAI,OAAO,KAAK,QAAQ,EAAE;QACxB,OAAO,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,yBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,0BAAkB,CAAC,KAAK,CAAC,CAAC;KAChF;IACD,2DAA2D;IAC3D,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AANW,QAAA,kBAAkB,sBAM7B"}
|
package/theme/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Theme System Exports
|
|
3
|
+
*
|
|
4
|
+
* Import theme utilities and component-specific theme functions
|
|
5
|
+
*/
|
|
6
|
+
export { getBadgeColors } from './badge-theme';
|
|
7
|
+
export { getChipColors, getChipHoverColors, } from './chip-theme';
|
|
8
|
+
export { getSwitchColors } from './switch-box-theme';
|
|
9
|
+
export { getSpinnerColors } from './spinner-theme';
|
|
10
|
+
export { getCheckboxColors } from './checkbox-theme';
|
|
11
|
+
export { getRadioColors, getRadioHoverColors } from './radio-button-theme';
|
|
12
|
+
export { adjustColorWeight, invertTextColor, convertControlColors, useThemeSafe, createThemeSelector, createColorGetter, isDarkTheme, themeClass, DARK_BACKGROUNDS, DARK_TEXT, DARK_BORDERS, } from './theme-utils';
|
package/theme/index.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Theme System Exports
|
|
4
|
+
*
|
|
5
|
+
* Import theme utilities and component-specific theme functions
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
exports.__esModule = true;
|
|
19
|
+
exports.DARK_BORDERS = exports.DARK_TEXT = exports.DARK_BACKGROUNDS = exports.themeClass = exports.isDarkTheme = exports.createColorGetter = exports.createThemeSelector = exports.useThemeSafe = exports.convertControlColors = exports.invertTextColor = exports.adjustColorWeight = exports.getRadioHoverColors = exports.getRadioColors = exports.getCheckboxColors = exports.getSpinnerColors = exports.getSwitchColors = exports.getChipHoverColors = exports.getChipColors = exports.getBadgeColors = void 0;
|
|
20
|
+
// Badge Theme
|
|
21
|
+
var badge_theme_1 = require("./badge-theme");
|
|
22
|
+
__createBinding(exports, badge_theme_1, "getBadgeColors");
|
|
23
|
+
// Chip Theme
|
|
24
|
+
var chip_theme_1 = require("./chip-theme");
|
|
25
|
+
__createBinding(exports, chip_theme_1, "getChipColors");
|
|
26
|
+
__createBinding(exports, chip_theme_1, "getChipHoverColors");
|
|
27
|
+
// Switch-box Theme
|
|
28
|
+
var switch_box_theme_1 = require("./switch-box-theme");
|
|
29
|
+
__createBinding(exports, switch_box_theme_1, "getSwitchColors");
|
|
30
|
+
// Spinner Theme
|
|
31
|
+
var spinner_theme_1 = require("./spinner-theme");
|
|
32
|
+
__createBinding(exports, spinner_theme_1, "getSpinnerColors");
|
|
33
|
+
// Checkbox Theme
|
|
34
|
+
var checkbox_theme_1 = require("./checkbox-theme");
|
|
35
|
+
__createBinding(exports, checkbox_theme_1, "getCheckboxColors");
|
|
36
|
+
// Radio-button Theme
|
|
37
|
+
var radio_button_theme_1 = require("./radio-button-theme");
|
|
38
|
+
__createBinding(exports, radio_button_theme_1, "getRadioColors");
|
|
39
|
+
__createBinding(exports, radio_button_theme_1, "getRadioHoverColors");
|
|
40
|
+
// Theme Utilities
|
|
41
|
+
var theme_utils_1 = require("./theme-utils");
|
|
42
|
+
__createBinding(exports, theme_utils_1, "adjustColorWeight");
|
|
43
|
+
__createBinding(exports, theme_utils_1, "invertTextColor");
|
|
44
|
+
__createBinding(exports, theme_utils_1, "convertControlColors");
|
|
45
|
+
__createBinding(exports, theme_utils_1, "useThemeSafe");
|
|
46
|
+
__createBinding(exports, theme_utils_1, "createThemeSelector");
|
|
47
|
+
__createBinding(exports, theme_utils_1, "createColorGetter");
|
|
48
|
+
__createBinding(exports, theme_utils_1, "isDarkTheme");
|
|
49
|
+
__createBinding(exports, theme_utils_1, "themeClass");
|
|
50
|
+
__createBinding(exports, theme_utils_1, "DARK_BACKGROUNDS");
|
|
51
|
+
__createBinding(exports, theme_utils_1, "DARK_TEXT");
|
|
52
|
+
__createBinding(exports, theme_utils_1, "DARK_BORDERS");
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../theme/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;AAEH,cAAc;AACd,6CAA+C;AAAtC,0DAAc;AAEvB,aAAa;AACb,2CAGsB;AAFpB,wDAAa;AACb,6DAAkB;AAGpB,mBAAmB;AACnB,uDAAqD;AAA5C,gEAAe;AAExB,gBAAgB;AAChB,iDAAmD;AAA1C,8DAAgB;AAEzB,iBAAiB;AACjB,mDAAqD;AAA5C,gEAAiB;AAE1B,qBAAqB;AACrB,2DAA2E;AAAlE,iEAAc;AAAE,sEAAmB;AAE5C,kBAAkB;AAClB,6CAYuB;AAXrB,6DAAiB;AACjB,2DAAe;AACf,gEAAoB;AACpB,wDAAY;AACZ,+DAAmB;AACnB,6DAAiB;AACjB,uDAAW;AACX,sDAAU;AACV,4DAAgB;AAChB,qDAAS;AACT,wDAAY"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Theme } from '../provider';
|
|
2
|
+
/**
|
|
3
|
+
* Light Theme Radio Button Border Colors
|
|
4
|
+
*/
|
|
5
|
+
export declare const COLORS_LIGHT: Record<string, string>;
|
|
6
|
+
/**
|
|
7
|
+
* Dark Theme Radio Button Border Colors
|
|
8
|
+
*/
|
|
9
|
+
export declare const COLORS_DARK: Record<string, string>;
|
|
10
|
+
/**
|
|
11
|
+
* Light Theme Radio Button Fill Colors (the inner circle)
|
|
12
|
+
*/
|
|
13
|
+
export declare const HOVER_COLORS_LIGHT: Record<string, string>;
|
|
14
|
+
/**
|
|
15
|
+
* Dark Theme Radio Button Fill Colors (the inner circle)
|
|
16
|
+
*/
|
|
17
|
+
export declare const HOVER_COLORS_DARK: Record<string, string>;
|
|
18
|
+
/**
|
|
19
|
+
* Helper function to get radio button border colors based on theme
|
|
20
|
+
*/
|
|
21
|
+
export declare const getRadioColors: (theme: Theme, color: string) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Helper function to get radio button fill colors based on theme
|
|
24
|
+
*/
|
|
25
|
+
export declare const getRadioHoverColors: (theme: Theme, color: string) => string;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.getRadioHoverColors = exports.getRadioColors = exports.HOVER_COLORS_DARK = exports.HOVER_COLORS_LIGHT = exports.COLORS_DARK = exports.COLORS_LIGHT = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Light Theme Radio Button Border Colors
|
|
6
|
+
*/
|
|
7
|
+
exports.COLORS_LIGHT = {
|
|
8
|
+
primary: 'checked:border-primary checked:hover:border-primary-700 hover:border-grey-700',
|
|
9
|
+
secondary: 'checked:border-secondary checked:hover:border-secondary-700 hover:border-grey-700'
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Dark Theme Radio Button Border Colors
|
|
13
|
+
*/
|
|
14
|
+
exports.COLORS_DARK = {
|
|
15
|
+
primary: 'checked:border-primary-400 checked:hover:border-primary-300 hover:border-gray-500',
|
|
16
|
+
secondary: 'checked:border-secondary-400 checked:hover:border-secondary-300 hover:border-gray-500'
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Light Theme Radio Button Fill Colors (the inner circle)
|
|
20
|
+
*/
|
|
21
|
+
exports.HOVER_COLORS_LIGHT = {
|
|
22
|
+
primary: 'bg-primary peer-hover:bg-primary-700',
|
|
23
|
+
secondary: 'bg-secondary peer-hover:bg-secondary-700'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Dark Theme Radio Button Fill Colors (the inner circle)
|
|
27
|
+
*/
|
|
28
|
+
exports.HOVER_COLORS_DARK = {
|
|
29
|
+
primary: 'bg-primary-400 peer-hover:bg-primary-300',
|
|
30
|
+
secondary: 'bg-secondary-400 peer-hover:bg-secondary-300'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Helper function to get radio button border colors based on theme
|
|
34
|
+
*/
|
|
35
|
+
var getRadioColors = function (theme, color) {
|
|
36
|
+
var colorMap = theme === 'dark' ? exports.COLORS_DARK : exports.COLORS_LIGHT;
|
|
37
|
+
return colorMap[color] || colorMap['primary'];
|
|
38
|
+
};
|
|
39
|
+
exports.getRadioColors = getRadioColors;
|
|
40
|
+
/**
|
|
41
|
+
* Helper function to get radio button fill colors based on theme
|
|
42
|
+
*/
|
|
43
|
+
var getRadioHoverColors = function (theme, color) {
|
|
44
|
+
var colorMap = theme === 'dark' ? exports.HOVER_COLORS_DARK : exports.HOVER_COLORS_LIGHT;
|
|
45
|
+
return colorMap[color] || colorMap['primary'];
|
|
46
|
+
};
|
|
47
|
+
exports.getRadioHoverColors = getRadioHoverColors;
|
|
48
|
+
//# sourceMappingURL=radio-button-theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-button-theme.js","sourceRoot":"","sources":["../../theme/radio-button-theme.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACU,QAAA,YAAY,GAA2B;IAClD,OAAO,EAAE,+EAA+E;IACxF,SAAS,EAAE,mFAAmF;CAC/F,CAAC;AAEF;;GAEG;AACU,QAAA,WAAW,GAA2B;IACjD,OAAO,EAAE,mFAAmF;IAC5F,SAAS,EAAE,uFAAuF;CACnG,CAAC;AAEF;;GAEG;AACU,QAAA,kBAAkB,GAA2B;IACxD,OAAO,EAAE,sCAAsC;IAC/C,SAAS,EAAE,0CAA0C;CACtD,CAAC;AAEF;;GAEG;AACU,QAAA,iBAAiB,GAA2B;IACvD,OAAO,EAAE,0CAA0C;IACnD,SAAS,EAAE,8CAA8C;CAC1D,CAAC;AAEF;;GAEG;AACI,IAAM,cAAc,GAAG,UAAC,KAAY,EAAE,KAAa;IACxD,IAAM,QAAQ,GAAG,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,mBAAW,CAAC,CAAC,CAAC,oBAAY,CAAC;IAC/D,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,SAAS,CAAC,CAAC;AAChD,CAAC,CAAC;AAHW,QAAA,cAAc,kBAGzB;AAEF;;GAEG;AACI,IAAM,mBAAmB,GAAG,UAAC,KAAY,EAAE,KAAa;IAC7D,IAAM,QAAQ,GAAG,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,yBAAiB,CAAC,CAAC,CAAC,0BAAkB,CAAC;IAC3E,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,SAAS,CAAC,CAAC;AAChD,CAAC,CAAC;AAHW,QAAA,mBAAmB,uBAG9B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Theme } from '../provider';
|
|
2
|
+
import { Colors } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Light Theme Spinner Colors
|
|
5
|
+
*/
|
|
6
|
+
export declare const COLORS_LIGHT: Record<Colors, string>;
|
|
7
|
+
/**
|
|
8
|
+
* Dark Theme Spinner Colors
|
|
9
|
+
*/
|
|
10
|
+
export declare const COLORS_DARK: Record<Colors, string>;
|
|
11
|
+
/**
|
|
12
|
+
* Helper function to get spinner colors based on theme
|
|
13
|
+
*/
|
|
14
|
+
export declare const getSpinnerColors: (theme: Theme, color: string) => string;
|