@koobiq/components 17.5.0 → 17.6.1
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/button/button-tokens.scss +2 -3
- package/code-block/_code-block-theme.scss +124 -143
- package/code-block/code-block-tokens.scss +400 -0
- package/code-block/code-block.scss +4 -2
- package/core/services/theme.service.d.ts +16 -0
- package/core/styles/_koobiq-theme.scss +3 -58
- package/divider/_divider-theme.scss +2 -4
- package/divider/divider-tokens.scss +14 -0
- package/divider/divider.scss +4 -0
- package/dl/_dl-theme.scss +4 -6
- package/dl/dl-tokens.scss +32 -0
- package/dl/dl.scss +5 -0
- package/dropdown/dropdown-tokens.scss +0 -1
- package/empty-state/_empty-state-theme.scss +6 -9
- package/empty-state/empty-state-tokens.scss +68 -0
- package/empty-state/empty-state.scss +5 -0
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +20 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/divider/divider.component.mjs +3 -3
- package/esm2022/dl/dl.component.mjs +3 -3
- package/esm2022/empty-state/empty-state.component.mjs +3 -3
- package/esm2022/file-upload/multiple-file-upload.component.mjs +3 -3
- package/esm2022/file-upload/single-file-upload.component.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +8 -5
- package/esm2022/list/list-selection.component.mjs +3 -3
- package/esm2022/list/list.component.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
- package/esm2022/markdown/markdown.component.mjs +3 -3
- package/esm2022/modal/modal.component.mjs +3 -3
- package/esm2022/navbar/navbar-item.component.mjs +2 -2
- package/esm2022/navbar/navbar.component.mjs +3 -3
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +3 -3
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/toggle/toggle.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tree/toggle.mjs +3 -3
- package/esm2022/tree/tree-option.component.mjs +3 -3
- package/esm2022/tree/tree-selection.component.mjs +3 -3
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree-select/tree-select.component.mjs +3 -3
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-code-block.mjs +2 -2
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +21 -4
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +2 -2
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -2
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +2 -2
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +9 -6
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +2 -2
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +2 -2
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +4 -4
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +4 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +2 -2
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +2 -2
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +8 -8
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +29 -112
- package/file-upload/file-upload-tokens.scss +159 -0
- package/file-upload/file-upload.scss +4 -2
- package/form-field/form-field-tokens.scss +1 -1
- package/icon/icon-button-tokens.scss +0 -1
- package/link/link-tokens.scss +1 -1
- package/list/_list-theme.scss +14 -25
- package/list/list-tokens.scss +100 -0
- package/list/list.scss +5 -0
- package/loader-overlay/_loader-overlay-theme.scss +8 -23
- package/loader-overlay/loader-overlay-tokens.scss +58 -0
- package/loader-overlay/loader-overlay.scss +4 -5
- package/markdown/_markdown-theme.scss +29 -43
- package/markdown/markdown-tokens.scss +252 -0
- package/markdown/markdown.scss +0 -6
- package/modal/_modal-confirm.scss +0 -3
- package/modal/_modal-theme.scss +10 -12
- package/modal/modal-tokens.scss +53 -0
- package/modal/modal.scss +5 -0
- package/navbar/_navbar-theme.scss +15 -25
- package/navbar/navbar-divider.scss +0 -3
- package/navbar/navbar-item.scss +0 -3
- package/navbar/navbar-tokens.scss +83 -0
- package/navbar/navbar.scss +5 -3
- package/navbar/vertical-navbar.scss +0 -3
- package/package.json +6 -6
- package/popover/_popover-theme.scss +9 -16
- package/popover/popover-tokens.scss +60 -0
- package/popover/popover.scss +4 -5
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/schematics/ng-add/index.js +4 -4
- package/table/_table-theme.scss +7 -15
- package/table/table-tokens.scss +37 -0
- package/table/table.scss +4 -1
- package/textarea/_textarea-theme.scss +1 -1
- package/textarea/textarea-tokens.scss +14 -0
- package/textarea/textarea.scss +1 -0
- package/timezone/_timezone-option-theme.scss +5 -7
- package/timezone/timezone-option-tokens.scss +51 -0
- package/timezone/timezone-option.component.scss +5 -0
- package/timezone/timezone-select.component.scss +5 -0
- package/toast/_toast-theme.scss +11 -15
- package/toast/toast-tokens.scss +75 -0
- package/toast/toast.component.scss +4 -1
- package/toggle/_toggle-theme.scss +21 -41
- package/toggle/toggle-tokens.scss +142 -0
- package/toggle/toggle.scss +4 -1
- package/tooltip/_tooltip-theme.scss +13 -23
- package/tooltip/tooltip-tokens.scss +63 -0
- package/tooltip/tooltip.scss +5 -0
- package/tree/_tree-theme.scss +14 -21
- package/tree/toggle.scss +5 -0
- package/tree/tree-option.scss +0 -5
- package/tree/tree-selection.scss +5 -0
- package/tree/tree-tokens.scss +94 -0
- package/tree/tree.scss +5 -0
- package/tree-select/_tree-select-theme.scss +9 -16
- package/tree-select/tree-select-tokens.scss +59 -0
- package/tree-select/tree-select.scss +5 -0
|
@@ -4,81 +4,45 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
@mixin kbq-file-upload-theme(
|
|
8
|
-
$file-upload: map.get($theme, components, file-upload);
|
|
9
|
-
|
|
7
|
+
@mixin kbq-file-upload-theme() {
|
|
10
8
|
.kbq-file-upload {
|
|
11
9
|
.kbq-focused,
|
|
12
10
|
.kbq-link.kbq-focused {
|
|
13
|
-
border: 2px solid
|
|
14
|
-
kbq-css-variable(
|
|
15
|
-
file-upload-single-states-focused-focus-outline,
|
|
16
|
-
map.get($file-upload, single, states, focused)
|
|
17
|
-
);
|
|
11
|
+
border: 2px solid kbq-css-variable(file-upload-single-states-focused-focus-outline);
|
|
18
12
|
}
|
|
19
13
|
}
|
|
20
14
|
|
|
21
15
|
.kbq-single-file-upload {
|
|
22
16
|
.kbq-file-upload {
|
|
23
17
|
// FIXME: move to mixin kbq-file-upload-state
|
|
24
|
-
background-color: kbq-css-variable(
|
|
25
|
-
|
|
26
|
-
map.get($file-upload, single, default, background)
|
|
27
|
-
);
|
|
28
|
-
border-color: kbq-css-variable(
|
|
29
|
-
file-upload-single-default-container-border,
|
|
30
|
-
map.get($file-upload, single, default, border)
|
|
31
|
-
) !important;
|
|
18
|
+
background-color: kbq-css-variable(file-upload-single-default-container-background);
|
|
19
|
+
border-color: kbq-css-variable(file-upload-single-default-container-border) !important;
|
|
32
20
|
|
|
33
21
|
&.dragover {
|
|
34
|
-
background-color: kbq-css-variable(
|
|
35
|
-
|
|
36
|
-
map.get($file-upload, single, states, on-drag, background)
|
|
37
|
-
);
|
|
38
|
-
border-color: kbq-css-variable(
|
|
39
|
-
file-upload-single-states-on-drag-container-border,
|
|
40
|
-
map.get($file-upload, single, states, on-drag, border)
|
|
41
|
-
) !important;
|
|
22
|
+
background-color: kbq-css-variable(file-upload-single-states-on-drag-container-background);
|
|
23
|
+
border-color: kbq-css-variable(file-upload-single-states-on-drag-container-border) !important;
|
|
42
24
|
}
|
|
43
25
|
|
|
44
26
|
&.kbq-error:not(.kbq-disabled) {
|
|
45
27
|
&:not(.dragover) {
|
|
46
|
-
background-color: kbq-css-variable(
|
|
47
|
-
|
|
48
|
-
map.get($file-upload, single, states, error, background)
|
|
49
|
-
);
|
|
50
|
-
border-color: kbq-css-variable(
|
|
51
|
-
file-upload-single-states-error-container-border,
|
|
52
|
-
map.get($file-upload, single, states, error, border)
|
|
53
|
-
) !important;
|
|
28
|
+
background-color: kbq-css-variable(file-upload-single-states-error-container-background);
|
|
29
|
+
border-color: kbq-css-variable(file-upload-single-states-error-container-border) !important;
|
|
54
30
|
}
|
|
55
31
|
|
|
56
32
|
*,
|
|
57
33
|
.kbq-icon {
|
|
58
|
-
color: kbq-css-variable(
|
|
59
|
-
file-upload-single-states-error-text-block-color,
|
|
60
|
-
map.get($file-upload, single, states, error, text-block)
|
|
61
|
-
);
|
|
34
|
+
color: kbq-css-variable(file-upload-single-states-error-text-block-color);
|
|
62
35
|
}
|
|
63
36
|
}
|
|
64
37
|
|
|
65
38
|
&.kbq-disabled {
|
|
66
|
-
background-color: kbq-css-variable(
|
|
67
|
-
|
|
68
|
-
map.get($file-upload, single, states, disabled, background)
|
|
69
|
-
);
|
|
70
|
-
border-color: kbq-css-variable(
|
|
71
|
-
file-upload-single-states-disabled-container-border,
|
|
72
|
-
map.get($file-upload, single, states, disabled, border)
|
|
73
|
-
) !important;
|
|
39
|
+
background-color: kbq-css-variable(file-upload-single-states-disabled-container-background);
|
|
40
|
+
border-color: kbq-css-variable(file-upload-single-states-disabled-container-border) !important;
|
|
74
41
|
|
|
75
42
|
&,
|
|
76
43
|
.kbq-icon,
|
|
77
44
|
.kbq-link {
|
|
78
|
-
color: kbq-css-variable(
|
|
79
|
-
file-upload-single-states-disabled-container-border,
|
|
80
|
-
map.get($file-upload, single, states, disabled, border)
|
|
81
|
-
);
|
|
45
|
+
color: kbq-css-variable(file-upload-single-states-disabled-container-border);
|
|
82
46
|
}
|
|
83
47
|
}
|
|
84
48
|
}
|
|
@@ -86,85 +50,47 @@
|
|
|
86
50
|
|
|
87
51
|
.kbq-multiple-file-upload {
|
|
88
52
|
.kbq-file-upload {
|
|
89
|
-
background-color: kbq-css-variable(
|
|
90
|
-
|
|
91
|
-
map.get($file-upload, multiple, default, background)
|
|
92
|
-
);
|
|
93
|
-
border-color: kbq-css-variable(
|
|
94
|
-
file-upload-multiple-default-container-border,
|
|
95
|
-
map.get($file-upload, multiple, default, border)
|
|
96
|
-
) !important;
|
|
53
|
+
background-color: kbq-css-variable(file-upload-multiple-default-container-background);
|
|
54
|
+
border-color: kbq-css-variable(file-upload-multiple-default-container-border) !important;
|
|
97
55
|
|
|
98
56
|
.btn-upload {
|
|
99
|
-
border-top-color: kbq-css-variable(
|
|
100
|
-
file-upload-multiple-default-container-border,
|
|
101
|
-
map.get($file-upload, multiple, default, border)
|
|
102
|
-
);
|
|
57
|
+
border-top-color: kbq-css-variable(file-upload-multiple-default-container-border);
|
|
103
58
|
}
|
|
104
59
|
|
|
105
60
|
.kbq-file-multiple-uploaded__header {
|
|
106
|
-
border-bottom-color: kbq-css-variable(
|
|
107
|
-
file-upload-multiple-default-grid-divider-color,
|
|
108
|
-
map.get($file-upload, multiple, default, grid-divider)
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
.kbq-file-multiple-uploaded__header-inner {
|
|
112
|
-
//color: map.get(map.get($multiple, default), border);
|
|
113
|
-
}
|
|
61
|
+
border-bottom-color: kbq-css-variable(file-upload-multiple-default-grid-divider-color);
|
|
114
62
|
}
|
|
115
63
|
|
|
116
64
|
&.dragover {
|
|
117
|
-
background-color: kbq-css-variable(
|
|
118
|
-
|
|
119
|
-
map.get($file-upload, multiple, states, on-drag, background)
|
|
120
|
-
);
|
|
121
|
-
border-color: kbq-css-variable(
|
|
122
|
-
file-upload-multiple-states-on-drag-container-border,
|
|
123
|
-
map.get($file-upload, multiple, states, on-drag, border)
|
|
124
|
-
) !important;
|
|
65
|
+
background-color: kbq-css-variable(file-upload-multiple-states-on-drag-container-background);
|
|
66
|
+
border-color: kbq-css-variable(file-upload-multiple-states-on-drag-container-border) !important;
|
|
125
67
|
|
|
126
68
|
.kbq-file-multiple-uploaded__header {
|
|
127
69
|
border-bottom-color: kbq-css-variable(
|
|
128
|
-
file-upload-multiple-states-on-drag-container-background
|
|
129
|
-
map.get($file-upload, multiple, states, on-drag, background)
|
|
70
|
+
file-upload-multiple-states-on-drag-container-background
|
|
130
71
|
) !important;
|
|
131
72
|
}
|
|
132
73
|
|
|
133
74
|
&.selected {
|
|
134
75
|
.dropzone {
|
|
135
|
-
border-top-color: kbq-css-variable(
|
|
136
|
-
file-upload-multiple-states-on-drag-container-border,
|
|
137
|
-
map.get($file-upload, multiple, states, on-drag, border)
|
|
138
|
-
);
|
|
76
|
+
border-top-color: kbq-css-variable(file-upload-multiple-states-on-drag-container-border);
|
|
139
77
|
}
|
|
140
78
|
}
|
|
141
79
|
}
|
|
142
80
|
|
|
143
81
|
&.kbq-disabled {
|
|
144
|
-
background-color: kbq-css-variable(
|
|
145
|
-
|
|
146
|
-
map.get($file-upload, multiple, states, disabled, background)
|
|
147
|
-
);
|
|
148
|
-
border-color: kbq-css-variable(
|
|
149
|
-
file-upload-multiple-states-disabled-container-border,
|
|
150
|
-
map.get($file-upload, multiple, states, disabled, border)
|
|
151
|
-
) !important;
|
|
82
|
+
background-color: kbq-css-variable(file-upload-multiple-states-disabled-container-background);
|
|
83
|
+
border-color: kbq-css-variable(file-upload-multiple-states-disabled-container-border) !important;
|
|
152
84
|
|
|
153
85
|
&,
|
|
154
86
|
.kbq-icon,
|
|
155
87
|
.kbq-link {
|
|
156
|
-
color: kbq-css-variable(
|
|
157
|
-
file-upload-multiple-states-disabled-container-border,
|
|
158
|
-
map.get($file-upload, multiple, states, disabled, border)
|
|
159
|
-
);
|
|
88
|
+
color: kbq-css-variable(file-upload-multiple-states-disabled-container-border);
|
|
160
89
|
}
|
|
161
90
|
|
|
162
91
|
&.selected {
|
|
163
92
|
.dropzone {
|
|
164
|
-
border-top-color: kbq-css-variable(
|
|
165
|
-
file-upload-multiple-states-disabled-container-border,
|
|
166
|
-
map.get($file-upload, multiple, states, disabled, border)
|
|
167
|
-
);
|
|
93
|
+
border-top-color: kbq-css-variable(file-upload-multiple-states-disabled-container-border);
|
|
168
94
|
}
|
|
169
95
|
}
|
|
170
96
|
}
|
|
@@ -173,27 +99,18 @@
|
|
|
173
99
|
.kbq-file-upload__row.error {
|
|
174
100
|
*,
|
|
175
101
|
.kbq-icon {
|
|
176
|
-
color: kbq-css-variable(
|
|
177
|
-
file-upload-multiple-states-error-text-block-color,
|
|
178
|
-
map.get($file-upload, multiple, states, error, text-block)
|
|
179
|
-
);
|
|
102
|
+
color: kbq-css-variable(file-upload-multiple-states-error-text-block-color);
|
|
180
103
|
}
|
|
181
104
|
}
|
|
182
105
|
}
|
|
183
106
|
|
|
184
107
|
.multiple__uploaded-item {
|
|
185
108
|
& .kbq-file-upload__file .kbq-icon {
|
|
186
|
-
color: kbq-css-variable(
|
|
187
|
-
file-upload-multiple-default-left-icon-color,
|
|
188
|
-
map.get($file-upload, multiple, default, left-icon)
|
|
189
|
-
);
|
|
109
|
+
color: kbq-css-variable(file-upload-multiple-default-left-icon-color);
|
|
190
110
|
}
|
|
191
111
|
|
|
192
112
|
& .kbq-file-upload__action .kbq-icon {
|
|
193
|
-
color: kbq-css-variable(
|
|
194
|
-
file-upload-multiple-default-icon-button-color,
|
|
195
|
-
map.get($file-upload, multiple, default, icon-button)
|
|
196
|
-
);
|
|
113
|
+
color: kbq-css-variable(file-upload-multiple-default-icon-button-color);
|
|
197
114
|
}
|
|
198
115
|
}
|
|
199
116
|
}
|
|
@@ -202,12 +119,12 @@
|
|
|
202
119
|
.kbq-single-file-upload,
|
|
203
120
|
.kbq-multiple-file-upload {
|
|
204
121
|
.kbq-file-upload__hint:not(.kbq-error) {
|
|
205
|
-
color: kbq-css-variable(form-field-hint-text
|
|
122
|
+
color: kbq-css-variable(form-field-hint-text);
|
|
206
123
|
}
|
|
207
124
|
}
|
|
208
125
|
}
|
|
209
126
|
|
|
210
|
-
@mixin kbq-file-upload-typography(
|
|
127
|
+
@mixin kbq-file-upload-typography() {
|
|
211
128
|
.kbq-single-file-upload {
|
|
212
129
|
& .file-item__text-wrapper,
|
|
213
130
|
& .dropzone__text {
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
.kbq-file-upload {
|
|
2
|
+
--kbq-file-upload-size-single-container-border-radius: 8px;
|
|
3
|
+
--kbq-file-upload-size-single-container-border-width: 1px;
|
|
4
|
+
--kbq-file-upload-size-single-container-content-gap-horizontal: 8px;
|
|
5
|
+
--kbq-file-upload-size-single-container-padding-vertical: 12px;
|
|
6
|
+
--kbq-file-upload-size-single-container-padding-horizontal: 12px;
|
|
7
|
+
--kbq-file-upload-size-single-text-block-padding-vertical: 2px;
|
|
8
|
+
--kbq-file-upload-size-single-text-block-content-gap-horizontal: 4px;
|
|
9
|
+
--kbq-file-upload-size-multiple-big-container-min-height: 160px;
|
|
10
|
+
--kbq-file-upload-size-multiple-big-container-min-width: 320px;
|
|
11
|
+
--kbq-file-upload-size-multiple-big-container-border-radius: 8px;
|
|
12
|
+
--kbq-file-upload-size-multiple-big-container-border-width: 1px;
|
|
13
|
+
--kbq-file-upload-size-multiple-big-container-content-gap-horizontal: 12px;
|
|
14
|
+
--kbq-file-upload-size-multiple-big-container-padding-vertical: 24px;
|
|
15
|
+
--kbq-file-upload-size-multiple-big-container-padding-horizontal: 24px;
|
|
16
|
+
--kbq-file-upload-size-multiple-big-text-block-content-gap-vertical: 0px;
|
|
17
|
+
--kbq-file-upload-size-multiple-big-text-block-content-gap-horizontal: 4px;
|
|
18
|
+
--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal: 8px;
|
|
19
|
+
--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical: 8px;
|
|
20
|
+
--kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal: 4px;
|
|
21
|
+
--kbq-file-upload-font-single-text-block-font-size: 14px;
|
|
22
|
+
--kbq-file-upload-font-single-text-block-line-height: 20px;
|
|
23
|
+
--kbq-file-upload-font-single-text-block-letter-spacing: -0.006em;
|
|
24
|
+
--kbq-file-upload-font-single-text-block-font-weight: normal;
|
|
25
|
+
--kbq-file-upload-font-single-text-block-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
26
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
27
|
+
--kbq-file-upload-font-single-text-block-text-transform: null;
|
|
28
|
+
--kbq-file-upload-font-single-text-block-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
29
|
+
--kbq-file-upload-font-multiple-title-font-size: 18px;
|
|
30
|
+
--kbq-file-upload-font-multiple-title-line-height: 26px;
|
|
31
|
+
--kbq-file-upload-font-multiple-title-letter-spacing: normal;
|
|
32
|
+
--kbq-file-upload-font-multiple-title-font-weight: 600;
|
|
33
|
+
--kbq-file-upload-font-multiple-title-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont,
|
|
34
|
+
'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
|
|
35
|
+
--kbq-file-upload-font-multiple-title-text-transform: null;
|
|
36
|
+
--kbq-file-upload-font-multiple-title-font-feature-settings: 'calt', 'kern', 'liga';
|
|
37
|
+
--kbq-file-upload-font-multiple-text-block-font-size: 14px;
|
|
38
|
+
--kbq-file-upload-font-multiple-text-block-line-height: 20px;
|
|
39
|
+
--kbq-file-upload-font-multiple-text-block-letter-spacing: -0.006em;
|
|
40
|
+
--kbq-file-upload-font-multiple-text-block-font-weight: normal;
|
|
41
|
+
--kbq-file-upload-font-multiple-text-block-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
42
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
43
|
+
--kbq-file-upload-font-multiple-text-block-text-transform: null;
|
|
44
|
+
--kbq-file-upload-font-multiple-text-block-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
45
|
+
--kbq-file-upload-font-multiple-grid-font-size: 14px;
|
|
46
|
+
--kbq-file-upload-font-multiple-grid-line-height: 20px;
|
|
47
|
+
--kbq-file-upload-font-multiple-grid-letter-spacing: -0.006em;
|
|
48
|
+
--kbq-file-upload-font-multiple-grid-font-weight: normal;
|
|
49
|
+
--kbq-file-upload-font-multiple-grid-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
50
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
51
|
+
--kbq-file-upload-font-multiple-grid-text-transform: null;
|
|
52
|
+
--kbq-file-upload-font-multiple-grid-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
53
|
+
--kbq-form-field-hint-font-text-font-size: 12px;
|
|
54
|
+
--kbq-form-field-hint-font-text-line-height: 16px;
|
|
55
|
+
--kbq-form-field-hint-font-text-letter-spacing: normal;
|
|
56
|
+
--kbq-form-field-hint-font-text-font-weight: normal;
|
|
57
|
+
--kbq-form-field-hint-font-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
|
|
58
|
+
Arial, sans-serif;
|
|
59
|
+
--kbq-form-field-hint-font-text-text-transform: null;
|
|
60
|
+
--kbq-form-field-hint-font-text-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
64
|
+
--kbq-file-upload-single-default-container-border: hsla(229, 15%, 80%, 100%);
|
|
65
|
+
--kbq-file-upload-single-default-container-background: hsla(0, 0%, 100%, 100%);
|
|
66
|
+
--kbq-file-upload-single-default-upload-icon-color: hsla(229, 15%, 60%, 100%);
|
|
67
|
+
--kbq-file-upload-single-default-left-icon-color: hsla(229, 15%, 60%, 100%);
|
|
68
|
+
--kbq-file-upload-single-default-text-block-color: hsla(229, 15%, 15%, 100%);
|
|
69
|
+
--kbq-file-upload-single-default-icon-button-color: hsla(229, 15%, 15%, 100%);
|
|
70
|
+
--kbq-file-upload-single-states-on-drag-container-border: hsla(216, 100%, 65%, 100%);
|
|
71
|
+
--kbq-file-upload-single-states-on-drag-container-background: hsla(216, 100%, 85%, 100%);
|
|
72
|
+
--kbq-file-upload-single-states-on-drag-upload-icon-color: hsla(229, 15%, 60%, 100%);
|
|
73
|
+
--kbq-file-upload-single-states-on-drag-left-icon-color: hsla(229, 15%, 60%, 100%);
|
|
74
|
+
--kbq-file-upload-single-states-on-drag-text-block-color: hsla(229, 15%, 15%, 100%);
|
|
75
|
+
--kbq-file-upload-single-states-error-container-border: hsla(7, 97%, 45%, 100%);
|
|
76
|
+
--kbq-file-upload-single-states-error-container-background: hsla(7, 97%, 99%, 100%);
|
|
77
|
+
--kbq-file-upload-single-states-error-left-icon-color: hsla(7, 97%, 45%, 100%);
|
|
78
|
+
--kbq-file-upload-single-states-error-text-block-color: hsla(7, 97%, 40%, 100%);
|
|
79
|
+
--kbq-file-upload-single-states-disabled-container-border: hsla(229, 15%, 50%, 32%);
|
|
80
|
+
--kbq-file-upload-single-states-disabled-container-background: hsla(229, 15%, 50%, 16%);
|
|
81
|
+
--kbq-file-upload-single-states-disabled-upload-icon-color: hsla(229, 15%, 15%, 32%);
|
|
82
|
+
--kbq-file-upload-single-states-disabled-left-icon-color: hsla(229, 15%, 15%, 32%);
|
|
83
|
+
--kbq-file-upload-single-states-disabled-text-block-color: hsla(229, 15%, 15%, 32%);
|
|
84
|
+
--kbq-file-upload-single-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
85
|
+
--kbq-file-upload-multiple-default-container-border: hsla(229, 15%, 80%, 100%);
|
|
86
|
+
--kbq-file-upload-multiple-default-container-background: hsla(0, 0%, 100%, 100%);
|
|
87
|
+
--kbq-file-upload-multiple-default-upload-icon-color: hsla(229, 15%, 60%, 100%);
|
|
88
|
+
--kbq-file-upload-multiple-default-left-icon-color: hsla(229, 15%, 60%, 100%);
|
|
89
|
+
--kbq-file-upload-multiple-default-text-block-color: hsla(229, 15%, 15%, 100%);
|
|
90
|
+
--kbq-file-upload-multiple-default-icon-button-color: hsla(229, 15%, 15%, 100%);
|
|
91
|
+
--kbq-file-upload-multiple-default-grid-divider-color: hsla(229, 15%, 6%, 12%);
|
|
92
|
+
--kbq-file-upload-multiple-states-on-drag-container-border: hsla(216, 100%, 65%, 100%);
|
|
93
|
+
--kbq-file-upload-multiple-states-on-drag-container-background: hsla(216, 100%, 85%, 100%);
|
|
94
|
+
--kbq-file-upload-multiple-states-on-drag-upload-icon-color: hsla(229, 15%, 60%, 100%);
|
|
95
|
+
--kbq-file-upload-multiple-states-on-drag-left-icon-color: hsla(229, 15%, 60%, 100%);
|
|
96
|
+
--kbq-file-upload-multiple-states-on-drag-icon-button-color: hsla(229, 15%, 15%, 100%);
|
|
97
|
+
--kbq-file-upload-multiple-states-on-drag-text-block-color: hsla(229, 15%, 15%, 100%);
|
|
98
|
+
--kbq-file-upload-multiple-states-on-drag-grid-divider-color: hsla(216, 100%, 65%, 100%);
|
|
99
|
+
--kbq-file-upload-multiple-states-error-grid-cell-background: hsla(7, 97%, 99%, 100%);
|
|
100
|
+
--kbq-file-upload-multiple-states-error-left-icon-color: hsla(7, 97%, 45%, 100%);
|
|
101
|
+
--kbq-file-upload-multiple-states-error-text-block-color: hsla(7, 97%, 40%, 100%);
|
|
102
|
+
--kbq-file-upload-multiple-states-error-icon-button-color: hsla(7, 97%, 45%, 100%);
|
|
103
|
+
--kbq-file-upload-multiple-states-disabled-container-border: hsla(229, 15%, 50%, 32%);
|
|
104
|
+
--kbq-file-upload-multiple-states-disabled-container-background: hsla(229, 15%, 50%, 16%);
|
|
105
|
+
--kbq-file-upload-multiple-states-disabled-upload-icon-color: hsla(229, 15%, 15%, 32%);
|
|
106
|
+
--kbq-file-upload-multiple-states-disabled-left-icon-color: hsla(229, 15%, 15%, 32%);
|
|
107
|
+
--kbq-file-upload-multiple-states-disabled-text-block-color: hsla(229, 15%, 15%, 32%);
|
|
108
|
+
--kbq-file-upload-multiple-states-disabled-grid-divider-color: hsla(229, 15%, 50%, 32%);
|
|
109
|
+
--kbq-form-field-hint-text: hsla(229, 15%, 50%, 100%);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
113
|
+
--kbq-file-upload-single-default-container-border: hsla(229, 15%, 30%, 100%);
|
|
114
|
+
--kbq-file-upload-single-default-container-background: hsla(229, 15%, 12%, 100%);
|
|
115
|
+
--kbq-file-upload-single-default-upload-icon-color: hsla(229, 15%, 45%, 100%);
|
|
116
|
+
--kbq-file-upload-single-default-left-icon-color: hsla(229, 15%, 45%, 100%);
|
|
117
|
+
--kbq-file-upload-single-default-text-block-color: hsla(229, 15%, 80%, 100%);
|
|
118
|
+
--kbq-file-upload-single-default-icon-button-color: hsla(229, 15%, 80%, 100%);
|
|
119
|
+
--kbq-file-upload-single-states-on-drag-container-border: hsla(216, 100%, 30%, 100%);
|
|
120
|
+
--kbq-file-upload-single-states-on-drag-container-background: hsla(216, 100%, 20%, 100%);
|
|
121
|
+
--kbq-file-upload-single-states-on-drag-upload-icon-color: hsla(229, 15%, 45%, 100%);
|
|
122
|
+
--kbq-file-upload-single-states-on-drag-left-icon-color: hsla(229, 15%, 45%, 100%);
|
|
123
|
+
--kbq-file-upload-single-states-on-drag-text-block-color: hsla(229, 15%, 80%, 100%);
|
|
124
|
+
--kbq-file-upload-single-states-error-container-border: hsla(7, 97%, 35%, 100%);
|
|
125
|
+
--kbq-file-upload-single-states-error-container-background: hsla(7, 97%, 6%, 100%);
|
|
126
|
+
--kbq-file-upload-single-states-error-left-icon-color: hsla(7, 97%, 60%, 100%);
|
|
127
|
+
--kbq-file-upload-single-states-error-text-block-color: hsla(7, 97%, 60%, 100%);
|
|
128
|
+
--kbq-file-upload-single-states-disabled-container-border: hsla(229, 15%, 50%, 32%);
|
|
129
|
+
--kbq-file-upload-single-states-disabled-container-background: hsla(229, 15%, 50%, 16%);
|
|
130
|
+
--kbq-file-upload-single-states-disabled-upload-icon-color: hsla(229, 15%, 30%, 100%);
|
|
131
|
+
--kbq-file-upload-single-states-disabled-left-icon-color: hsla(229, 15%, 30%, 100%);
|
|
132
|
+
--kbq-file-upload-single-states-disabled-text-block-color: hsla(229, 15%, 40%, 100%);
|
|
133
|
+
--kbq-file-upload-single-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
134
|
+
--kbq-file-upload-multiple-default-container-border: hsla(229, 15%, 30%, 100%);
|
|
135
|
+
--kbq-file-upload-multiple-default-container-background: hsla(229, 15%, 12%, 100%);
|
|
136
|
+
--kbq-file-upload-multiple-default-upload-icon-color: hsla(229, 15%, 45%, 100%);
|
|
137
|
+
--kbq-file-upload-multiple-default-left-icon-color: hsla(229, 15%, 45%, 100%);
|
|
138
|
+
--kbq-file-upload-multiple-default-text-block-color: hsla(229, 15%, 80%, 100%);
|
|
139
|
+
--kbq-file-upload-multiple-default-icon-button-color: hsla(229, 15%, 80%, 100%);
|
|
140
|
+
--kbq-file-upload-multiple-default-grid-divider-color: hsla(229, 15%, 22%, 100%);
|
|
141
|
+
--kbq-file-upload-multiple-states-on-drag-container-border: hsla(216, 100%, 30%, 100%);
|
|
142
|
+
--kbq-file-upload-multiple-states-on-drag-container-background: hsla(216, 100%, 20%, 100%);
|
|
143
|
+
--kbq-file-upload-multiple-states-on-drag-upload-icon-color: hsla(229, 15%, 45%, 100%);
|
|
144
|
+
--kbq-file-upload-multiple-states-on-drag-left-icon-color: hsla(229, 15%, 45%, 100%);
|
|
145
|
+
--kbq-file-upload-multiple-states-on-drag-icon-button-color: hsla(229, 15%, 80%, 100%);
|
|
146
|
+
--kbq-file-upload-multiple-states-on-drag-text-block-color: hsla(229, 15%, 80%, 100%);
|
|
147
|
+
--kbq-file-upload-multiple-states-on-drag-grid-divider-color: hsla(216, 100%, 30%, 100%);
|
|
148
|
+
--kbq-file-upload-multiple-states-error-grid-cell-background: hsla(7, 97%, 6%, 100%);
|
|
149
|
+
--kbq-file-upload-multiple-states-error-left-icon-color: hsla(7, 97%, 60%, 100%);
|
|
150
|
+
--kbq-file-upload-multiple-states-error-text-block-color: hsla(7, 97%, 60%, 100%);
|
|
151
|
+
--kbq-file-upload-multiple-states-error-icon-button-color: hsla(7, 97%, 60%, 100%);
|
|
152
|
+
--kbq-file-upload-multiple-states-disabled-container-border: hsla(229, 15%, 50%, 32%);
|
|
153
|
+
--kbq-file-upload-multiple-states-disabled-container-background: hsla(229, 15%, 50%, 16%);
|
|
154
|
+
--kbq-file-upload-multiple-states-disabled-upload-icon-color: hsla(229, 15%, 30%, 100%);
|
|
155
|
+
--kbq-file-upload-multiple-states-disabled-left-icon-color: hsla(229, 15%, 30%, 100%);
|
|
156
|
+
--kbq-file-upload-multiple-states-disabled-text-block-color: hsla(229, 15%, 40%, 100%);
|
|
157
|
+
--kbq-file-upload-multiple-states-disabled-grid-divider-color: hsla(229, 15%, 50%, 32%);
|
|
158
|
+
--kbq-form-field-hint-text: hsla(229, 15%, 60%, 100%);
|
|
159
|
+
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--kbq-form-field-states-autofill-background: hsla(216, 100%, 85%, 100%);
|
|
38
38
|
--kbq-form-field-states-autofill-placeholder: hsla(229, 15%, 60%, 100%);
|
|
39
39
|
--kbq-form-field-states-autofill-text: hsla(229, 15%, 15%, 100%);
|
|
40
|
-
--kbq-form-field-states-disabled-border-color: hsla(229, 15%,
|
|
40
|
+
--kbq-form-field-states-disabled-border-color: hsla(229, 15%, 50%, 32%);
|
|
41
41
|
--kbq-form-field-states-disabled-background: hsla(229, 15%, 50%, 16%);
|
|
42
42
|
--kbq-form-field-states-disabled-placeholder: hsla(229, 15%, 15%, 32%);
|
|
43
43
|
--kbq-form-field-states-disabled-text: hsla(229, 15%, 15%, 32%);
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
11
|
-
// TODO: remove after all settled, should be assigned via css-tokens.css (#DS-2846)
|
|
12
11
|
--kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
|
|
13
12
|
--kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
|
|
14
13
|
--kbq-icon-button-theme-default: hsla(216, 100%, 50%, 100%);
|
package/link/link-tokens.scss
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
--kbq-link-state-active-border-bottom: hsla(216, 100%, 85%, 100%);
|
|
46
46
|
--kbq-link-state-focused-outline: hsla(216, 100%, 60%, 100%);
|
|
47
47
|
--kbq-link-state-disabled-text: hsla(229, 15%, 15%, 32%);
|
|
48
|
-
--kbq-link-state-disabled-border-bottom: hsla(229, 15%,
|
|
48
|
+
--kbq-link-state-disabled-border-bottom: hsla(229, 15%, 50%, 32%);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
package/list/_list-theme.scss
CHANGED
|
@@ -1,63 +1,52 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../core/styles/typography/typography-utils' as *;
|
|
5
1
|
@use '../core/styles/common/tokens' as *;
|
|
6
2
|
|
|
7
|
-
@mixin kbq-list-item($
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
background: kbq-css-variable(list-#{$state-name}-container-background, map.get($state, container-background));
|
|
3
|
+
@mixin kbq-list-item($state-name) {
|
|
4
|
+
background: kbq-css-variable(list-#{$state-name}-container-background);
|
|
11
5
|
|
|
12
6
|
.kbq-list-text {
|
|
13
|
-
color: kbq-css-variable(list-#{$state-name}-text-color
|
|
7
|
+
color: kbq-css-variable(list-#{$state-name}-text-color);
|
|
14
8
|
}
|
|
15
9
|
|
|
16
10
|
.kbq-icon {
|
|
17
|
-
color: kbq-css-variable(list-#{$state-name}-icon-color
|
|
11
|
+
color: kbq-css-variable(list-#{$state-name}-icon-color);
|
|
18
12
|
}
|
|
19
13
|
|
|
20
14
|
.kbq-option-action .kbq-icon {
|
|
21
|
-
color: kbq-css-variable(list-#{$state-name}-icon-button-color
|
|
15
|
+
color: kbq-css-variable(list-#{$state-name}-icon-button-color);
|
|
22
16
|
}
|
|
23
17
|
|
|
24
18
|
.kbq-list-option-caption {
|
|
25
|
-
color: kbq-css-variable(list-#{$state-name}-caption-color
|
|
19
|
+
color: kbq-css-variable(list-#{$state-name}-caption-color);
|
|
26
20
|
}
|
|
27
21
|
}
|
|
28
22
|
|
|
29
|
-
@mixin kbq-list-theme(
|
|
30
|
-
$list-item: map.get($theme, components, list-item);
|
|
31
|
-
|
|
23
|
+
@mixin kbq-list-theme() {
|
|
32
24
|
.kbq-list-option {
|
|
33
|
-
@include kbq-list-item(
|
|
25
|
+
@include kbq-list-item(default);
|
|
34
26
|
|
|
35
27
|
&:hover:not(.kbq-disabled) {
|
|
36
|
-
@include kbq-list-item(
|
|
28
|
+
@include kbq-list-item(states-hover);
|
|
37
29
|
}
|
|
38
30
|
|
|
39
31
|
&.kbq-focused {
|
|
40
|
-
border-color: kbq-css-variable(
|
|
41
|
-
list-states-focused-focus-outline-color,
|
|
42
|
-
map.get($list-item, states-focused, focus-outline)
|
|
43
|
-
);
|
|
32
|
+
border-color: kbq-css-variable(list-states-focused-focus-outline-color);
|
|
44
33
|
}
|
|
45
34
|
|
|
46
35
|
&.kbq-selected {
|
|
47
|
-
@include kbq-list-item(
|
|
36
|
+
@include kbq-list-item(states-selected);
|
|
48
37
|
|
|
49
38
|
&:hover:not(.kbq-disabled) {
|
|
50
|
-
@include kbq-list-item(
|
|
39
|
+
@include kbq-list-item(states-selected-hover);
|
|
51
40
|
}
|
|
52
41
|
}
|
|
53
42
|
|
|
54
43
|
&.kbq-disabled {
|
|
55
|
-
@include kbq-list-item(
|
|
44
|
+
@include kbq-list-item(states-disabled);
|
|
56
45
|
}
|
|
57
46
|
}
|
|
58
47
|
}
|
|
59
48
|
|
|
60
|
-
@mixin kbq-list-typography(
|
|
49
|
+
@mixin kbq-list-typography() {
|
|
61
50
|
.kbq-list-item,
|
|
62
51
|
.kbq-list-option {
|
|
63
52
|
@include kbq-typography-css-variables(list, text);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
.kbq-list,
|
|
2
|
+
.kbq-list-selection {
|
|
3
|
+
--kbq-list-size-container-padding-left: 12px;
|
|
4
|
+
--kbq-list-size-container-padding-right: 12px;
|
|
5
|
+
--kbq-list-size-container-padding-vertical: 6px;
|
|
6
|
+
--kbq-list-size-container-content-gap-horizontal: 8px;
|
|
7
|
+
--kbq-list-size-container-content-gap-vertical: 2px;
|
|
8
|
+
--kbq-list-size-container-focus-outline-width: 2px;
|
|
9
|
+
--kbq-list-size-text-padding-vertical: 0;
|
|
10
|
+
--kbq-list-size-header-padding-top: 8px;
|
|
11
|
+
--kbq-list-size-header-padding-bottom: 4px;
|
|
12
|
+
--kbq-list-size-header-padding-horizontal: 12px;
|
|
13
|
+
--kbq-list-size-subheading-padding-top: 12px;
|
|
14
|
+
--kbq-list-size-subheading-padding-bottom: 4px;
|
|
15
|
+
--kbq-list-size-subheading-padding-horizontal: 12px;
|
|
16
|
+
--kbq-list-font-text-font-size: 14px;
|
|
17
|
+
--kbq-list-font-text-line-height: 20px;
|
|
18
|
+
--kbq-list-font-text-letter-spacing: -0.006em;
|
|
19
|
+
--kbq-list-font-text-font-weight: normal;
|
|
20
|
+
--kbq-list-font-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
21
|
+
sans-serif;
|
|
22
|
+
--kbq-list-font-text-text-transform: null;
|
|
23
|
+
--kbq-list-font-text-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
24
|
+
--kbq-list-font-caption-font-size: 12px;
|
|
25
|
+
--kbq-list-font-caption-line-height: 16px;
|
|
26
|
+
--kbq-list-font-caption-letter-spacing: normal;
|
|
27
|
+
--kbq-list-font-caption-font-weight: normal;
|
|
28
|
+
--kbq-list-font-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
29
|
+
sans-serif;
|
|
30
|
+
--kbq-list-font-caption-text-transform: null;
|
|
31
|
+
--kbq-list-font-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
32
|
+
--kbq-list-font-header-font-size: 16px;
|
|
33
|
+
--kbq-list-font-header-line-height: 24px;
|
|
34
|
+
--kbq-list-font-header-letter-spacing: -0.011em;
|
|
35
|
+
--kbq-list-font-header-font-weight: 600;
|
|
36
|
+
--kbq-list-font-header-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
37
|
+
sans-serif;
|
|
38
|
+
--kbq-list-font-header-text-transform: null;
|
|
39
|
+
--kbq-list-font-header-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
40
|
+
--kbq-list-font-subheading-font-size: 12px;
|
|
41
|
+
--kbq-list-font-subheading-line-height: 16px;
|
|
42
|
+
--kbq-list-font-subheading-letter-spacing: 1px;
|
|
43
|
+
--kbq-list-font-subheading-font-weight: 500;
|
|
44
|
+
--kbq-list-font-subheading-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
|
|
45
|
+
Arial, sans-serif;
|
|
46
|
+
--kbq-list-font-subheading-text-transform: uppercase;
|
|
47
|
+
--kbq-list-font-subheading-font-feature-settings: 'calt', 'case', 'kern', 'liga', 'ss01', 'ss04';
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
51
|
+
--kbq-list-default-container-background: transparent;
|
|
52
|
+
--kbq-list-default-text-color: hsla(229, 15%, 15%, 100%);
|
|
53
|
+
--kbq-list-default-icon-color: hsla(229, 15%, 15%, 100%);
|
|
54
|
+
--kbq-list-default-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
55
|
+
--kbq-list-default-caption-color: hsla(229, 15%, 50%, 100%);
|
|
56
|
+
--kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 8%);
|
|
57
|
+
--kbq-list-states-hover-text-color: hsla(229, 15%, 15%, 100%);
|
|
58
|
+
--kbq-list-states-hover-icon-color: hsla(229, 15%, 15%, 100%);
|
|
59
|
+
--kbq-list-states-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
60
|
+
--kbq-list-states-selected-container-background: hsla(216, 100%, 94%, 100%);
|
|
61
|
+
--kbq-list-states-selected-text-color: hsla(229, 15%, 15%, 100%);
|
|
62
|
+
--kbq-list-states-selected-icon-color: hsla(229, 15%, 15%, 100%);
|
|
63
|
+
--kbq-list-states-selected-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
64
|
+
--kbq-list-states-selected-hover-container-background: hsla(216, 100%, 90%, 100%);
|
|
65
|
+
--kbq-list-states-selected-hover-text-color: hsla(229, 15%, 15%, 100%);
|
|
66
|
+
--kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 15%, 100%);
|
|
67
|
+
--kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
68
|
+
--kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
69
|
+
--kbq-list-states-disabled-container-background: transparent;
|
|
70
|
+
--kbq-list-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
71
|
+
--kbq-list-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
72
|
+
--kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 15%, 32%);
|
|
73
|
+
--kbq-list-states-disabled-caption-color: hsla(229, 15%, 15%, 32%);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
77
|
+
--kbq-list-default-container-background: transparent;
|
|
78
|
+
--kbq-list-default-text-color: hsla(229, 15%, 80%, 100%);
|
|
79
|
+
--kbq-list-default-icon-color: hsla(229, 15%, 80%, 100%);
|
|
80
|
+
--kbq-list-default-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
81
|
+
--kbq-list-default-caption-color: hsla(229, 15%, 60%, 100%);
|
|
82
|
+
--kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 16%);
|
|
83
|
+
--kbq-list-states-hover-text-color: hsla(229, 15%, 80%, 100%);
|
|
84
|
+
--kbq-list-states-hover-icon-color: hsla(229, 15%, 80%, 100%);
|
|
85
|
+
--kbq-list-states-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
86
|
+
--kbq-list-states-selected-container-background: hsla(216, 100%, 18%, 100%);
|
|
87
|
+
--kbq-list-states-selected-text-color: hsla(229, 15%, 80%, 100%);
|
|
88
|
+
--kbq-list-states-selected-icon-color: hsla(229, 15%, 80%, 100%);
|
|
89
|
+
--kbq-list-states-selected-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
90
|
+
--kbq-list-states-selected-hover-container-background: hsla(216, 100%, 15%, 100%);
|
|
91
|
+
--kbq-list-states-selected-hover-text-color: hsla(229, 15%, 80%, 100%);
|
|
92
|
+
--kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 80%, 100%);
|
|
93
|
+
--kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
94
|
+
--kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
95
|
+
--kbq-list-states-disabled-container-background: transparent;
|
|
96
|
+
--kbq-list-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
97
|
+
--kbq-list-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
98
|
+
--kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 30%, 100%);
|
|
99
|
+
--kbq-list-states-disabled-caption-color: hsla(229, 15%, 40%, 100%);
|
|
100
|
+
}
|
package/list/list.scss
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
@use '../core/styles/common/list';
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
+
@use './list-theme' as *;
|
|
8
|
+
|
|
7
9
|
.kbq-list,
|
|
8
10
|
.kbq-list-selection {
|
|
9
11
|
display: block;
|
|
@@ -34,3 +36,6 @@
|
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
39
|
+
|
|
40
|
+
@include kbq-list-theme();
|
|
41
|
+
@include kbq-list-typography();
|