@kofile/gds-foundations 0.0.10 → 1.0.0-alpha
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/build/.DS_Store +0 -0
- package/build/css/.DS_Store +0 -0
- package/build/css/components/badge.module.css +82 -0
- package/build/css/components/button.module.css +309 -0
- package/build/css/components/checkbox.module.css +190 -0
- package/build/css/components/field-message.module.css +26 -0
- package/build/css/components/form-label.module.css +21 -0
- package/build/css/components/input.module.css +164 -0
- package/build/css/components/label.module.css +21 -0
- package/build/css/components/link.module.css +52 -0
- package/build/css/components/radio-group.module.css +151 -0
- package/build/css/components/select.module.css +235 -0
- package/build/css/components/switch.module.css +92 -0
- package/build/css/components/table.module.css +225 -0
- package/build/css/components/tabs.module.css +79 -0
- package/build/css/index.css +0 -1
- package/build/css/normalize.css +0 -10
- package/build/css/themes/badge/dark.css +12 -0
- package/build/css/themes/badge/index.css +2 -0
- package/build/css/themes/badge/light.css +12 -0
- package/build/css/themes/button/dark.css +42 -0
- package/build/css/themes/button/index.css +2 -0
- package/build/css/themes/button/light.css +42 -0
- package/build/css/themes/checkbox/dark.css +19 -0
- package/build/css/themes/checkbox/light.css +19 -0
- package/build/css/themes/checkbox-tile/dark.css +14 -0
- package/build/css/themes/checkbox-tile/light.css +18 -0
- package/build/css/themes/field-message/dark.css +6 -0
- package/build/css/themes/field-message/light.css +6 -0
- package/build/css/themes/form-label/dark.css +6 -0
- package/build/css/themes/form-label/light.css +6 -0
- package/build/css/themes/global.css +565 -0
- package/build/css/themes/index.css +30 -0
- package/build/css/themes/input/dark.css +19 -0
- package/build/css/themes/input/light.css +19 -0
- package/build/css/themes/label/dark.css +5 -0
- package/build/css/themes/label/light.css +5 -0
- package/build/css/themes/link/dark.css +7 -0
- package/build/css/themes/link/light.css +7 -0
- package/build/css/themes/output.css +2 -0
- package/build/css/themes/output.css.map +1 -0
- package/build/css/themes/output.json +1 -0
- package/build/css/themes/radio-group/dark.css +12 -0
- package/build/css/themes/radio-group/light.css +11 -0
- package/build/css/themes/radio-group-tile/dark.css +12 -0
- package/build/css/themes/radio-group-tile/light.css +18 -0
- package/build/css/themes/select/dark.css +31 -0
- package/build/css/themes/select/light.css +28 -0
- package/build/css/themes/switch/dark.css +12 -0
- package/build/css/themes/switch/light.css +14 -0
- package/build/css/themes/table/dark.css +20 -0
- package/build/css/themes/table/light.css +24 -0
- package/build/css/themes/tabs/dark.css +11 -0
- package/build/css/themes/tabs/light.css +13 -0
- package/build/css/tokens-global.css +4 -0
- package/build/css/utilities/background-color.css +284 -0
- package/build/css/utilities/border-color.css +284 -0
- package/build/css/utilities/border-radius.css +455 -0
- package/build/css/utilities/border-style.css +18 -0
- package/build/css/utilities/border-width.css +127 -0
- package/build/css/utilities/cursor.css +31 -0
- package/build/css/utilities/display.css +0 -2
- package/build/css/utilities/flex-shrink.css +6 -0
- package/build/css/utilities/grid-auto-columns.css +12 -0
- package/build/css/utilities/grid-template-columns.css +42 -0
- package/build/css/utilities/height.css +56 -56
- package/build/css/utilities/index.css +13 -0
- package/build/css/utilities/max-height.css +41 -41
- package/build/css/utilities/min-height.css +1 -1
- package/build/css/utilities/padding.css +23 -0
- package/build/css/utilities/text-overflow.css +13 -0
- package/build/css/utilities/text-transform.css +12 -0
- package/build/css/utilities/vertical-align.css +31 -0
- package/build/css/utilities/white-space.css +23 -0
- package/build/css/utilities/width.css +93 -93
- package/build/min/themes/Global.css +1 -0
- package/build/min/themes/dark.css +1 -0
- package/build/min/themes/light.css +1 -0
- package/build/minified/tokens-global.css +2 -2
- package/package.json +106 -8
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* reset */
|
|
2
|
+
button {
|
|
3
|
+
all: unset;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.root {
|
|
7
|
+
background-color: var(--switch-light-color-background-primary-default);
|
|
8
|
+
border-radius: var(--switch-size-md-border-radius);
|
|
9
|
+
border-width: var(--switch-size-md-border-width);
|
|
10
|
+
border-color: var(--switch-light-color-border-primary-default);
|
|
11
|
+
border-style: solid;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
height: var(--switch-size-md-height);
|
|
15
|
+
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
16
|
+
width: var(--switch-size-md-width);
|
|
17
|
+
}
|
|
18
|
+
.root:focus-visible {
|
|
19
|
+
outline-offset: var(--switch-outline-primary-offset);
|
|
20
|
+
outline-color: var(--switch-outline-primary-fill);
|
|
21
|
+
outline-style: solid;
|
|
22
|
+
outline-width: var(--switch-outline-primary-width);
|
|
23
|
+
}
|
|
24
|
+
.root:hover {
|
|
25
|
+
background-color: var(--switch-light-color-background-primary-hover);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
.root:disabled {
|
|
29
|
+
opacity: var(--switch-opacity-disabled);
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
}
|
|
32
|
+
.root[data-state="checked"] {
|
|
33
|
+
background-color: var(--switch-light-color-background-primary-active);
|
|
34
|
+
border-color: var(--switch-light-color-border-primary-active);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.root[data-size="sm"] {
|
|
38
|
+
height: var(--switch-size-sm-height);
|
|
39
|
+
width: var(--switch-size-sm-width);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* TODO DARK MODE!!! */
|
|
43
|
+
|
|
44
|
+
.thumb {
|
|
45
|
+
display: block;
|
|
46
|
+
width: var(--switch-elements-thumb-size-md-width);
|
|
47
|
+
height: var(--switch-elements-thumb-size-md-height);
|
|
48
|
+
background-color: var(
|
|
49
|
+
--switch-light-elements-thumb-color-background-primary-default
|
|
50
|
+
);
|
|
51
|
+
border-radius: var(--switch-elements-thumb-size-md-border-radius);
|
|
52
|
+
border-width: var(--switch-elements-thumb-size-md-border-width);
|
|
53
|
+
border-color: var(--switch-light-elements-thumb-color-border-primary-default);
|
|
54
|
+
border-style: solid;
|
|
55
|
+
transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
56
|
+
transform: translateX(-1px) translateY(-1px);
|
|
57
|
+
will-change: transform;
|
|
58
|
+
}
|
|
59
|
+
.thumb[data-state="checked"] {
|
|
60
|
+
transform: translateX(19px) translateY(-1px);
|
|
61
|
+
border-color: var(--switch-light-elements-thumb-color-border-primary-active);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.thumb[data-size="sm"] {
|
|
65
|
+
width: var(--switch-elements-thumb-size-sm-width);
|
|
66
|
+
height: var(--switch-elements-thumb-size-sm-height);
|
|
67
|
+
}
|
|
68
|
+
.thumb[data-size="sm"][data-state="checked"] {
|
|
69
|
+
transform: translateX(16px) translateY(-1px);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.root[data-mode="dark"] {
|
|
73
|
+
background-color: var(--switch-color-background-primary-default);
|
|
74
|
+
border-color: var(--switch-color-border-primary-default);
|
|
75
|
+
}
|
|
76
|
+
.root[data-mode="dark"]:hover {
|
|
77
|
+
background-color: var(--switch-color-background-primary-hover);
|
|
78
|
+
}
|
|
79
|
+
.root[data-mode="dark"][data-state="checked"] {
|
|
80
|
+
background-color: var(--switch-color-background-primary-active);
|
|
81
|
+
border-color: var(--switch-color-border-primary-active);
|
|
82
|
+
}
|
|
83
|
+
.root[data-mode="dark"]:focus-visible {
|
|
84
|
+
outline-color: var(--switch-color-outline-primary-fill);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.thumb[data-mode="dark"][data-state="checked"] {
|
|
88
|
+
border-color: var(--switch-dark-elements-thumb-border-primary-active);
|
|
89
|
+
}
|
|
90
|
+
.thumb[data-mode="dark"] {
|
|
91
|
+
border-color: var(--switch-dark-elements-thumb-border-primary-default);
|
|
92
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
.table {
|
|
2
|
+
width: 100%;
|
|
3
|
+
border-collapse: separate; /* Don't collapse */
|
|
4
|
+
border-spacing: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.container {
|
|
8
|
+
background-color: var(
|
|
9
|
+
--table-light-elements-container-color-background-primary-default
|
|
10
|
+
);
|
|
11
|
+
border-color: var(
|
|
12
|
+
--table-light-elements-container-color-border-primary-default
|
|
13
|
+
);
|
|
14
|
+
border-width: var(--table-elements-container-size-2xl-border-width);
|
|
15
|
+
border-style: solid;
|
|
16
|
+
|
|
17
|
+
border-radius: var(--table-elements-container-size-2xl-border-radius);
|
|
18
|
+
min-height: auto;
|
|
19
|
+
max-height: var(--table-elements-container-size-2xl-max-height);
|
|
20
|
+
overflow: auto;
|
|
21
|
+
}
|
|
22
|
+
.container::-webkit-scrollbar {
|
|
23
|
+
width: var(--table-elements-container-scrollbar-size-2xl-width);
|
|
24
|
+
background-color: var(
|
|
25
|
+
--table-light-elements-container-scrollbar-color-background-primary-default
|
|
26
|
+
);
|
|
27
|
+
border-color: var(
|
|
28
|
+
--table-light-elements-container-scrollbar-color-border-primary-default
|
|
29
|
+
);
|
|
30
|
+
border-style: solid;
|
|
31
|
+
border-width: var(--table-elements-container-scrollbar-size-2xl-border-width);
|
|
32
|
+
border-right: none;
|
|
33
|
+
border-radius: var(
|
|
34
|
+
--table-elements-container-scrollbar-size-2xl-border-radius
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
.container::-webkit-scrollbar-thumb {
|
|
38
|
+
background-color: var(
|
|
39
|
+
--table-light-elements-container-scrollbar-thumb-color-background-primary-default
|
|
40
|
+
);
|
|
41
|
+
border-width: var(
|
|
42
|
+
--table-elements-container-scrollbar-thumb-size-2xl-border-width
|
|
43
|
+
);
|
|
44
|
+
border-color: var(
|
|
45
|
+
--table-light-elements-container-scrollbar-thumb-color-border-primary-default
|
|
46
|
+
);
|
|
47
|
+
border-style: solid;
|
|
48
|
+
border-radius: var(
|
|
49
|
+
--table-elements-container-scrollbar-size-2xl-border-radius
|
|
50
|
+
);
|
|
51
|
+
height: var(--table-elements-container-scrollbar-thumb-size-2xl-height);
|
|
52
|
+
}
|
|
53
|
+
.container[data-mode="dark"] {
|
|
54
|
+
background-color: var(
|
|
55
|
+
--table-dark-elements-container-color-background-primary-default
|
|
56
|
+
);
|
|
57
|
+
border-color: var(
|
|
58
|
+
--table-dark-elements-container-color-border-primary-default
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
.container[data-mode="dark"]::-webkit-scrollbar {
|
|
62
|
+
background-color: var(
|
|
63
|
+
--table-dark-elements-container-scrollbar-color-background-primary-default
|
|
64
|
+
);
|
|
65
|
+
border-color: var(
|
|
66
|
+
--table-dark-elements-container-scrollbar-color-border-primary-default
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.container[data-mode="dark"]::-webkit-scrollbar-thumb {
|
|
71
|
+
background-color: var(
|
|
72
|
+
--table-dark-elements-container-scrollbar-thumb-color-background-primary-default
|
|
73
|
+
);
|
|
74
|
+
border-color: var(
|
|
75
|
+
--table-dark-elements-container-scrollbar-thumb-color-border-primary-default
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.tr {
|
|
80
|
+
background-color: var(
|
|
81
|
+
--table-light-elements-tr-color-background-primary-default
|
|
82
|
+
);
|
|
83
|
+
transition: background-color 0.2s ease-in-out;
|
|
84
|
+
}
|
|
85
|
+
.tr:not(:last-child) > * {
|
|
86
|
+
border-block-end: var(--table-elements-td-size-2xl-border-width) solid
|
|
87
|
+
var(--table-light-elements-td-color-border-primary-default);
|
|
88
|
+
}
|
|
89
|
+
.tr[data-mode="dark"]:not(:last-child) > * {
|
|
90
|
+
border-block-end: var(--table-elements-td-size-2xl-border-width) solid
|
|
91
|
+
var(--table-dark-elements-td-color-border-primary-default);
|
|
92
|
+
}
|
|
93
|
+
.tr:hover {
|
|
94
|
+
background-color: var(
|
|
95
|
+
--table-light-elements-tr-color-background-primary-hover
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
.tr[data-mode="dark"] {
|
|
99
|
+
background-color: var(
|
|
100
|
+
--table-dark-elements-tr-color-background-primary-default
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
.tr[data-mode="dark"]:hover {
|
|
104
|
+
background-color: var(
|
|
105
|
+
--table-dark-elements-tr-color-background-primary-hover
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
.tr[data-striped]:nth-child(even) {
|
|
109
|
+
background-color: var(
|
|
110
|
+
--table-light-elements-tr-color-background-striped-default
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
.tr[data-mode="dark"][data-striped]:nth-child(even) {
|
|
114
|
+
background-color: var(
|
|
115
|
+
--table-dark-elements-tr-color-background-striped-default
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
.tr[data-striped]:hover {
|
|
119
|
+
background-color: var(
|
|
120
|
+
--table-light-elements-tr-color-background-striped-hover
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
.tr[data-mode="dark"][data-striped]:hover {
|
|
124
|
+
background-color: var(
|
|
125
|
+
--table-dark-elements-tr-color-background-striped-hover
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.th {
|
|
130
|
+
background-color: var(
|
|
131
|
+
--table-light-elements-th-color-background-primary-default
|
|
132
|
+
);
|
|
133
|
+
border-bottom-color: var(
|
|
134
|
+
--table-light-elements-th-color-border-bottom-primary-default
|
|
135
|
+
);
|
|
136
|
+
border-bottom-style: solid;
|
|
137
|
+
border-bottom-width: var(--table-elements-th-size-xl-border-bottom-width);
|
|
138
|
+
color: var(--table-light-elements-th-color-text-primary-default);
|
|
139
|
+
font: var(--table-elements-th-size-xl-typography);
|
|
140
|
+
height: var(--table-elements-th-size-xl-max-height);
|
|
141
|
+
padding-inline: var(--table-elements-th-size-xl-padding-inline);
|
|
142
|
+
padding-block-start: var(--table-elements-th-size-xl-padding-block-start);
|
|
143
|
+
padding-block-end: var(--table-elements-th-size-xl-padding-block-end);
|
|
144
|
+
text-align: left;
|
|
145
|
+
}
|
|
146
|
+
.th[data-mode="dark"] {
|
|
147
|
+
background-color: var(
|
|
148
|
+
--table-dark-elements-th-color-background-primary-default
|
|
149
|
+
);
|
|
150
|
+
border-bottom-color: var(
|
|
151
|
+
--table-dark-elements-th-color-border-bottom-primary-default
|
|
152
|
+
);
|
|
153
|
+
color: var(--table-dark-elements-th-color-text-primary-default);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.th[data-size="2xl"] {
|
|
157
|
+
font: var(--table-elements-th-size-2xl-typography);
|
|
158
|
+
height: var(--table-elements-th-size-2xl-max-height);
|
|
159
|
+
padding-block-start: var(--table-elements-th-size-2xl-padding-block-start);
|
|
160
|
+
padding-block-end: var(--table-elements-th-size-2xl-padding-block-end);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.th[data-background="none"] {
|
|
164
|
+
background-color: var(
|
|
165
|
+
--table-light-elements-th-color-background-altbackground-default
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
.th[data-align="center"] {
|
|
169
|
+
text-align: center;
|
|
170
|
+
}
|
|
171
|
+
.th[data-align="right"] {
|
|
172
|
+
text-align: right;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.th[data-mode="dark"][data-background="none"] {
|
|
176
|
+
background-color: var(
|
|
177
|
+
--table-dark-elements-th-color-background-altbackground-default
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
.td {
|
|
181
|
+
box-sizing: border-box;
|
|
182
|
+
color: var(--table-light-elements-td-color-text-primary-default);
|
|
183
|
+
font: var(--table-elements-td-size-2xl-typography);
|
|
184
|
+
height: var(--table-elements-td-size-2xl-max-height);
|
|
185
|
+
padding-inline: var(--table-elements-td-size-2xl-padding-inline);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.td[data-size="xl"] {
|
|
189
|
+
font: var(--table-elements-td-size-xl-typography);
|
|
190
|
+
height: var(--table-elements-td-size-xl-max-height);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.td[data-size="lg"] {
|
|
194
|
+
font: var(--table-elements-td-size-lg-typography);
|
|
195
|
+
line-height: var(--line-heights-3xs);
|
|
196
|
+
height: var(--table-elements-td-size-lg-max-height);
|
|
197
|
+
padding-inline-start: var(--table-elements-td-size-lg-padding-inline);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.td[data-mode="dark"] {
|
|
201
|
+
color: var(--table-dark-elements-td-color-text-primary-default);
|
|
202
|
+
}
|
|
203
|
+
.actions {
|
|
204
|
+
display: flex;
|
|
205
|
+
justify-content: flex-end;
|
|
206
|
+
align-items: center;
|
|
207
|
+
padding-inline-end: var(--table-elements-actions-2xl-padding-inline-end);
|
|
208
|
+
height: var(--table-elements-actions-2xl-height);
|
|
209
|
+
box-sizing: border-box;
|
|
210
|
+
border-color: var(
|
|
211
|
+
--table-light-elements-actions-color-border-primary-default
|
|
212
|
+
);
|
|
213
|
+
border-style: solid;
|
|
214
|
+
border-width: var(--table-elements-actions-2xl-border-width);
|
|
215
|
+
background-color: var(
|
|
216
|
+
--table-light-elements-actions-color-background-primary-default
|
|
217
|
+
);
|
|
218
|
+
border-radius: var(--table-elements-actions-2xl-border-radius);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.actions[data-altbackground="true"] {
|
|
222
|
+
background-color: var(
|
|
223
|
+
--table-light-elements-actions-color-altbackground-primary-default
|
|
224
|
+
);
|
|
225
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
button,
|
|
2
|
+
fieldset,
|
|
3
|
+
input {
|
|
4
|
+
all: unset;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tokens {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.root {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.list {
|
|
16
|
+
display: flex;
|
|
17
|
+
column-gap: var(--tabs-elements-list-gap-default);
|
|
18
|
+
flex-shrink: 0;
|
|
19
|
+
}
|
|
20
|
+
.list[data-border] {
|
|
21
|
+
border-block-end-color: var(
|
|
22
|
+
--tabs-light-elements-list-color-border-primary-default
|
|
23
|
+
);
|
|
24
|
+
border-block-end-width: var(--tabs-elements-list-size-lg-border-bottom-width);
|
|
25
|
+
border-block-end-style: solid;
|
|
26
|
+
}
|
|
27
|
+
.list[data-mode="dark"][data-border] {
|
|
28
|
+
border-color: var(--tabs-dark-elements-list-color-border-primary-default);
|
|
29
|
+
}
|
|
30
|
+
.trigger {
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
background-color: var(--tabs-trigger-background-color);
|
|
33
|
+
border-block-end-color: var(
|
|
34
|
+
--tabs-light-elements-trigger-color-border-primary-default
|
|
35
|
+
);
|
|
36
|
+
border-block-end-width: var(--tabs-elements-trigger-size-lg-border-width);
|
|
37
|
+
border-block-end-style: solid;
|
|
38
|
+
padding-block-end: var(--tabs-elements-trigger-size-lg-padding-block-end);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
font: var(--tabs-elements-trigger-size-lg-typography);
|
|
44
|
+
color: var(--tabs-trigger-color);
|
|
45
|
+
}
|
|
46
|
+
.trigger:hover {
|
|
47
|
+
color: var(--tabs-light-elements-trigger-color-text-primary-hover);
|
|
48
|
+
}
|
|
49
|
+
.trigger[data-state="active"] {
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
color: var(--tabs-light-elements-trigger-color-text-primary-active);
|
|
52
|
+
border-color: var(--tabs-light-elements-trigger-color-border-primary-active);
|
|
53
|
+
}
|
|
54
|
+
.trigger[data-size="xl"] {
|
|
55
|
+
font: var(--tabs-elements-trigger-size-xl-typography);
|
|
56
|
+
}
|
|
57
|
+
.trigger[data-mode="dark"] {
|
|
58
|
+
color: var(--tabs-dark-elements-trigger-color-text-primary-default);
|
|
59
|
+
}
|
|
60
|
+
.trigger[data-mode="dark"]:hover {
|
|
61
|
+
color: var(--tabs-dark-elements-trigger-color-text-primary-hover);
|
|
62
|
+
}
|
|
63
|
+
.trigger[data-mode="dark"][data-state="active"] {
|
|
64
|
+
color: var(--tabs-dark-elements-trigger-color-text-primary-active);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.content {
|
|
68
|
+
flex-shrink: 1;
|
|
69
|
+
border: var(--tabs-elements-content-size-lg-border-width) solid
|
|
70
|
+
var(--tabs-light-elements-content-color-border-primary-default);
|
|
71
|
+
margin-top: var(--tabs-elements-content-size-lg-margin-block-start);
|
|
72
|
+
padding: var(--tabs-elements-content-size-lg-padding);
|
|
73
|
+
outline: none;
|
|
74
|
+
width: auto;
|
|
75
|
+
}
|
|
76
|
+
.content:focus {
|
|
77
|
+
border: var(--tabs-elements-content-size-lg-border-width) solid
|
|
78
|
+
var(--tabs-light-elements-content-color-border-primary-default);
|
|
79
|
+
}
|
package/build/css/index.css
CHANGED
package/build/css/normalize.css
CHANGED
|
@@ -36,16 +36,6 @@ main {
|
|
|
36
36
|
display: block;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
|
41
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
|
-
h1 {
|
|
45
|
-
font-size: 2em;
|
|
46
|
-
margin: 0.67em 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
39
|
/* Grouping content
|
|
50
40
|
========================================================================== */
|
|
51
41
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--badge-dark-color-background-neutral-light-fill: #343944;
|
|
5
|
+
--badge-dark-color-background-neutral-dark-fill: #242831;
|
|
6
|
+
--badge-dark-color-background-primary-fill: #041C4F;
|
|
7
|
+
--badge-dark-color-background-success-fill: #063724;
|
|
8
|
+
--badge-dark-color-background-danger-fill: #5c0b09;
|
|
9
|
+
--badge-dark-color-background-warning-fill: #553008;
|
|
10
|
+
--badge-dark-color-background-highlight-fill: #563e00;
|
|
11
|
+
--badge-dark-color-text-fill: #ffffff;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--badge-light-color-background-neutral-light-fill: #edeeef;
|
|
5
|
+
--badge-light-color-background-neutral-dark-fill: #d5d7db;
|
|
6
|
+
--badge-light-color-background-primary-fill: #d9eafe;
|
|
7
|
+
--badge-light-color-background-success-fill: #a3f6ce;
|
|
8
|
+
--badge-light-color-background-danger-fill: #fecbcb;
|
|
9
|
+
--badge-light-color-background-warning-fill: #ffddb1;
|
|
10
|
+
--badge-light-color-background-hightlight-fill: #fae592;
|
|
11
|
+
--badge-light-color-text-fill: #121212;
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--button-dark-color-background-solid-primary-default: #0c57cd;
|
|
5
|
+
--button-dark-color-background-solid-primary-hover: #063b99;
|
|
6
|
+
--button-dark-color-background-solid-danger-default: #d12828;
|
|
7
|
+
--button-dark-color-background-solid-danger-hover: #ab1a1d;
|
|
8
|
+
--button-dark-color-background-outlined-primary-default: #121212;
|
|
9
|
+
--button-dark-color-background-outlined-primary-hover: #03122f;
|
|
10
|
+
--button-dark-color-background-outlined-neutral-default: #121212;
|
|
11
|
+
--button-dark-color-background-outlined-neutral-hover: #242831;
|
|
12
|
+
--button-dark-color-background-outlined-danger-default: #121212;
|
|
13
|
+
--button-dark-color-background-outlined-danger-hover: #3b0807;
|
|
14
|
+
--button-dark-color-background-transparent-primary-default: transparent;
|
|
15
|
+
--button-dark-color-background-transparent-primary-hover: #242831;
|
|
16
|
+
--button-dark-color-background-transparent-primary-active: #343944;
|
|
17
|
+
--button-dark-color-background-transparent-neutral-default: transparent;
|
|
18
|
+
--button-dark-color-background-transparent-neutral-hover: #242831;
|
|
19
|
+
--button-dark-color-background-transparent-neutral-active: #343944;
|
|
20
|
+
--button-dark-color-border-solid-primary-default: #0c57cd;
|
|
21
|
+
--button-dark-color-border-solid-primary-hover: #063b99;
|
|
22
|
+
--button-dark-color-border-solid-danger-default: #d12828;
|
|
23
|
+
--button-dark-color-border-solid-danger-hover: #ab1a1d;
|
|
24
|
+
--button-dark-color-border-outlined-primary-default: #66a8fd;
|
|
25
|
+
--button-dark-color-border-outlined-primary-hover: #66a8fd;
|
|
26
|
+
--button-dark-color-border-outlined-neutral-default: #343944;
|
|
27
|
+
--button-dark-color-border-outlined-danger-default: #fc817c;
|
|
28
|
+
--button-dark-color-border-outlined-danger-hover: #fc817c;
|
|
29
|
+
--button-dark-color-border-transparent-primary-default: transparent;
|
|
30
|
+
--button-dark-color-border-transparent-primary-hover: #242831;
|
|
31
|
+
--button-dark-color-border-transparent-primary-active: #d5d7db;
|
|
32
|
+
--button-dark-color-border-transparent-neutral-default: transparent;
|
|
33
|
+
--button-dark-color-border-transparent-neutral-hover: #242831;
|
|
34
|
+
--button-dark-color-border-transparent-neutral-active: #343944;
|
|
35
|
+
--button-dark-color-text-solid-primary-default: #ffffff;
|
|
36
|
+
--button-dark-color-text-solid-danger-default: #ffffff;
|
|
37
|
+
--button-dark-color-text-outlined-primary-default: #66a8fd;
|
|
38
|
+
--button-dark-color-text-outlined-neutral-default: #ffffff;
|
|
39
|
+
--button-dark-color-text-outlined-danger-default: #fc817c;
|
|
40
|
+
--button-dark-color-text-transparent-primary-default: #66a8fd;
|
|
41
|
+
--button-dark-color-text-transparent-neutral-default: #ffffff;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--button-light-color-background-solid-primary-default: #0c57cd;
|
|
5
|
+
--button-light-color-background-solid-primary-hover: #063b99;
|
|
6
|
+
--button-light-color-background-solid-danger-default: #d12828;
|
|
7
|
+
--button-light-color-background-solid-danger-hover: #ab1a1d;
|
|
8
|
+
--button-light-color-background-outlined-primary-default: #ffffff;
|
|
9
|
+
--button-light-color-background-outlined-primary-hover: #f0f7ff;
|
|
10
|
+
--button-light-color-background-outlined-neutral-default: #ffffff;
|
|
11
|
+
--button-light-color-background-outlined-neutral-hover: #edeeef;
|
|
12
|
+
--button-light-color-background-outlined-danger-default: #ffffff;
|
|
13
|
+
--button-light-color-background-outlined-danger-hover: #d12828;
|
|
14
|
+
--button-light-color-background-transparent-primary-default: transparent;
|
|
15
|
+
--button-light-color-background-transparent-primary-hover: #edeeef;
|
|
16
|
+
--button-light-color-background-transparent-primary-active: #d5d7db;
|
|
17
|
+
--button-light-color-background-transparent-neutral-default: transparent;
|
|
18
|
+
--button-light-color-background-transparent-neutral-hover: #edeeef;
|
|
19
|
+
--button-light-color-background-transparent-neutral-active: #d5d7db;
|
|
20
|
+
--button-light-color-border-solid-primary-default: #063b99;
|
|
21
|
+
--button-light-color-border-solid-primary-hover: #041C4F;
|
|
22
|
+
--button-light-color-border-solid-danger-default: #ab1a1d;
|
|
23
|
+
--button-light-color-border-solid-danger-hover: #7e130e;
|
|
24
|
+
--button-light-color-border-outlined-primary-default: #0c57cd;
|
|
25
|
+
--button-light-color-border-outlined-primary-hover: #0c57cd;
|
|
26
|
+
--button-light-color-border-outlined-neutral-default: #abcffd;
|
|
27
|
+
--button-light-color-border-outlined-danger-default: #d12828;
|
|
28
|
+
--button-light-color-border-outlined-danger-hover: #d12828;
|
|
29
|
+
--button-light-color-border-transparent-primary-default: transparent;
|
|
30
|
+
--button-light-color-border-transparent-primary-hover: transparent;
|
|
31
|
+
--button-light-color-border-transparent-primary-active: #d5d7db;
|
|
32
|
+
--button-light-color-border-transparent-neutral-default: transparent;
|
|
33
|
+
--button-light-color-border-transparent-neutral-hover: transparent;
|
|
34
|
+
--button-light-color-border-transparent-neutral-active: #d5d7db;
|
|
35
|
+
--button-light-color-text-solid-primary-default: #ffffff;
|
|
36
|
+
--button-light-color-text-solid-danger-default: #ffffff;
|
|
37
|
+
--button-light-color-text-outlined-primary-default: #0c57cd;
|
|
38
|
+
--button-light-color-text-outlined-neutral-default: #121212;
|
|
39
|
+
--button-light-color-text-outlined-danger-default: #d12828;
|
|
40
|
+
--button-light-color-text-transparent-primary-default: #0c57cd;
|
|
41
|
+
--button-light-color-text-transparent-neutral-default: #121212;
|
|
42
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--checkbox-dark-color-background-primary-active: #3a89fd;
|
|
5
|
+
--checkbox-dark-color-background-primary-default: #121212;
|
|
6
|
+
--checkbox-dark-color-background-primary-hover: #4f5562;
|
|
7
|
+
--checkbox-dark-color-background-danger-active: #f4534f;
|
|
8
|
+
--checkbox-dark-color-background-danger-default: #f4534f;
|
|
9
|
+
--checkbox-dark-color-background-danger-hover: #121212;
|
|
10
|
+
--checkbox-dark-color-background-indeterminate-active: #0c57cd;
|
|
11
|
+
--checkbox-dark-color-background-indeterminate-default: #0c57cd;
|
|
12
|
+
--checkbox-dark-color-background-indeterminate-hover: #ffffff;
|
|
13
|
+
--checkbox-dark-color-border-primary-active: #3a89fd;
|
|
14
|
+
--checkbox-dark-color-border-primary-default: #343944;
|
|
15
|
+
--checkbox-dark-color-border-primary-hover: #041C4F;
|
|
16
|
+
--checkbox-dark-color-border-danger-default: #ab1a1d;
|
|
17
|
+
--checkbox-dark-color-border-danger-hover: #7e130e;
|
|
18
|
+
--checkbox-dark-color-outline-primary-fill: #063b99;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--checkbox-light-color-background-primary-active: #0c57cd;
|
|
5
|
+
--checkbox-light-color-background-primary-default: #ffffff;
|
|
6
|
+
--checkbox-light-color-background-primary-hover: #b7bcc3;
|
|
7
|
+
--checkbox-light-color-background-danger-active: #d12828;
|
|
8
|
+
--checkbox-light-color-background-danger-default: #d12828;
|
|
9
|
+
--checkbox-light-color-background-danger-hover: #ffffff;
|
|
10
|
+
--checkbox-light-color-background-indeterminate-active: #0c57cd;
|
|
11
|
+
--checkbox-light-color-background-indeterminate-default: #0c57cd;
|
|
12
|
+
--checkbox-light-color-background-indeterminate-hover: #ffffff;
|
|
13
|
+
--checkbox-light-color-border-primary-active: #041C4F;
|
|
14
|
+
--checkbox-light-color-border-primary-default: #343944;
|
|
15
|
+
--checkbox-light-color-border-primary-hover: #041C4F;
|
|
16
|
+
--checkbox-light-color-border-danger-default: #ab1a1d;
|
|
17
|
+
--checkbox-light-color-border-danger-hover: #7e130e;
|
|
18
|
+
--checkbox-light-color-outline-primary-fill: #063b99;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--checkbox-tile-dark-color-background-primary-active: #041C4F;
|
|
5
|
+
--checkbox-tile-dark-color-background-primary-default: #242831;
|
|
6
|
+
--checkbox-tile-dark-color-background-primary-hover: #343944;
|
|
7
|
+
--checkbox-tile-dark-color-background-altbackground-active: #041C4F;
|
|
8
|
+
--checkbox-tile-dark-color-background-altbackground-default: #121212;
|
|
9
|
+
--checkbox-tile-dark-color-background-altbackground-hover: #343944;
|
|
10
|
+
--checkbox-tile-dark-color-border-primary-active: #0c57cd;
|
|
11
|
+
--checkbox-tile-dark-color-border-primary-default: #242831;
|
|
12
|
+
--checkbox-tile-dark-color-border-primary-hover: #343944;
|
|
13
|
+
--checkbox-tile-dark-color-outline-primary-fill: #063b99;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
:root,
|
|
3
|
+
:host {
|
|
4
|
+
--checkbox-tile-light-color-background-primary-active: #d9eafe;
|
|
5
|
+
--checkbox-tile-light-color-background-primary-default: #edeeef;
|
|
6
|
+
--checkbox-tile-light-color-background-primary-hover: #d5d7db;
|
|
7
|
+
--checkbox-tile-light-color-background-altbackground-active: #66a8fd;
|
|
8
|
+
--checkbox-tile-light-color-background-altbackground-default: #ffffff;
|
|
9
|
+
--checkbox-tile-light-color-background-altbackground-hover: #d5d7db;
|
|
10
|
+
--checkbox-tile-light-color-border-primary-active: #66a8fd;
|
|
11
|
+
--checkbox-tile-light-color-border-primary-default: #edeeef;
|
|
12
|
+
--checkbox-tile-light-color-border-primary-hover: #d5d7db;
|
|
13
|
+
--checkbox-tile-light-color-border-active-default: #66a8fd;
|
|
14
|
+
--checkbox-tile-light-color-border-altbackground-active: #66a8fd;
|
|
15
|
+
--checkbox-tile-light-color-border-altbackground-default: #ffffff;
|
|
16
|
+
--checkbox-tile-light-color-border-altbackground-hover: #d5d7db;
|
|
17
|
+
--checkbox-tile-light-color-outline-primary-fill: #063b99;
|
|
18
|
+
}
|