@ptsecurity/mosaic 11.4.4 → 11.6.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/_theming.scss +368 -61
- package/_visual.scss +139 -14
- package/bundles/ptsecurity-mosaic-datepicker.umd.js +2 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.min.js +1 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.min.js.map +1 -1
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js +226 -15
- package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-design-tokens.umd.min.js +1 -1
- package/bundles/ptsecurity-mosaic-design-tokens.umd.min.js.map +1 -1
- package/bundles/ptsecurity-mosaic-dropdown.umd.js +1 -1
- package/bundles/ptsecurity-mosaic-dropdown.umd.min.js +2 -2
- package/bundles/ptsecurity-mosaic-dropdown.umd.min.js.map +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.js +10 -2
- package/bundles/ptsecurity-mosaic-list.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.min.js +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.min.js.map +1 -1
- package/bundles/ptsecurity-mosaic-navbar.umd.js +2 -2
- package/bundles/ptsecurity-mosaic-navbar.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-navbar.umd.min.js +2 -2
- package/bundles/ptsecurity-mosaic-navbar.umd.min.js.map +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.js +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.min.js +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.min.js.map +1 -1
- package/design-tokens/ptsecurity-mosaic-design-tokens.metadata.json +1 -1
- package/design-tokens/style-dictionary/build.js +56 -0
- package/design-tokens/style-dictionary/configs/css.js +13 -0
- package/design-tokens/style-dictionary/configs/index.js +47 -0
- package/design-tokens/style-dictionary/configs/js.js +9 -0
- package/design-tokens/style-dictionary/configs/scss.js +23 -0
- package/design-tokens/style-dictionary/filters/color.js +7 -0
- package/design-tokens/style-dictionary/filters/palette.js +7 -0
- package/design-tokens/style-dictionary/filters/size.js +7 -0
- package/design-tokens/style-dictionary/filters/typography.js +7 -0
- package/design-tokens/style-dictionary/formats/palette.js +25 -0
- package/design-tokens/style-dictionary/formats/typography.js +52 -0
- package/design-tokens/style-dictionary/transformGroups/css.js +13 -0
- package/design-tokens/style-dictionary/transformGroups/scss.js +12 -0
- package/design-tokens/style-dictionary/transforms/attribute/palette.js +9 -0
- package/design-tokens/style-dictionary/transforms/attribute/prefix.js +11 -0
- package/design-tokens/style-dictionary/transforms/attribute/size.js +8 -0
- package/design-tokens/style-dictionary/transforms/attribute/typography.js +9 -0
- package/design-tokens/tokens/components/alert.json5 +83 -0
- package/design-tokens/tokens/components/autocomplete.json5 +11 -0
- package/design-tokens/tokens/components/badge.json5 +184 -0
- package/design-tokens/tokens/components/button-toggle.json5 +10 -0
- package/design-tokens/tokens/components/button.json5 +143 -0
- package/design-tokens/tokens/components/card.json5 +51 -0
- package/design-tokens/tokens/components/checkbox.json5 +39 -0
- package/design-tokens/tokens/components/datepicker.json5 +64 -0
- package/design-tokens/tokens/components/divider.json5 +8 -0
- package/design-tokens/tokens/components/dropdown.json5 +47 -0
- package/design-tokens/tokens/components/form-field.json5 +52 -0
- package/design-tokens/tokens/components/forms.json5 +52 -0
- package/design-tokens/tokens/components/input.json5 +13 -0
- package/design-tokens/tokens/components/link.json5 +56 -0
- package/design-tokens/tokens/components/list.json5 +19 -0
- package/design-tokens/tokens/components/modal.json5 +67 -0
- package/design-tokens/tokens/components/navbar.json5 +64 -0
- package/design-tokens/tokens/components/optgroup.json5 +10 -0
- package/design-tokens/tokens/components/option.json5 +12 -0
- package/design-tokens/tokens/components/popover.json5 +40 -0
- package/design-tokens/tokens/components/popup.json5 +18 -0
- package/design-tokens/tokens/components/progress-bar.json5 +13 -0
- package/design-tokens/tokens/components/progress-spinner.json5 +7 -0
- package/design-tokens/tokens/components/radio.json5 +45 -0
- package/design-tokens/tokens/components/select.json5 +25 -0
- package/design-tokens/tokens/components/sidepanel.json5 +30 -0
- package/design-tokens/tokens/components/table.json5 +15 -0
- package/design-tokens/tokens/components/tabs.json5 +25 -0
- package/design-tokens/tokens/components/tags.json5 +126 -0
- package/design-tokens/tokens/components/textarea.json5 +12 -0
- package/design-tokens/tokens/components/timepicker.json5 +7 -0
- package/design-tokens/tokens/components/toggle.json5 +55 -0
- package/design-tokens/tokens/components/tooltip.json5 +37 -0
- package/design-tokens/tokens/components/tree.json5 +12 -0
- package/design-tokens/tokens/properties/aliases.json5 +3 -0
- package/design-tokens/tokens/properties/colors.json5 +110 -0
- package/design-tokens/tokens/properties/font.json5 +12 -0
- package/design-tokens/tokens/properties/globals.json5 +30 -0
- package/design-tokens/tokens/properties/padding.json5 +3 -0
- package/design-tokens/tokens/properties/palette.json5 +163 -0
- package/design-tokens/tokens/properties/typography.json5 +140 -0
- package/design-tokens/tokens.d.ts +114 -8
- package/dropdown/ptsecurity-mosaic-dropdown.metadata.json +1 -1
- package/esm2015/datepicker/datepicker-input.directive.js +3 -2
- package/esm2015/design-tokens/tokens.js +115 -10
- package/esm2015/dropdown/dropdown-item.component.js +1 -1
- package/esm2015/list/list-selection.component.js +11 -3
- package/esm2015/navbar/navbar.component.js +1 -1
- package/esm2015/navbar/vertical-navbar.component.js +2 -2
- package/esm2015/timepicker/timepicker.directive.js +3 -3
- package/fesm2015/ptsecurity-mosaic-datepicker.js +2 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-design-tokens.js +115 -10
- package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.js +1 -1
- package/fesm2015/ptsecurity-mosaic-list.js +10 -2
- package/fesm2015/ptsecurity-mosaic-list.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.js +2 -2
- package/fesm2015/ptsecurity-mosaic-navbar.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.js +2 -2
- package/fesm2015/ptsecurity-mosaic-timepicker.js.map +1 -1
- package/list/ptsecurity-mosaic-list.metadata.json +1 -1
- package/navbar/ptsecurity-mosaic-navbar.metadata.json +1 -1
- package/package.json +5 -5
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/timepicker/ptsecurity-mosaic-timepicker.metadata.json +1 -1
- package/prebuilt-visual/default-visual.css +0 -1
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
navbar: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
background: { value: '{light-color-scheme.primary.palette.value.700.value}' },
|
5
|
+
|
6
|
+
'divider-background': { value: 'rgba(255, 255, 255, 0.3)' }
|
7
|
+
},
|
8
|
+
'dark-color-scheme': {
|
9
|
+
background: { value: '{dark-color-scheme.primary.palette.value.700.value}' },
|
10
|
+
|
11
|
+
'divider-background': { value: 'rgba(255, 255, 255, 0.3)' }
|
12
|
+
},
|
13
|
+
size: {
|
14
|
+
'icon-margin': { value: '4px' }
|
15
|
+
},
|
16
|
+
font: {
|
17
|
+
title: { value: 'body' }
|
18
|
+
}
|
19
|
+
},
|
20
|
+
'vertical-navbar': {
|
21
|
+
size: {
|
22
|
+
states: {
|
23
|
+
'opened-width': { value: '240px' },
|
24
|
+
'closed-width': { value: '48px' }
|
25
|
+
},
|
26
|
+
'icon-margin': { value: '10px' }
|
27
|
+
}
|
28
|
+
},
|
29
|
+
'navbar-item': {
|
30
|
+
'light-color-scheme': {
|
31
|
+
text: { value: '{light-color-scheme.primary.palette.value.100.value}' },
|
32
|
+
|
33
|
+
states: {
|
34
|
+
active: { value: '{light-color-scheme.primary.palette.value.600.value}' },
|
35
|
+
hover: { value: '{light-color-scheme.primary.palette.value.600.value}' },
|
36
|
+
progress: { value: '{light-color-scheme.primary.palette.value.800.value}' },
|
37
|
+
'disabled-opacity': { value: 0.3 }
|
38
|
+
}
|
39
|
+
},
|
40
|
+
'dark-color-scheme': {
|
41
|
+
text: { value: '{dark-color-scheme.primary.palette.value.100.value}' },
|
42
|
+
|
43
|
+
states: {
|
44
|
+
active: { value: '{dark-color-scheme.primary.palette.value.700.value}' },
|
45
|
+
hover: { value: '{dark-color-scheme.primary.palette.value.700.value}' },
|
46
|
+
progress: { value: '{dark-color-scheme.primary.palette.value.800.value}' },
|
47
|
+
'disabled-opacity': { value: 0.3 }
|
48
|
+
}
|
49
|
+
},
|
50
|
+
size: {
|
51
|
+
padding: { value: '{padding.control-horizontal}' },
|
52
|
+
height: { value: '{size.panel-height}' }
|
53
|
+
}
|
54
|
+
},
|
55
|
+
'navbar-brand': {
|
56
|
+
size: {
|
57
|
+
padding: { value: '12px' },
|
58
|
+
'margin-right': { value: '24px' }
|
59
|
+
},
|
60
|
+
font: {
|
61
|
+
title: { value: 'title' }
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
popover: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
border: { value: '{light-color-scheme.foreground.border.value}' }
|
5
|
+
},
|
6
|
+
'dark-color-scheme': {
|
7
|
+
border: { value: '{dark-color-scheme.second.palette.value.700.value}' }
|
8
|
+
},
|
9
|
+
size: {
|
10
|
+
padding: { value: '16px' },
|
11
|
+
'border-width': { value: '1px' },
|
12
|
+
'border-radius': { value: '4px' },
|
13
|
+
'arrow-width': { value: '4px' },
|
14
|
+
|
15
|
+
'small-width': { value: '200px' },
|
16
|
+
'normal-width': { value: '400px' },
|
17
|
+
'large-width': { value: '640px' }
|
18
|
+
},
|
19
|
+
font: {
|
20
|
+
default: { value: 'body' }
|
21
|
+
}
|
22
|
+
},
|
23
|
+
'popover-header': {
|
24
|
+
size: {
|
25
|
+
padding: { value: '10px 16px' }
|
26
|
+
},
|
27
|
+
font: {
|
28
|
+
default: { value: 'subheading' }
|
29
|
+
}
|
30
|
+
},
|
31
|
+
'popover-footer': {
|
32
|
+
size: {
|
33
|
+
padding: { value: '12px {padding.headerFooter-horizontal}' },
|
34
|
+
'margin-top': { value: '8px' }
|
35
|
+
},
|
36
|
+
font: {
|
37
|
+
default: { value: 'body' }
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
popup: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
shadow: { value: '0 3px 3px 0 {light-color-scheme.second.palette.value.A200.value}' },
|
5
|
+
border: { value: '{light-color-scheme.second.palette.value.300.value}' },
|
6
|
+
divider: { value: '{light-color-scheme.second.palette.value.200.value}' },
|
7
|
+
background: { value: 'white' },
|
8
|
+
'footer-background': { value: '{light-color-scheme.second.palette.value.60.value}' }
|
9
|
+
},
|
10
|
+
'dark-color-scheme': {
|
11
|
+
shadow: { value: '0 3px 3px 0 {dark-color-scheme.second.palette.value.A200.value}' },
|
12
|
+
border: { value: '{dark-color-scheme.second.palette.value.400.value}' },
|
13
|
+
divider: { value: '{dark-color-scheme.foreground.divider.value}' },
|
14
|
+
background: { value: '{dark-color-scheme.second.palette.value.700.value}' },
|
15
|
+
'footer-background': { value: 'transparent' }
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
'progress-bar': {
|
3
|
+
'light-color-scheme': {
|
4
|
+
background: { value: '{light-color-scheme.second.palette.value.60.value}' }
|
5
|
+
},
|
6
|
+
'dark-color-scheme': {
|
7
|
+
background: { value: '{dark-color-scheme.second.palette.value.600.value}' }
|
8
|
+
},
|
9
|
+
size: {
|
10
|
+
height: { value: '4px' }
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
radio: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
'outer-circle-border': { value: '{light-color-scheme.second.palette.value.300.value}' },
|
5
|
+
'inner-circle-border': { value: 'transparent' },
|
6
|
+
|
7
|
+
states: {
|
8
|
+
checked: {
|
9
|
+
'outer-circle-border': { value: '{light-color-scheme.primary.palette.value.500.value}' },
|
10
|
+
'inner-circle-border': { value: '{light-color-scheme.primary.palette.value.500.value}' }
|
11
|
+
|
12
|
+
},
|
13
|
+
focused: {
|
14
|
+
'outer-circle-border': { value: '{light-color-scheme.states.focused-color.value}' },
|
15
|
+
'outer-circle-shadow': { value: '0 0 0 2px {light-color-scheme.second.palette.value.300.value}' },
|
16
|
+
'inner-circle-shadow': { value: '0 0 0 1px {light-color-scheme.background.background.value}' }
|
17
|
+
}
|
18
|
+
}
|
19
|
+
},
|
20
|
+
'dark-color-scheme': {
|
21
|
+
'outer-circle-border': { value: '{dark-color-scheme.second.palette.value.400.value}' },
|
22
|
+
'inner-circle-border': { value: 'transparent' },
|
23
|
+
|
24
|
+
states: {
|
25
|
+
checked: {
|
26
|
+
'outer-circle-border': { value: '{dark-color-scheme.primary.palette.value.400.value}' },
|
27
|
+
'inner-circle-border': { value: '{dark-color-scheme.primary.palette.value.600.value}' }
|
28
|
+
},
|
29
|
+
focused: {
|
30
|
+
'outer-circle-border': { value: '{dark-color-scheme.states.focused-color.value}' },
|
31
|
+
'outer-circle-shadow': { value: '0 0 0 2px {dark-color-scheme.states.focused-color.value}' },
|
32
|
+
|
33
|
+
'inner-circle-shadow': { value: '0 0 0 1px {dark-color-scheme.background.background.value}' }
|
34
|
+
}
|
35
|
+
}
|
36
|
+
},
|
37
|
+
size: {
|
38
|
+
size: { value: '14px' },
|
39
|
+
'label-margin': { value: '{margin.iconText_M-horizontal}' }
|
40
|
+
},
|
41
|
+
font: {
|
42
|
+
default: { value: 'body' }
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
select: {
|
3
|
+
size: {
|
4
|
+
height: { value: '30px' },
|
5
|
+
'left-padding': { value: '{padding.control-horizontal}' },
|
6
|
+
'right-padding': { value: '8px' },
|
7
|
+
'left-padding-multiple': { value: '8px' }
|
8
|
+
},
|
9
|
+
font: {
|
10
|
+
default: { value: 'body' }
|
11
|
+
}
|
12
|
+
},
|
13
|
+
'select-panel': {
|
14
|
+
size: {
|
15
|
+
'max-height': { value: '232px' },
|
16
|
+
'max-width': { value: '640px' },
|
17
|
+
'vertical-padding': { value: '4px' },
|
18
|
+
'border-width': { value: '1px' },
|
19
|
+
'border-radius': { value: '3px' }
|
20
|
+
},
|
21
|
+
font: {
|
22
|
+
default: { value: 'body' }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
sidepanel: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
border: { value: '{light-color-scheme.second.palette.value.300.value}' }
|
5
|
+
},
|
6
|
+
'dark-color-scheme': {
|
7
|
+
border: { value: '{dark-color-scheme.second.palette.value.800.value}' }
|
8
|
+
},
|
9
|
+
font: {
|
10
|
+
default: { value: 'body' }
|
11
|
+
}
|
12
|
+
},
|
13
|
+
'sidepanel-header': {
|
14
|
+
size: {
|
15
|
+
padding: { value: '14px 16px' },
|
16
|
+
'close-padding': { value: '0 0 0 8px' }
|
17
|
+
},
|
18
|
+
font: {
|
19
|
+
default: { value: 'title' }
|
20
|
+
}
|
21
|
+
},
|
22
|
+
'sidepanel-footer': {
|
23
|
+
size: {
|
24
|
+
padding: { value: '16px' }
|
25
|
+
},
|
26
|
+
font: {
|
27
|
+
default: { value: 'body' }
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
tabs: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
border: { value: '{light-color-scheme.second.palette.value.300.value}' },
|
5
|
+
'state-active': { value: '{light-color-scheme.primary.palette.value.500.value}' },
|
6
|
+
'state-disabled-overlay': { value: 'rgba(white, 0.5)' }
|
7
|
+
},
|
8
|
+
'dark-color-scheme': {
|
9
|
+
border: { value: '{dark-color-scheme.second.palette.value.300.value}' },
|
10
|
+
'state-active': { value: '{dark-color-scheme.primary.palette.value.400.value}' },
|
11
|
+
'state-disabled-overlay': { value: 'rgba(white, 0.5)' }
|
12
|
+
},
|
13
|
+
size: {
|
14
|
+
height: { value: '40px' },
|
15
|
+
'highlight-height': { value: '4px' },
|
16
|
+
'padding-horizontal': { value: '16px' },
|
17
|
+
'border-width': { value: '1px' },
|
18
|
+
'border-radius': { value: '3px' },
|
19
|
+
'label-icon-margin': { value: '{margin.iconText_M-horizontal}' }
|
20
|
+
},
|
21
|
+
font: {
|
22
|
+
default: { value: 'body' }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
{
|
2
|
+
tags: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
primary: {
|
5
|
+
background: { value: '{light-color-scheme.primary.palette.value.100.value}' },
|
6
|
+
border: { value: '{light-color-scheme.primary.palette.value.100.value}' },
|
7
|
+
icon: { value: 'mix({light-color-scheme.primary.palette.value.400.value}, {light-color-scheme.background.overlay-hover.value})' },
|
8
|
+
states: {
|
9
|
+
hover: {
|
10
|
+
icon: { value: '{light-color-scheme.primary.palette.value.600.value}' }
|
11
|
+
},
|
12
|
+
focused:{ value: '{light-color-scheme.primary.palette.value.500.value}' },
|
13
|
+
disabled: {
|
14
|
+
text: { value: 'mix({light-color-scheme.primary.palette.value.500.value}, transparent, 50%)' },
|
15
|
+
background: { value: 'mix({light-color-scheme.primary.palette.value.500.value}, transparent, 10%)' }
|
16
|
+
}
|
17
|
+
}
|
18
|
+
},
|
19
|
+
second: {
|
20
|
+
background: { value: '{light-color-scheme.second.palette.value.100.value}' },
|
21
|
+
border: { value: '{light-color-scheme.second.palette.value.100.value}' },
|
22
|
+
icon: { value: 'mix({light-color-scheme.second.palette.value.400.value}, {light-color-scheme.background.overlay-hover.value})' },
|
23
|
+
states: {
|
24
|
+
hover: {
|
25
|
+
icon: { value: '{light-color-scheme.second.palette.value.400.value}' }
|
26
|
+
},
|
27
|
+
focused: { value: '{light-color-scheme.primary.palette.value.500.value}' },
|
28
|
+
disabled: {
|
29
|
+
text: { value: 'mix({light-color-scheme.second.palette.value.300.value}, transparent, 50%)' },
|
30
|
+
background: { value: 'mix({light-color-scheme.second.palette.value.300.value}, transparent, 10%)' }
|
31
|
+
}
|
32
|
+
}
|
33
|
+
},
|
34
|
+
error: {
|
35
|
+
background: { value: '{light-color-scheme.error.palette.value.100.value}' },
|
36
|
+
border: { value: '{light-color-scheme.error.palette.value.100.value}' },
|
37
|
+
icon: { value: 'mix({light-color-scheme.error.palette.value.400.value}, {light-color-scheme.background.overlay-hover.value})' },
|
38
|
+
states: {
|
39
|
+
hover: {
|
40
|
+
icon: { value: '{light-color-scheme.error.palette.value.500.value}' }
|
41
|
+
},
|
42
|
+
focused: { value: '{light-color-scheme.error.palette.value.400.value}' },
|
43
|
+
disabled: {
|
44
|
+
text: { value: 'mix({light-color-scheme.error.palette.value.400.value}, transparent, 50%)' },
|
45
|
+
background: { value: 'mix({light-color-scheme.error.palette.value.400.value}, transparent, 10%)' }
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
50
|
+
'dark-color-scheme': {
|
51
|
+
primary: {
|
52
|
+
background: { value: '{dark-color-scheme.primary.palette.value.700.value}' },
|
53
|
+
border: { value: '{dark-color-scheme.primary.palette.value.700.value}' },
|
54
|
+
icon: { value: 'mix({dark-color-scheme.primary.palette.value.400.value}, {dark-color-scheme.background.overlay-hover.value})' },
|
55
|
+
states: {
|
56
|
+
hover: {
|
57
|
+
icon: { value: '{dark-color-scheme.primary.palette.value.500.value}' }
|
58
|
+
},
|
59
|
+
focused: { value: '{dark-color-scheme.primary.palette.value.400.value}' },
|
60
|
+
disabled: {
|
61
|
+
text: { value: 'mix({dark-color-scheme.primary.palette.value.400.value}, transparent, 50%)' },
|
62
|
+
background: { value: 'mix({dark-color-scheme.primary.palette.value.400.value}, transparent, 10%)' }
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
second: {
|
67
|
+
background: { value: '{dark-color-scheme.second.palette.value.700.value}' },
|
68
|
+
border: { value: '{dark-color-scheme.second.palette.value.700.value}' },
|
69
|
+
icon: { value: 'mix({dark-color-scheme.second.palette.value.400.value}, {dark-color-scheme.background.overlay-hover.value})' },
|
70
|
+
states: {
|
71
|
+
hover: {
|
72
|
+
icon: { value: '{dark-color-scheme.second.palette.value.100.value}' }
|
73
|
+
},
|
74
|
+
focused: { value: '{dark-color-scheme.primary.palette.value.400.value}' },
|
75
|
+
disabled: {
|
76
|
+
text: { value: 'mix({dark-color-scheme.second.palette.value.400.value}, transparent, 50%)' },
|
77
|
+
background: { value: 'mix({dark-color-scheme.second.palette.value.400.value}, transparent, 10%)' }
|
78
|
+
}
|
79
|
+
}
|
80
|
+
},
|
81
|
+
error: {
|
82
|
+
background: { value: '{dark-color-scheme.error.palette.value.700.value}' },
|
83
|
+
border: { value: '{dark-color-scheme.error.palette.value.700.value}' },
|
84
|
+
icon: { value: 'mix({dark-color-scheme.error.palette.value.400.value}, {dark-color-scheme.background.overlay-hover.value})' },
|
85
|
+
states: {
|
86
|
+
hover: {
|
87
|
+
icon: { value: '{dark-color-scheme.error.palette.value.200.value}' }
|
88
|
+
},
|
89
|
+
focused: { value: '{dark-color-scheme.error.palette.value.400.value}' },
|
90
|
+
disabled: {
|
91
|
+
text: { value: 'mix({dark-color-scheme.error.palette.value.400.value}, transparent, 50%)' },
|
92
|
+
background: { value: 'mix({dark-color-scheme.error.palette.value.400.value}, transparent, 10%)' }
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
size: {
|
98
|
+
margin: { value: '2px' },
|
99
|
+
height: { value: '{size.badge_tag-height}' },
|
100
|
+
'border-width': { value: '1px' },
|
101
|
+
'border-radius': { value: '4px' },
|
102
|
+
'icon-padding': { value: '3px' },
|
103
|
+
'text-margin': { value: '{padding.badge_tag-horizontal}' }
|
104
|
+
},
|
105
|
+
font: {
|
106
|
+
default: { value: 'caption' },
|
107
|
+
mono: { value: 'caption-mono' },
|
108
|
+
caps: { value: 'caption-caps' }
|
109
|
+
}
|
110
|
+
},
|
111
|
+
'tag-list': {
|
112
|
+
size: {
|
113
|
+
padding: { value: '1px 6px' },
|
114
|
+
'min-height': { value: '30px' }
|
115
|
+
}
|
116
|
+
},
|
117
|
+
'tag-input': {
|
118
|
+
size: {
|
119
|
+
height: { value: '22px' },
|
120
|
+
margin: { value: '2px 4px' }
|
121
|
+
},
|
122
|
+
font: {
|
123
|
+
default: { value: 'body' }
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{
|
2
|
+
toggle: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
border: { value: '{light-color-scheme.foreground.border.value}' },
|
5
|
+
background: {
|
6
|
+
value: 'linear-gradient(to bottom, {light-color-scheme.second.palette.value.100.value}, {light-color-scheme.background.background-disabled.value})'
|
7
|
+
},
|
8
|
+
'circle-border': { value: '{light-color-scheme.foreground.border.value}' },
|
9
|
+
'circle-background': { value: 'linear-gradient(to bottom, white, {light-color-scheme.second.palette.value.100.value})' },
|
10
|
+
|
11
|
+
states: {
|
12
|
+
focused: {
|
13
|
+
shadow: {
|
14
|
+
value: 'inset 0 0 0 1px {light-color-scheme.background.background.value}, 0 0 0 2px {light-color-scheme.primary.palette.value.500.value}'
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
},
|
19
|
+
'dark-color-scheme': {
|
20
|
+
border: { value: '{dark-color-scheme.foreground.border.value}' },
|
21
|
+
background: {
|
22
|
+
value: '{dark-color-scheme.background.background.value}'
|
23
|
+
},
|
24
|
+
'circle-border': { value: '{dark-color-scheme.foreground.border.value}' },
|
25
|
+
'circle-background': { value: 'white' },
|
26
|
+
|
27
|
+
states: {
|
28
|
+
focused: {
|
29
|
+
shadow: {
|
30
|
+
value: 'inset 0 0 0 1px {dark-color-scheme.background.background.value}, 0 0 0 2px {dark-color-scheme.primary.palette.value.400.value}'
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
},
|
35
|
+
size: {
|
36
|
+
height: { value: '16px' },
|
37
|
+
width: { value: '28px' },
|
38
|
+
'border-radius': { value: '9px' },
|
39
|
+
'label-margin': { value: '{margin.iconText_M-horizontal}' }
|
40
|
+
},
|
41
|
+
font: {
|
42
|
+
default: { value: 'body' }
|
43
|
+
}
|
44
|
+
},
|
45
|
+
'toggle-small': {
|
46
|
+
size: {
|
47
|
+
height: { value: '14px' },
|
48
|
+
width: { value: '24px' },
|
49
|
+
'border-radius': { value: '8px' }
|
50
|
+
},
|
51
|
+
font: {
|
52
|
+
default: { value: 'caption' }
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
tooltip: {
|
3
|
+
'light-color-scheme': {
|
4
|
+
background: { value: '{light-color-scheme.second.palette.value.700.value}' },
|
5
|
+
text: { value: '{light-color-scheme.second.palette.value.contrast.700.value}' },
|
6
|
+
shadow: { value: '0 2px 4px 0 rgba(0, 0, 0, 0.2)' },
|
7
|
+
|
8
|
+
'warning': {
|
9
|
+
background: { value: '{light-color-scheme.warning.palette.value.60.value}' },
|
10
|
+
text: { value: '{light-color-scheme.second.palette.value.700.value}' },
|
11
|
+
border: { value: '{light-color-scheme.warning.palette.value.200.value}' }
|
12
|
+
}
|
13
|
+
},
|
14
|
+
'dark-color-scheme': {
|
15
|
+
background: { value: '{dark-color-scheme.second.palette.value.40.value}' },
|
16
|
+
text: { value: '{dark-color-scheme.second.palette.value.contrast.40.value}' },
|
17
|
+
shadow: { value: '0 2px 4px 0 rgba(0, 0, 0, 0.2)' },
|
18
|
+
|
19
|
+
'warning': {
|
20
|
+
background: { value: '{dark-color-scheme.warning.palette.value.60.value}' },
|
21
|
+
text: { value: '{dark-color-scheme.second.palette.value.700.value}' },
|
22
|
+
border: { value: '{dark-color-scheme.warning.palette.value.200.value}' }
|
23
|
+
}
|
24
|
+
},
|
25
|
+
size: {
|
26
|
+
'max-width': { value: '240px' },
|
27
|
+
'border-radius': { value: '3px' },
|
28
|
+
'arrow-size': { value: '12px' },
|
29
|
+
'arrow-width': { value: '5px' },
|
30
|
+
padding: { value: '8px 16px' },
|
31
|
+
distance: { value: '9px' }
|
32
|
+
},
|
33
|
+
font: {
|
34
|
+
default: { value: 'caption' }
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|