@webitel/styleguide 24.12.26 → 24.12.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/styleguide",
3
- "version": "24.12.26",
3
+ "version": "24.12.27",
4
4
  "main": "",
5
5
  "exports": {
6
6
  ".": "./src/lib/main.scss",
@@ -14,7 +14,9 @@
14
14
  "./supervisor": "./src/supervisor/main.scss",
15
15
  "./workspaces": "./src/workspaces/main.scss",
16
16
  "./wt-flow-diagram": "./src/wt-flow-diagram/main.scss",
17
- "./fonts": "./src/lib/styleguide/fonts/_fonts.scss"
17
+ "./fonts": "./src/lib/styleguide/fonts/_fonts.scss",
18
+ "./component-schemes": "./src/lib/primevue/components/index.js",
19
+ "./semantic": "./src/lib/primevue/semantic/color-scheme/index.js"
18
20
  },
19
21
  "files": [
20
22
  "src/"
@@ -0,0 +1,287 @@
1
+ const darkColors = {
2
+ root: {
3
+ primary: {
4
+ background: '{primary.color}',
5
+ hoverBackground: '{primary.hover.color}',
6
+ activeBackground: '{primary.active.color}',
7
+ borderColor: '{primary.color}',
8
+ hoverBorderColor: '{primary.hover.color}',
9
+ activeBorderColor: '{primary.active.color}',
10
+ color: '{primary.contrast.color}',
11
+ hoverColor: '{primary.contrast.color}',
12
+ activeColor: '{primary.contrast.color}',
13
+ focusRing: {
14
+ color: '{primary.color}',
15
+ shadow: 'none'
16
+ }
17
+ },
18
+ secondary: {
19
+ background: '{surface.800}',
20
+ hoverBackground: '{surface.700}',
21
+ activeBackground: '{surface.600}',
22
+ borderColor: '{surface.800}',
23
+ hoverBorderColor: '{surface.700}',
24
+ activeBorderColor: '{surface.600}',
25
+ color: '{surface.300}',
26
+ hoverColor: '{surface.200}',
27
+ activeColor: '{surface.100}',
28
+ focusRing: {
29
+ color: '{surface.300}',
30
+ shadow: 'none'
31
+ }
32
+ },
33
+ info: {
34
+ background: '{sky.400}',
35
+ hoverBackground: '{sky.300}',
36
+ activeBackground: '{sky.200}',
37
+ borderColor: '{sky.400}',
38
+ hoverBorderColor: '{sky.300}',
39
+ activeBorderColor: '{sky.200}',
40
+ color: '{sky.950}',
41
+ hoverColor: '{sky.950}',
42
+ activeColor: '{sky.950}',
43
+ focusRing: {
44
+ color: '{sky.400}',
45
+ shadow: 'none'
46
+ }
47
+ },
48
+ success: {
49
+ background: '{green.400}',
50
+ hoverBackground: '{green.300}',
51
+ activeBackground: '{green.200}',
52
+ borderColor: '{green.400}',
53
+ hoverBorderColor: '{green.300}',
54
+ activeBorderColor: '{green.200}',
55
+ color: '{green.950}',
56
+ hoverColor: '{green.950}',
57
+ activeColor: '{green.950}',
58
+ focusRing: {
59
+ color: '{green.400}',
60
+ shadow: 'none'
61
+ }
62
+ },
63
+ warn: {
64
+ background: '{orange.400}',
65
+ hoverBackground: '{orange.300}',
66
+ activeBackground: '{orange.200}',
67
+ borderColor: '{orange.400}',
68
+ hoverBorderColor: '{orange.300}',
69
+ activeBorderColor: '{orange.200}',
70
+ color: '{orange.950}',
71
+ hoverColor: '{orange.950}',
72
+ activeColor: '{orange.950}',
73
+ focusRing: {
74
+ color: '{orange.400}',
75
+ shadow: 'none'
76
+ }
77
+ },
78
+ help: {
79
+ background: '{purple.400}',
80
+ hoverBackground: '{purple.300}',
81
+ activeBackground: '{purple.200}',
82
+ borderColor: '{purple.400}',
83
+ hoverBorderColor: '{purple.300}',
84
+ activeBorderColor: '{purple.200}',
85
+ color: '{purple.950}',
86
+ hoverColor: '{purple.950}',
87
+ activeColor: '{purple.950}',
88
+ focusRing: {
89
+ color: '{purple.400}',
90
+ shadow: 'none'
91
+ }
92
+ },
93
+ danger: {
94
+ background: '{red.400}',
95
+ hoverBackground: '{red.300}',
96
+ activeBackground: '{red.200}',
97
+ borderColor: '{red.400}',
98
+ hoverBorderColor: '{red.300}',
99
+ activeBorderColor: '{red.200}',
100
+ color: '{red.950}',
101
+ hoverColor: '{red.950}',
102
+ activeColor: '{red.950}',
103
+ focusRing: {
104
+ color: '{red.400}',
105
+ shadow: 'none'
106
+ }
107
+ },
108
+ contrast: {
109
+ background: '{surface.0}',
110
+ hoverBackground: '{surface.100}',
111
+ activeBackground: '{surface.200}',
112
+ borderColor: '{surface.0}',
113
+ hoverBorderColor: '{surface.100}',
114
+ activeBorderColor: '{surface.200}',
115
+ color: '{surface.950}',
116
+ hoverColor: '{surface.950}',
117
+ activeColor: '{surface.950}',
118
+ focusRing: {
119
+ color: '{surface.0}',
120
+ shadow: 'none'
121
+ }
122
+ },
123
+ /**
124
+ * TODO @Evgeniy Trahtenberg
125
+ * need to refactor transfer, error and job colors
126
+ * */
127
+ transfer: {
128
+ background: '{primary.color}',
129
+ hoverBackground: '{primary.hover.color}',
130
+ activeBackground: '{primary.active.color}',
131
+ borderColor: '{primary.color}',
132
+ hoverBorderColor: '{primary.hover.color}',
133
+ activeBorderColor: '{primary.active.color}',
134
+ color: '{primary.contrast.color}',
135
+ hoverColor: '{primary.contrast.color}',
136
+ activeColor: '{primary.contrast.color}',
137
+ focusRing: {
138
+ color: '{primary.color}',
139
+ shadow: 'none'
140
+ }
141
+ },
142
+ error: {
143
+ background: '{primary.color}',
144
+ hoverBackground: '{primary.hover.color}',
145
+ activeBackground: '{primary.active.color}',
146
+ borderColor: '{primary.color}',
147
+ hoverBorderColor: '{primary.hover.color}',
148
+ activeBorderColor: '{primary.active.color}',
149
+ color: '{primary.contrast.color}',
150
+ hoverColor: '{primary.contrast.color}',
151
+ activeColor: '{primary.contrast.color}',
152
+ focusRing: {
153
+ color: '{primary.color}',
154
+ shadow: 'none'
155
+ }
156
+ },
157
+ job: {
158
+ background: '{primary.color}',
159
+ hoverBackground: '{primary.hover.color}',
160
+ activeBackground: '{primary.active.color}',
161
+ borderColor: '{primary.color}',
162
+ hoverBorderColor: '{primary.hover.color}',
163
+ activeBorderColor: '{primary.active.color}',
164
+ color: '{primary.contrast.color}',
165
+ hoverColor: '{primary.contrast.color}',
166
+ activeColor: '{primary.contrast.color}',
167
+ focusRing: {
168
+ color: '{primary.color}',
169
+ shadow: 'none'
170
+ }
171
+ },
172
+ disabled: {
173
+ color: '{grey.darken.1}',
174
+ background: '{dp-surface-color.16}',
175
+ },
176
+ },
177
+ outlined: {
178
+ primary: {
179
+ hoverBackground: 'color-mix(in srgb, {primary.color}, transparent 96%)',
180
+ activeBackground: 'color-mix(in srgb, {primary.color}, transparent 84%)',
181
+ borderColor: '{primary.700}',
182
+ color: '{primary.color}'
183
+ },
184
+ secondary: {
185
+ hoverBackground: 'rgba(255,255,255,0.04)',
186
+ activeBackground: 'rgba(255,255,255,0.16)',
187
+ borderColor: '{surface.700}',
188
+ color: '{surface.400}'
189
+ },
190
+ success: {
191
+ hoverBackground: 'color-mix(in srgb, {green.400}, transparent 96%)',
192
+ activeBackground: 'color-mix(in srgb, {green.400}, transparent 84%)',
193
+ borderColor: '{green.700}',
194
+ color: '{green.400}'
195
+ },
196
+ info: {
197
+ hoverBackground: 'color-mix(in srgb, {sky.400}, transparent 96%)',
198
+ activeBackground: 'color-mix(in srgb, {sky.400}, transparent 84%)',
199
+ borderColor: '{sky.700}',
200
+ color: '{sky.400}'
201
+ },
202
+ warn: {
203
+ hoverBackground: 'color-mix(in srgb, {orange.400}, transparent 96%)',
204
+ activeBackground: 'color-mix(in srgb, {orange.400}, transparent 84%)',
205
+ borderColor: '{orange.700}',
206
+ color: '{orange.400}'
207
+ },
208
+ help: {
209
+ hoverBackground: 'color-mix(in srgb, {purple.400}, transparent 96%)',
210
+ activeBackground: 'color-mix(in srgb, {purple.400}, transparent 84%)',
211
+ borderColor: '{purple.700}',
212
+ color: '{purple.400}'
213
+ },
214
+ danger: {
215
+ hoverBackground: 'color-mix(in srgb, {red.400}, transparent 96%)',
216
+ activeBackground: 'color-mix(in srgb, {red.400}, transparent 84%)',
217
+ borderColor: '{red.700}',
218
+ color: '{red.400}'
219
+ },
220
+ contrast: {
221
+ hoverBackground: '{surface.800}',
222
+ activeBackground: '{surface.700}',
223
+ borderColor: '{surface.500}',
224
+ color: '{surface.0}'
225
+ },
226
+ plain: {
227
+ hoverBackground: '{surface.800}',
228
+ activeBackground: '{surface.700}',
229
+ borderColor: '{surface.600}',
230
+ color: '{surface.0}'
231
+ }
232
+ },
233
+ text: {
234
+ primary: {
235
+ hoverBackground: 'color-mix(in srgb, {primary.color}, transparent 96%)',
236
+ activeBackground: 'color-mix(in srgb, {primary.color}, transparent 84%)',
237
+ color: '{primary.color}'
238
+ },
239
+ secondary: {
240
+ hoverBackground: '{surface.800}',
241
+ activeBackground: '{surface.700}',
242
+ color: '{surface.400}'
243
+ },
244
+ success: {
245
+ hoverBackground: 'color-mix(in srgb, {green.400}, transparent 96%)',
246
+ activeBackground: 'color-mix(in srgb, {green.400}, transparent 84%)',
247
+ color: '{green.400}'
248
+ },
249
+ info: {
250
+ hoverBackground: 'color-mix(in srgb, {sky.400}, transparent 96%)',
251
+ activeBackground: 'color-mix(in srgb, {sky.400}, transparent 84%)',
252
+ color: '{sky.400}'
253
+ },
254
+ warn: {
255
+ hoverBackground: 'color-mix(in srgb, {orange.400}, transparent 96%)',
256
+ activeBackground: 'color-mix(in srgb, {orange.400}, transparent 84%)',
257
+ color: '{orange.400}'
258
+ },
259
+ help: {
260
+ hoverBackground: 'color-mix(in srgb, {purple.400}, transparent 96%)',
261
+ activeBackground: 'color-mix(in srgb, {purple.400}, transparent 84%)',
262
+ color: '{purple.400}'
263
+ },
264
+ danger: {
265
+ hoverBackground: 'color-mix(in srgb, {red.400}, transparent 96%)',
266
+ activeBackground: 'color-mix(in srgb, {red.400}, transparent 84%)',
267
+ color: '{red.400}'
268
+ },
269
+ contrast: {
270
+ hoverBackground: '{surface.800}',
271
+ activeBackground: '{surface.700}',
272
+ color: '{surface.0}'
273
+ },
274
+ plain: {
275
+ hoverBackground: '{surface.800}',
276
+ activeBackground: '{surface.700}',
277
+ color: '{surface.0}'
278
+ }
279
+ },
280
+ link: {
281
+ color: '{primary.color}',
282
+ hoverColor: '{primary.color}',
283
+ activeColor: '{primary.color}'
284
+ }
285
+ }
286
+
287
+ export default darkColors
@@ -0,0 +1,9 @@
1
+ import darkColors from './dark';
2
+ import lightColors from './light';
3
+
4
+ const colorScheme = {
5
+ light: lightColors,
6
+ dark: darkColors
7
+ }
8
+
9
+ export default colorScheme;
@@ -0,0 +1,287 @@
1
+ const lightColors = {
2
+ root: {
3
+ primary: {
4
+ background: '{primary-color}',
5
+ hoverBackground: '{primary.hover.color}',
6
+ activeBackground: '{primary.active.color}',
7
+ borderColor: '{primary.color}',
8
+ hoverBorderColor: '{primary.hover.color}',
9
+ activeBorderColor: '{primary.active.color}',
10
+ color: '{primary.contrast.color}',
11
+ hoverColor: '{primary.contrast.color}',
12
+ activeColor: '{primary.contrast.color}',
13
+ focusRing: {
14
+ color: '{primary.color}',
15
+ shadow: 'none',
16
+ },
17
+ },
18
+ secondary: {
19
+ background: '{surface.100}',
20
+ hoverBackground: '{surface.200}',
21
+ activeBackground: '{surface.300}',
22
+ borderColor: '{surface.100}',
23
+ hoverBorderColor: '{surface.200}',
24
+ activeBorderColor: '{surface.300}',
25
+ color: '{surface.600}',
26
+ hoverColor: '{surface.700}',
27
+ activeColor: '{surface.800}',
28
+ focusRing: {
29
+ color: '{surface.600}',
30
+ shadow: 'none',
31
+ },
32
+ },
33
+ info: {
34
+ background: '{sky.500}',
35
+ hoverBackground: '{sky.400}',
36
+ activeBackground: '{sky.300}',
37
+ borderColor: '{sky.500}',
38
+ hoverBorderColor: '{sky.400}',
39
+ activeBorderColor: '{sky.300}',
40
+ color: '#ffffff',
41
+ hoverColor: '#ffffff',
42
+ activeColor: '#ffffff',
43
+ focusRing: {
44
+ color: '{sky.500}',
45
+ shadow: 'none',
46
+ },
47
+ },
48
+ success: {
49
+ background: '{success-color}',
50
+ hoverBackground: '{success-hover-color}',
51
+ activeBackground: '{success-hover-color}',
52
+ borderColor: '{green.500}',
53
+ hoverBorderColor: '{green.400}',
54
+ activeBorderColor: '{green.300}',
55
+ color: '#ffffff',
56
+ hoverColor: '#ffffff',
57
+ activeColor: '#ffffff',
58
+ focusRing: {
59
+ color: '{green.500}',
60
+ shadow: 'none',
61
+ },
62
+ },
63
+ warn: {
64
+ background: '{orange.500}',
65
+ hoverBackground: '{orange.400}',
66
+ activeBackground: '{orange.300}',
67
+ borderColor: '{orange.500}',
68
+ hoverBorderColor: '{orange.400}',
69
+ activeBorderColor: '{orange.300}',
70
+ color: '#ffffff',
71
+ hoverColor: '#ffffff',
72
+ activeColor: '#ffffff',
73
+ focusRing: {
74
+ color: '{orange.500}',
75
+ shadow: 'none',
76
+ },
77
+ },
78
+ help: {
79
+ background: '{purple.500}',
80
+ hoverBackground: '{purple.400}',
81
+ activeBackground: '{purple.300}',
82
+ borderColor: '{purple.500}',
83
+ hoverBorderColor: '{purple.400}',
84
+ activeBorderColor: '{purple.300}',
85
+ color: '#ffffff',
86
+ hoverColor: '#ffffff',
87
+ activeColor: '#ffffff',
88
+ focusRing: {
89
+ color: '{purple.500}',
90
+ shadow: 'none',
91
+ },
92
+ },
93
+ danger: {
94
+ background: '{red.500}',
95
+ hoverBackground: '{red.400}',
96
+ activeBackground: '{red.300}',
97
+ borderColor: '{red.500}',
98
+ hoverBorderColor: '{red.400}',
99
+ activeBorderColor: '{red.300}',
100
+ color: '#ffffff',
101
+ hoverColor: '#ffffff',
102
+ activeColor: '#ffffff',
103
+ focusRing: {
104
+ color: '{red.500}',
105
+ shadow: 'none',
106
+ },
107
+ },
108
+ contrast: {
109
+ background: '{surface.950}',
110
+ hoverBackground: '{surface.800}',
111
+ activeBackground: '{surface.700}',
112
+ borderColor: '{surface.950}',
113
+ hoverBorderColor: '{surface.800}',
114
+ activeBorderColor: '{surface.700}',
115
+ color: '{surface.0}',
116
+ hoverColor: '{surface.0}',
117
+ activeColor: '{surface.0}',
118
+ focusRing: {
119
+ color: '{surface.950}',
120
+ shadow: 'none',
121
+ },
122
+ },
123
+ /**
124
+ * TODO @Evgeniy Trahtenberg
125
+ * need to refactor transfer, error and job colors
126
+ * */
127
+ transfer: {
128
+ background: '{primary.color}',
129
+ hoverBackground: '{primary.hover.color}',
130
+ activeBackground: '{primary.active.color}',
131
+ borderColor: '{primary.color}',
132
+ hoverBorderColor: '{primary.hover.color}',
133
+ activeBorderColor: '{primary.active.color}',
134
+ color: '{primary.contrast.color}',
135
+ hoverColor: '{primary.contrast.color}',
136
+ activeColor: '{primary.contrast.color}',
137
+ focusRing: {
138
+ color: '{primary.color}',
139
+ shadow: 'none',
140
+ },
141
+ },
142
+ error: {
143
+ background: '{error-color}',
144
+ hoverBackground: '{error-hover-color}',
145
+ activeBackground: '{error-hover-color}',
146
+ borderColor: '{primary.color}',
147
+ hoverBorderColor: '{primary.hover.color}',
148
+ activeBorderColor: '{primary.active.color}',
149
+ color: '{primary.contrast.color}',
150
+ hoverColor: '{primary.contrast.color}',
151
+ activeColor: '{primary.contrast.color}',
152
+ focusRing: {
153
+ color: '{primary.color}',
154
+ shadow: 'none',
155
+ },
156
+ },
157
+ job: {
158
+ background: '{primary.color}',
159
+ hoverBackground: '{primary.hover.color}',
160
+ activeBackground: '{primary.active.color}',
161
+ borderColor: '{primary.color}',
162
+ hoverBorderColor: '{primary.hover.color}',
163
+ activeBorderColor: '{primary.active.color}',
164
+ color: '{primary.contrast.color}',
165
+ hoverColor: '{primary.contrast.color}',
166
+ activeColor: '{primary.contrast.color}',
167
+ focusRing: {
168
+ color: '{primary.color}',
169
+ shadow: 'none',
170
+ },
171
+ },
172
+ disabled: {
173
+ color: '{grey.darken.1}',
174
+ background: '{dp-surface-color.16}',
175
+ },
176
+ },
177
+ outlined: {
178
+ primary: {
179
+ hoverBackground: '{primary.50}',
180
+ activeBackground: '{primary.100}',
181
+ borderColor: '{primary.color}',
182
+ color: '{primary.color}',
183
+ },
184
+ secondary: {
185
+ hoverBackground: '{surface.50}',
186
+ activeBackground: '{surface.100}',
187
+ borderColor: '{surface.600}',
188
+ color: '{surface.600}',
189
+ },
190
+ success: {
191
+ hoverBackground: '{green.50}',
192
+ activeBackground: '{green.100}',
193
+ borderColor: '{green.500}',
194
+ color: '{green.500}',
195
+ },
196
+ info: {
197
+ hoverBackground: '{sky.50}',
198
+ activeBackground: '{sky.100}',
199
+ borderColor: '{sky.500}',
200
+ color: '{sky.500}',
201
+ },
202
+ warn: {
203
+ hoverBackground: '{orange.50}',
204
+ activeBackground: '{orange.100}',
205
+ borderColor: '{orange.500}',
206
+ color: '{orange.500}',
207
+ },
208
+ help: {
209
+ hoverBackground: '{purple.50}',
210
+ activeBackground: '{purple.100}',
211
+ borderColor: '{purple.500}',
212
+ color: '{purple.500}',
213
+ },
214
+ danger: {
215
+ hoverBackground: '{red.50}',
216
+ activeBackground: '{red.100}',
217
+ borderColor: '{red.500}',
218
+ color: '{red.500}',
219
+ },
220
+ contrast: {
221
+ hoverBackground: '{surface.50}',
222
+ activeBackground: '{surface.100}',
223
+ borderColor: '{surface.950}',
224
+ color: '{surface.950}',
225
+ },
226
+ plain: {
227
+ hoverBackground: '{surface.50}',
228
+ activeBackground: '{surface.100}',
229
+ borderColor: '{surface.900}',
230
+ color: '{surface.900}',
231
+ },
232
+ },
233
+ text: {
234
+ primary: {
235
+ hoverBackground: '{primary.50}',
236
+ activeBackground: '{primary.100}',
237
+ color: '{primary.color}',
238
+ },
239
+ secondary: {
240
+ hoverBackground: '{surface.50}',
241
+ activeBackground: '{surface.100}',
242
+ color: '{surface.600}',
243
+ },
244
+ success: {
245
+ hoverBackground: '{green.50}',
246
+ activeBackground: '{green.100}',
247
+ color: '{green.500}',
248
+ },
249
+ info: {
250
+ hoverBackground: '{sky.50}',
251
+ activeBackground: '{sky.100}',
252
+ color: '{sky.500}',
253
+ },
254
+ warn: {
255
+ hoverBackground: '{orange.50}',
256
+ activeBackground: '{orange.100}',
257
+ color: '{orange.500}',
258
+ },
259
+ help: {
260
+ hoverBackground: '{purple.50}',
261
+ activeBackground: '{purple.100}',
262
+ color: '{purple.500}',
263
+ },
264
+ danger: {
265
+ hoverBackground: '{red.50}',
266
+ activeBackground: '{red.100}',
267
+ color: '{red.500}',
268
+ },
269
+ contrast: {
270
+ hoverBackground: '{surface.50}',
271
+ activeBackground: '{surface.100}',
272
+ color: '{surface.950}',
273
+ },
274
+ plain: {
275
+ hoverBackground: '{surface.50}',
276
+ activeBackground: '{surface.100}',
277
+ color: '{surface.900}',
278
+ },
279
+ },
280
+ link: {
281
+ color: '{primary.color}',
282
+ hoverColor: '{primary.color}',
283
+ activeColor: '{primary.color}',
284
+ },
285
+ };
286
+
287
+ export default lightColors;
@@ -0,0 +1,9 @@
1
+ import colorScheme from './colors';
2
+ import sizes from './sizes';
3
+
4
+ const ButtonScheme = {
5
+ colorScheme,
6
+ sizes,
7
+ }
8
+
9
+ export default ButtonScheme
@@ -0,0 +1,33 @@
1
+ const sizes = {
2
+ borderRadius: '{form.field.border.radius}',
3
+ roundedBorderRadius: '2rem',
4
+ gap: '0.5rem',
5
+ paddingX: '1rem',
6
+ paddingY: '0.625rem',
7
+ iconOnlyWidth: '3rem',
8
+ sm: {
9
+ fontSize: '{form.field.sm.font.size}',
10
+ paddingX: '{form.field.sm.padding.x}',
11
+ paddingY: '{form.field.sm.padding.y}',
12
+ iconOnlyWidth: '2.5rem'
13
+ },
14
+ lg: {
15
+ fontSize: '{form.field.lg.font.size}',
16
+ paddingX: '{form.field.lg.padding.x}',
17
+ paddingY: '{form.field.lg.padding.y}',
18
+ iconOnlyWidth: '3.5rem'
19
+ },
20
+ label: {
21
+ fontWeight: '500'
22
+ },
23
+ raisedShadow: '0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12)',
24
+ focusRing: {
25
+ width: '{focus.ring.width}',
26
+ style: '{focus.ring.style}',
27
+ offset: '{focus.ring.offset}'
28
+ },
29
+ badgeSize: '1rem',
30
+ transitionDuration: '{form.field.transition.duration}'
31
+ }
32
+
33
+ export default sizes
@@ -0,0 +1,9 @@
1
+ import ButtonScheme from './button';
2
+ import PopoverScheme from './popover';
3
+ import TooltipScheme from './tooltip';
4
+
5
+ export {
6
+ ButtonScheme,
7
+ PopoverScheme,
8
+ TooltipScheme,
9
+ }
@@ -0,0 +1,11 @@
1
+ const darkColors = {
2
+ background: '{overlay.popover.background}',
3
+ borderColor: '{overlay.popover.border.color}',
4
+ color: '{overlay.popover.color}',
5
+ borderRadius: '{overlay.popover.border.radius}',
6
+ shadow: '{overlay.popover.shadow}',
7
+ gutter: '10px',
8
+ arrowOffset: '1.25rem'
9
+ }
10
+
11
+ export default darkColors
@@ -0,0 +1,9 @@
1
+ import darkColors from './dark';
2
+ import lightColors from './light';
3
+
4
+ const colorScheme = {
5
+ light: lightColors,
6
+ dark: darkColors
7
+ }
8
+
9
+ export default colorScheme;
@@ -0,0 +1,11 @@
1
+ const lightColors = {
2
+ background: '{overlay.popover.background}',
3
+ borderColor: '{overlay.popover.border.color}',
4
+ color: '{overlay.popover.color}',
5
+ borderRadius: '{overlay.popover.border.radius}',
6
+ shadow: '{overlay.popover.shadow}',
7
+ gutter: '10px',
8
+ arrowOffset: '1.25rem'
9
+ }
10
+
11
+ export default lightColors