@webitel/styleguide 26.2.18 → 26.2.20
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 +4 -3
- package/src/assets/fonts/text-security-disc/text-security-disc.woff2 +0 -0
- package/src/enums/WtTypography/WtTypography.enum.ts +2 -1
- package/src/lib/primevue/components/chip/colors/dark/index.ts +2 -2
- package/src/lib/primevue/components/chip/colors/light/index.ts +2 -2
- package/src/lib/primevue/components/chip/sizes/index.ts +1 -0
- package/src/lib/primevue/components/datepicker/colors/dark/index.ts +63 -0
- package/src/lib/primevue/components/datepicker/colors/index.ts +9 -0
- package/src/lib/primevue/components/datepicker/colors/light/index.ts +63 -0
- package/src/lib/primevue/components/datepicker/index.ts +9 -0
- package/src/lib/primevue/components/datepicker/sizes/index.ts +89 -0
- package/src/lib/primevue/components/index.ts +22 -14
- package/src/lib/primevue/components/multiselect/colors/dark/index.ts +50 -0
- package/src/lib/primevue/components/multiselect/colors/index.ts +9 -0
- package/src/lib/primevue/components/multiselect/colors/light/index.ts +50 -0
- package/src/lib/primevue/components/multiselect/index.ts +9 -0
- package/src/lib/primevue/components/multiselect/sizes/index.ts +53 -0
- package/src/lib/primevue/components/popover/sizes/index.ts +1 -0
- package/src/lib/primevue/components/single-select/colors/dark/index.ts +53 -0
- package/src/lib/primevue/components/single-select/colors/index.ts +9 -0
- package/src/lib/primevue/components/single-select/colors/light/index.ts +53 -0
- package/src/lib/primevue/components/single-select/index.ts +9 -0
- package/src/lib/primevue/components/single-select/sizes/index.ts +53 -0
- package/src/lib/primevue/components/toast/colors/dark/index.ts +101 -0
- package/src/lib/primevue/components/toast/colors/index.ts +9 -0
- package/src/lib/primevue/components/toast/colors/light/index.ts +101 -0
- package/src/lib/primevue/components/toast/index.ts +9 -0
- package/src/lib/primevue/components/toast/sizes/index.ts +41 -0
- package/src/lib/primevue/semantic/color-scheme/dark-color.ts +14 -4
- package/src/lib/primevue/semantic/color-scheme/light-color.ts +14 -4
- package/src/lib/primevue/semantic/color-scheme/list/dark/index.ts +1 -1
- package/src/lib/primevue/semantic/color-scheme/list/light/index.ts +1 -1
- package/src/lib/primevue/semantic/sizes/list/index.ts +2 -2
- package/src/lib/primevue/semantic/sizes/player/index.ts +1 -0
- package/src/lib/primevue/semantic/sizes/typography/index.ts +9 -1
- package/src/lib/styleguide/colors/colors.css +11 -0
- package/src/lib/styleguide/fonts/fonts.css +14 -0
- package/src/lib/styleguide/scroll.css +3 -3
- package/src/lib/styleguide/typography/typography.css +11 -1
- package/src/vite-env.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/styleguide",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.20",
|
|
4
4
|
"main": "",
|
|
5
5
|
"files": [
|
|
6
6
|
"src/"
|
|
7
7
|
],
|
|
8
8
|
"scripts": {
|
|
9
9
|
"publish-styleguide": "npm run build && npm publish --access public",
|
|
10
|
-
"build": "tsc -
|
|
10
|
+
"build": "tsc -b ./tsconfig.build.json",
|
|
11
|
+
"typecheck": "vue-tsc --noEmit -p ./tsconfig.typecheck.json",
|
|
11
12
|
"lint:fix": "npx biome check --write ./src",
|
|
12
13
|
"biome:ci:gh": "biome ci ./src --reporter=github",
|
|
13
14
|
"test:unit": "node -e \"process.exit(0)\"",
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"ci:check": "npm run biome:ci:gh && npm run test:unit"
|
|
17
18
|
},
|
|
18
19
|
"devDependencies": {
|
|
19
|
-
"@biomejs/biome": "
|
|
20
|
+
"@biomejs/biome": "2.4.16",
|
|
20
21
|
"typescript": "^5.9.x"
|
|
21
22
|
},
|
|
22
23
|
"repository": {
|
|
Binary file
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
panel: {
|
|
3
|
+
background: '{content.background}',
|
|
4
|
+
borderColor: '{content.border.color}',
|
|
5
|
+
color: '{content.color}',
|
|
6
|
+
},
|
|
7
|
+
header: {
|
|
8
|
+
background: '{content.background}',
|
|
9
|
+
borderColor: '{content.border.color}',
|
|
10
|
+
color: '{content.color}',
|
|
11
|
+
},
|
|
12
|
+
dropdown: {
|
|
13
|
+
background: '{surface.800}',
|
|
14
|
+
hoverBackground: '{surface.700}',
|
|
15
|
+
activeBackground: '{surface.600}',
|
|
16
|
+
borderColor: '{form.field.border.color}',
|
|
17
|
+
hoverBorderColor: '{form.field.border.color}',
|
|
18
|
+
activeBorderColor: '{form.field.border.color}',
|
|
19
|
+
color: '{surface.300}',
|
|
20
|
+
hoverColor: '{surface.200}',
|
|
21
|
+
activeColor: '{surface.100}',
|
|
22
|
+
},
|
|
23
|
+
inputIcon: {
|
|
24
|
+
color: '{form.field.icon.color}',
|
|
25
|
+
},
|
|
26
|
+
selectMonth: {
|
|
27
|
+
hoverBackground: '{content.hover.background}',
|
|
28
|
+
color: '{content.color}',
|
|
29
|
+
hoverColor: '{content.hover.color}',
|
|
30
|
+
},
|
|
31
|
+
selectYear: {
|
|
32
|
+
hoverBackground: '{content.hover.background}',
|
|
33
|
+
color: '{content.color}',
|
|
34
|
+
hoverColor: '{content.hover.color}',
|
|
35
|
+
},
|
|
36
|
+
group: {
|
|
37
|
+
borderColor: '{content.border.color}',
|
|
38
|
+
},
|
|
39
|
+
weekDay: {
|
|
40
|
+
color: '{content.color}',
|
|
41
|
+
},
|
|
42
|
+
date: {
|
|
43
|
+
hoverBackground: '{content.hover.background}',
|
|
44
|
+
selectedBackground: '{primary.color}',
|
|
45
|
+
rangeSelectedBackground: '{highlight.background}',
|
|
46
|
+
color: '{content.color}',
|
|
47
|
+
hoverColor: '{content.hover.color}',
|
|
48
|
+
selectedColor: '{primary.foreground}',
|
|
49
|
+
rangeSelectedColor: '{highlight.color}',
|
|
50
|
+
},
|
|
51
|
+
today: {
|
|
52
|
+
background: '{secondary.highlightColor}',
|
|
53
|
+
color: '{secondary.foreground}',
|
|
54
|
+
},
|
|
55
|
+
buttonbar: {
|
|
56
|
+
borderColor: '{content.border.color}',
|
|
57
|
+
},
|
|
58
|
+
timePicker: {
|
|
59
|
+
borderColor: '{content.border.color}',
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export default darkColors;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
panel: {
|
|
3
|
+
background: '{content.background}',
|
|
4
|
+
borderColor: '{content.border.color}',
|
|
5
|
+
color: '{content.color}',
|
|
6
|
+
},
|
|
7
|
+
header: {
|
|
8
|
+
background: '{content.background}',
|
|
9
|
+
borderColor: '{content.border.color}',
|
|
10
|
+
color: '{content.color}',
|
|
11
|
+
},
|
|
12
|
+
dropdown: {
|
|
13
|
+
background: '{surface.100}',
|
|
14
|
+
hoverBackground: '{surface.200}',
|
|
15
|
+
activeBackground: '{surface.300}',
|
|
16
|
+
borderColor: '{form.field.border.color}',
|
|
17
|
+
hoverBorderColor: '{form.field.border.color}',
|
|
18
|
+
activeBorderColor: '{form.field.border.color}',
|
|
19
|
+
color: '{surface.600}',
|
|
20
|
+
hoverColor: '{surface.700}',
|
|
21
|
+
activeColor: '{surface.800}',
|
|
22
|
+
},
|
|
23
|
+
inputIcon: {
|
|
24
|
+
color: '{form.field.icon.color}',
|
|
25
|
+
},
|
|
26
|
+
selectMonth: {
|
|
27
|
+
hoverBackground: '{content.hover.background}',
|
|
28
|
+
color: '{content.color}',
|
|
29
|
+
hoverColor: '{content.hover.color}',
|
|
30
|
+
},
|
|
31
|
+
selectYear: {
|
|
32
|
+
hoverBackground: '{content.hover.background}',
|
|
33
|
+
color: '{content.color}',
|
|
34
|
+
hoverColor: '{content.hover.color}',
|
|
35
|
+
},
|
|
36
|
+
group: {
|
|
37
|
+
borderColor: '{content.border.color}',
|
|
38
|
+
},
|
|
39
|
+
weekDay: {
|
|
40
|
+
color: '{content.color}',
|
|
41
|
+
},
|
|
42
|
+
date: {
|
|
43
|
+
hoverBackground: '{content.hover.background}',
|
|
44
|
+
selectedBackground: '{primary.color}',
|
|
45
|
+
rangeSelectedBackground: '{highlight.background}',
|
|
46
|
+
color: '{content.color}',
|
|
47
|
+
hoverColor: '{content.hover.color}',
|
|
48
|
+
selectedColor: '{primary.foreground}',
|
|
49
|
+
rangeSelectedColor: '{highlight.color}',
|
|
50
|
+
},
|
|
51
|
+
today: {
|
|
52
|
+
background: '{secondary.highlightColor}',
|
|
53
|
+
color: '{secondary.foreground}',
|
|
54
|
+
},
|
|
55
|
+
buttonbar: {
|
|
56
|
+
borderColor: '{content.border.color}',
|
|
57
|
+
},
|
|
58
|
+
timePicker: {
|
|
59
|
+
borderColor: '{content.border.color}',
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export default lightColors;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
root: {
|
|
3
|
+
transitionDuration: '{transition.duration}',
|
|
4
|
+
},
|
|
5
|
+
panel: {
|
|
6
|
+
borderRadius: '{content.border.radius}',
|
|
7
|
+
shadow: '{overlay.popover.shadow}',
|
|
8
|
+
padding: '{overlay.popover.padding}',
|
|
9
|
+
},
|
|
10
|
+
header: {
|
|
11
|
+
padding: '0 0 0.5rem 0',
|
|
12
|
+
},
|
|
13
|
+
title: {
|
|
14
|
+
gap: '0.5rem',
|
|
15
|
+
fontWeight: '500',
|
|
16
|
+
},
|
|
17
|
+
dropdown: {
|
|
18
|
+
width: '2.5rem',
|
|
19
|
+
sm: {
|
|
20
|
+
width: '2rem',
|
|
21
|
+
},
|
|
22
|
+
lg: {
|
|
23
|
+
width: '3rem',
|
|
24
|
+
},
|
|
25
|
+
borderRadius: '{form.field.border.radius}',
|
|
26
|
+
focusRing: {
|
|
27
|
+
width: '{focus.ring.width}',
|
|
28
|
+
style: '{focus.ring.style}',
|
|
29
|
+
color: '{focus.ring.color}',
|
|
30
|
+
offset: '{focus.ring.offset}',
|
|
31
|
+
shadow: '{focus.ring.shadow}',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
selectMonth: {
|
|
35
|
+
padding: '0.25rem 0.5rem',
|
|
36
|
+
borderRadius: '{content.border.radius}',
|
|
37
|
+
},
|
|
38
|
+
selectYear: {
|
|
39
|
+
padding: '0.25rem 0.5rem',
|
|
40
|
+
borderRadius: '{content.border.radius}',
|
|
41
|
+
},
|
|
42
|
+
group: {
|
|
43
|
+
gap: '{overlay.popover.padding}',
|
|
44
|
+
},
|
|
45
|
+
dayView: {
|
|
46
|
+
margin: '0.5rem 0 0 0',
|
|
47
|
+
},
|
|
48
|
+
weekDay: {
|
|
49
|
+
padding: '0.25rem',
|
|
50
|
+
fontWeight: '500',
|
|
51
|
+
},
|
|
52
|
+
date: {
|
|
53
|
+
width: '1.5rem',
|
|
54
|
+
height: '1.5rem',
|
|
55
|
+
borderRadius: '50%',
|
|
56
|
+
padding: '0.125rem',
|
|
57
|
+
focusRing: {
|
|
58
|
+
width: '{focus.ring.width}',
|
|
59
|
+
style: '{focus.ring.style}',
|
|
60
|
+
color: '{focus.ring.color}',
|
|
61
|
+
offset: '{focus.ring.offset}',
|
|
62
|
+
shadow: '{focus.ring.shadow}',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
monthView: {
|
|
66
|
+
margin: '0.5rem 0 0 0',
|
|
67
|
+
},
|
|
68
|
+
month: {
|
|
69
|
+
padding: '0.375rem',
|
|
70
|
+
borderRadius: '{content.border.radius}',
|
|
71
|
+
},
|
|
72
|
+
yearView: {
|
|
73
|
+
margin: '0.5rem 0 0 0',
|
|
74
|
+
},
|
|
75
|
+
year: {
|
|
76
|
+
padding: '0.375rem',
|
|
77
|
+
borderRadius: '{content.border.radius}',
|
|
78
|
+
},
|
|
79
|
+
buttonbar: {
|
|
80
|
+
padding: '0.5rem 0 0 0',
|
|
81
|
+
},
|
|
82
|
+
timePicker: {
|
|
83
|
+
padding: '0.5rem 0 0 0',
|
|
84
|
+
gap: '0.5rem',
|
|
85
|
+
buttonGap: '0',
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export default sizes;
|
|
@@ -4,6 +4,7 @@ import BreadcrumbScheme from './breadcrumb';
|
|
|
4
4
|
import ButtonScheme from './button';
|
|
5
5
|
import CheckboxScheme from './checkbox';
|
|
6
6
|
import ChipScheme from './chip';
|
|
7
|
+
import DatePickerScheme from './datepicker';
|
|
7
8
|
import DividerScheme from './divider';
|
|
8
9
|
import GalleriaScheme from './galleria';
|
|
9
10
|
import InputGroupScheme from './input-group';
|
|
@@ -11,37 +12,44 @@ import InputNumberScheme from './input-number';
|
|
|
11
12
|
import InputTextScheme from './input-text';
|
|
12
13
|
import MenubarScheme from './menubar';
|
|
13
14
|
import MessageScheme from './message';
|
|
15
|
+
import MultiSelectScheme from './multiselect';
|
|
14
16
|
import PasswordScheme from './password';
|
|
15
17
|
import PopoverScheme from './popover';
|
|
16
18
|
import RadioScheme from './radio';
|
|
19
|
+
import SingleSelectScheme from './single-select';
|
|
17
20
|
import SliderScheme from './slider';
|
|
18
21
|
import SwitcherScheme from './switcher';
|
|
19
22
|
import TableScheme from './table';
|
|
20
23
|
import TextareaScheme from './textarea';
|
|
24
|
+
import ToastScheme from './toast';
|
|
21
25
|
import ToolbarScheme from './toolbar';
|
|
22
26
|
import TooltipScheme from './tooltip';
|
|
23
27
|
|
|
24
28
|
export {
|
|
25
29
|
AvatarScheme,
|
|
26
|
-
ButtonScheme,
|
|
27
30
|
BadgeScheme,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
MenubarScheme,
|
|
31
|
-
ToolbarScheme,
|
|
32
|
-
ChipScheme,
|
|
31
|
+
BreadcrumbScheme,
|
|
32
|
+
ButtonScheme,
|
|
33
33
|
CheckboxScheme,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
SwitcherScheme,
|
|
34
|
+
ChipScheme,
|
|
35
|
+
DatePickerScheme,
|
|
37
36
|
DividerScheme,
|
|
38
|
-
SliderScheme,
|
|
39
|
-
BreadcrumbScheme,
|
|
40
|
-
RadioScheme,
|
|
41
37
|
GalleriaScheme,
|
|
38
|
+
InputGroupScheme,
|
|
42
39
|
InputNumberScheme,
|
|
43
40
|
InputTextScheme,
|
|
44
|
-
|
|
45
|
-
InputGroupScheme,
|
|
41
|
+
MenubarScheme,
|
|
46
42
|
MessageScheme,
|
|
43
|
+
MultiSelectScheme,
|
|
44
|
+
PasswordScheme,
|
|
45
|
+
PopoverScheme,
|
|
46
|
+
RadioScheme,
|
|
47
|
+
SingleSelectScheme,
|
|
48
|
+
SliderScheme,
|
|
49
|
+
SwitcherScheme,
|
|
50
|
+
TableScheme,
|
|
51
|
+
TextareaScheme,
|
|
52
|
+
ToastScheme,
|
|
53
|
+
ToolbarScheme,
|
|
54
|
+
TooltipScheme,
|
|
47
55
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
invalidHoverBorderColor: '{form.field.invalid.hover.border.color}',
|
|
13
|
+
color: '{form.field.color}',
|
|
14
|
+
disabledColor: '{form.field.disabled.color}',
|
|
15
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
16
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
17
|
+
shadow: '{form.field.shadow}',
|
|
18
|
+
focusRing: {
|
|
19
|
+
color: '{form.field.focus.ring.color}',
|
|
20
|
+
shadow: '{form.field.focus.ring.shadow}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
dropdown: {
|
|
24
|
+
color: '{form.field.icon.color}',
|
|
25
|
+
},
|
|
26
|
+
overlay: {
|
|
27
|
+
background: '{overlay.select.background}',
|
|
28
|
+
borderColor: '{overlay.select.border.color}',
|
|
29
|
+
color: '{overlay.select.color}',
|
|
30
|
+
shadow: '{overlay.select.shadow}',
|
|
31
|
+
},
|
|
32
|
+
option: {
|
|
33
|
+
focusBackground: '{list.option.focus.background}',
|
|
34
|
+
selectedBackground: '{list.option.selected.background}',
|
|
35
|
+
selectedFocusBackground: '{list.option.selected.focus.background}',
|
|
36
|
+
color: '{list.option.color}',
|
|
37
|
+
focusColor: '{list.option.focus.color}',
|
|
38
|
+
selectedColor: '{list.option.selected.color}',
|
|
39
|
+
selectedFocusColor: '{list.option.selected.focus.color}',
|
|
40
|
+
},
|
|
41
|
+
optionGroup: {
|
|
42
|
+
background: '{list.option.group.background}',
|
|
43
|
+
color: '{list.option.group.color}',
|
|
44
|
+
},
|
|
45
|
+
clearIcon: {
|
|
46
|
+
color: '{form.field.icon.color}',
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export default darkColors;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
invalidHoverBorderColor: '{form.field.invalid.hover.border.color}',
|
|
13
|
+
color: '{form.field.color}',
|
|
14
|
+
disabledColor: '{form.field.disabled.color}',
|
|
15
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
16
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
17
|
+
shadow: '{form.field.shadow}',
|
|
18
|
+
focusRing: {
|
|
19
|
+
color: '{form.field.focus.ring.color}',
|
|
20
|
+
shadow: '{form.field.focus.ring.shadow}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
dropdown: {
|
|
24
|
+
color: '{form.field.icon.color}',
|
|
25
|
+
},
|
|
26
|
+
overlay: {
|
|
27
|
+
background: '{overlay.select.background}',
|
|
28
|
+
borderColor: '{overlay.select.border.color}',
|
|
29
|
+
color: '{overlay.select.color}',
|
|
30
|
+
shadow: '{overlay.select.shadow}',
|
|
31
|
+
},
|
|
32
|
+
option: {
|
|
33
|
+
focusBackground: '{list.option.focus.background}',
|
|
34
|
+
selectedBackground: '{list.option.selected.background}',
|
|
35
|
+
selectedFocusBackground: '{list.option.selected.focus.background}',
|
|
36
|
+
color: '{list.option.color}',
|
|
37
|
+
focusColor: '{list.option.focus.color}',
|
|
38
|
+
selectedColor: '{list.option.selected.color}',
|
|
39
|
+
selectedFocusColor: '{list.option.selected.focus.color}',
|
|
40
|
+
},
|
|
41
|
+
optionGroup: {
|
|
42
|
+
background: '{list.option.group.background}',
|
|
43
|
+
color: '{list.option.group.color}',
|
|
44
|
+
},
|
|
45
|
+
clearIcon: {
|
|
46
|
+
color: '{form.field.icon.color}',
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export default lightColors;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
root: {
|
|
3
|
+
paddingX: '{form.field.padding.x}',
|
|
4
|
+
paddingY: '{form.field.padding.y}',
|
|
5
|
+
borderRadius: '{form.field.border.radius}',
|
|
6
|
+
focusRing: {
|
|
7
|
+
width: '{form.field.focus.ring.width}',
|
|
8
|
+
style: '{form.field.focus.ring.style}',
|
|
9
|
+
offset: '{form.field.focus.ring.offset}',
|
|
10
|
+
},
|
|
11
|
+
transitionDuration: '{form.field.transition.duration}',
|
|
12
|
+
sm: {
|
|
13
|
+
fontSize: '{form.field.sm.font.size}',
|
|
14
|
+
paddingX: '{form.field.sm.padding.x}',
|
|
15
|
+
paddingY: '{form.field.sm.padding.y}',
|
|
16
|
+
},
|
|
17
|
+
lg: {
|
|
18
|
+
fontSize: '{form.field.lg.font.size}',
|
|
19
|
+
paddingX: '{form.field.lg.padding.x}',
|
|
20
|
+
paddingY: '{form.field.lg.padding.y}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
dropdown: {
|
|
24
|
+
width: '2.5rem',
|
|
25
|
+
},
|
|
26
|
+
overlay: {
|
|
27
|
+
borderRadius: '{overlay.select.border.radius}',
|
|
28
|
+
},
|
|
29
|
+
list: {
|
|
30
|
+
padding: '{list.padding}',
|
|
31
|
+
gap: '{list.gap}',
|
|
32
|
+
header: {
|
|
33
|
+
padding: '{list.header.padding}',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
option: {
|
|
37
|
+
padding: '{list.option.padding}',
|
|
38
|
+
borderRadius: '{list.option.border.radius}',
|
|
39
|
+
gap: '0.5rem',
|
|
40
|
+
},
|
|
41
|
+
optionGroup: {
|
|
42
|
+
fontWeight: '{list.option.group.font.weight}',
|
|
43
|
+
padding: '{list.option.group.padding}',
|
|
44
|
+
},
|
|
45
|
+
chip: {
|
|
46
|
+
borderRadius: '{border.radius.xl}',
|
|
47
|
+
},
|
|
48
|
+
emptyMessage: {
|
|
49
|
+
padding: '{list.option.padding}',
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export default sizes;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const darkColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
invalidHoverBorderColor: '{form.field.invalid.hover.border.color}',
|
|
13
|
+
color: '{form.field.color}',
|
|
14
|
+
disabledColor: '{form.field.disabled.color}',
|
|
15
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
16
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
17
|
+
shadow: '{form.field.shadow}',
|
|
18
|
+
focusRing: {
|
|
19
|
+
color: '{form.field.focus.ring.color}',
|
|
20
|
+
shadow: '{form.field.focus.ring.shadow}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
dropdown: {
|
|
24
|
+
color: '{form.field.icon.color}',
|
|
25
|
+
},
|
|
26
|
+
overlay: {
|
|
27
|
+
background: '{overlay.select.background}',
|
|
28
|
+
borderColor: '{overlay.select.border.color}',
|
|
29
|
+
color: '{overlay.select.color}',
|
|
30
|
+
shadow: '{overlay.select.shadow}',
|
|
31
|
+
},
|
|
32
|
+
option: {
|
|
33
|
+
focusBackground: '{list.option.focus.background}',
|
|
34
|
+
selectedBackground: '{list.option.selected.background}',
|
|
35
|
+
selectedFocusBackground: '{list.option.selected.focus.background}',
|
|
36
|
+
color: '{list.option.color}',
|
|
37
|
+
focusColor: '{list.option.focus.color}',
|
|
38
|
+
selectedColor: '{list.option.selected.color}',
|
|
39
|
+
selectedFocusColor: '{list.option.selected.focus.color}',
|
|
40
|
+
},
|
|
41
|
+
optionGroup: {
|
|
42
|
+
background: '{list.option.group.background}',
|
|
43
|
+
color: '{list.option.group.color}',
|
|
44
|
+
},
|
|
45
|
+
clearIcon: {
|
|
46
|
+
color: '{form.field.icon.color}',
|
|
47
|
+
},
|
|
48
|
+
checkmark: {
|
|
49
|
+
color: '{list.option.color}',
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export default darkColors;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const lightColors = {
|
|
2
|
+
root: {
|
|
3
|
+
background: '{form.field.background}',
|
|
4
|
+
disabledBackground: '{form.field.disabled.background}',
|
|
5
|
+
filledBackground: '{form.field.filled.background}',
|
|
6
|
+
filledHoverBackground: '{form.field.filled.hover.background}',
|
|
7
|
+
filledFocusBackground: '{form.field.filled.focus.background}',
|
|
8
|
+
borderColor: '{form.field.border.color}',
|
|
9
|
+
hoverBorderColor: '{form.field.hover.border.color}',
|
|
10
|
+
focusBorderColor: '{form.field.focus.border.color}',
|
|
11
|
+
invalidBorderColor: '{form.field.invalid.border.color}',
|
|
12
|
+
invalidHoverBorderColor: '{form.field.invalid.hover.border.color}',
|
|
13
|
+
color: '{form.field.color}',
|
|
14
|
+
disabledColor: '{form.field.disabled.color}',
|
|
15
|
+
placeholderColor: '{form.field.placeholder.color}',
|
|
16
|
+
invalidPlaceholderColor: '{form.field.invalid.placeholder.color}',
|
|
17
|
+
shadow: '{form.field.shadow}',
|
|
18
|
+
focusRing: {
|
|
19
|
+
color: '{form.field.focus.ring.color}',
|
|
20
|
+
shadow: '{form.field.focus.ring.shadow}',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
dropdown: {
|
|
24
|
+
color: '{form.field.icon.color}',
|
|
25
|
+
},
|
|
26
|
+
overlay: {
|
|
27
|
+
background: '{overlay.select.background}',
|
|
28
|
+
borderColor: '{overlay.select.border.color}',
|
|
29
|
+
color: '{overlay.select.color}',
|
|
30
|
+
shadow: '{overlay.select.shadow}',
|
|
31
|
+
},
|
|
32
|
+
option: {
|
|
33
|
+
focusBackground: '{list.option.focus.background}',
|
|
34
|
+
selectedBackground: '{list.option.selected.background}',
|
|
35
|
+
selectedFocusBackground: '{list.option.selected.focus.background}',
|
|
36
|
+
color: '{list.option.color}',
|
|
37
|
+
focusColor: '{list.option.focus.color}',
|
|
38
|
+
selectedColor: '{list.option.selected.color}',
|
|
39
|
+
selectedFocusColor: '{list.option.selected.focus.color}',
|
|
40
|
+
},
|
|
41
|
+
optionGroup: {
|
|
42
|
+
background: '{list.option.group.background}',
|
|
43
|
+
color: '{list.option.group.color}',
|
|
44
|
+
},
|
|
45
|
+
clearIcon: {
|
|
46
|
+
color: '{form.field.icon.color}',
|
|
47
|
+
},
|
|
48
|
+
checkmark: {
|
|
49
|
+
color: '{list.option.color}',
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export default lightColors;
|