@koobiq/components 17.2.0 → 17.4.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/alert/_alert-theme.scss +3 -3
- package/alert/alert.component.scss +6 -6
- package/autocomplete/_autocomplete-theme.scss +2 -2
- package/badge/_badge-theme.scss +6 -5
- package/button/_button-theme.scss +4 -4
- package/button-toggle/_button-toggle-theme.scss +4 -1
- package/checkbox/_checkbox-theme.scss +35 -17
- package/code-block/_code-block-theme.scss +218 -214
- package/core/forms/_forms.scss +2 -2
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +7 -4
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +5 -5
- package/core/styles/_koobiq-theme.scss +2 -2
- package/core/styles/theming/_components-theming.scss +17 -19
- package/core/styles/theming/_scrollbar-theme.scss +6 -5
- package/core/styles/theming/_theming.scss +1 -0
- package/core/styles/typography/_typography.scss +70 -68
- package/datepicker/_datepicker-theme.scss +14 -11
- package/datepicker/calendar-header.component.d.ts +1 -0
- package/datepicker/datepicker-content.scss +8 -3
- package/datepicker/datepicker-toggle.scss +1 -0
- package/dl/_dl-theme.scss +2 -2
- package/dropdown/_dropdown-theme.scss +4 -4
- package/empty-state/_empty-state-theme.scss +2 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +7 -3
- package/esm2022/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/stepper.mjs +2 -2
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +2 -2
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal.service.mjs +4 -6
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +72 -15
- package/esm2022/popover/popover.module.mjs +6 -4
- package/esm2022/select/select.component.mjs +2 -2
- package/esm2022/tabs/tab-body.component.mjs +3 -3
- package/esm2022/tabs/tab.component.mjs +3 -4
- package/esm2022/toast/toast.component.mjs +3 -3
- package/fesm2022/koobiq-components-core.mjs +2 -2
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +8 -4
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +4 -4
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -2
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.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 +3 -5
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +82 -25
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +1 -1
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +4 -5
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +2 -2
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +31 -27
- package/form-field/_form-field-theme.scss +6 -6
- package/form-field/form-field.scss +2 -2
- package/form-field/stepper.scss +5 -1
- package/icon/_icon-button-theme.scss +45 -26
- package/icon/_icon-item-theme.scss +1 -1
- package/icon/icon-button.scss +4 -4
- package/input/_input-theme.scss +1 -1
- package/link/_link-theme.scss +12 -6
- package/list/_list-theme.scss +8 -5
- package/list/list.scss +1 -0
- package/loader-overlay/_loader-overlay-theme.scss +10 -6
- package/markdown/_markdown-theme.scss +1 -1
- package/markdown/markdown.scss +5 -6
- package/modal/_modal-theme.scss +6 -5
- package/modal/modal-ref.class.d.ts +2 -2
- package/modal/modal.service.d.ts +9 -9
- package/modal/modal.type.d.ts +6 -6
- package/navbar/_navbar-theme.scss +9 -9
- package/package.json +18 -14
- package/popover/_popover-theme.scss +9 -4
- package/popover/popover.component.d.ts +22 -8
- package/popover/popover.module.d.ts +3 -1
- package/popover/popover.scss +32 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +2 -2
- package/progress-spinner/_progress-spinner-theme.scss +3 -3
- package/radio/_radio-theme.scss +15 -19
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/_scrollbar-component-theme.scss +27 -12
- package/select/_select-theme.scss +2 -2
- package/sidepanel/_sidepanel-theme.scss +4 -4
- package/splitter/_splitter-theme.scss +1 -2
- package/splitter/splitter.scss +3 -3
- package/table/_table-theme.scss +2 -2
- package/tabs/_tabs-theme.scss +4 -3
- package/tags/_tag-theme.scss +7 -5
- package/timepicker/timepicker.scss +1 -0
- package/timezone/_timezone-option-theme.scss +3 -3
- package/toast/_toast-theme.scss +1 -1
- package/toast/toast.component.scss +1 -1
- package/toggle/_toggle-theme.scss +1 -1
- package/tooltip/_tooltip-theme.scss +1 -0
- package/tree/_tree-theme.scss +5 -5
- package/tree/toggle.scss +1 -1
- package/tree-select/_tree-select-theme.scss +2 -2
- package/toggle/README.md +0 -0
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
@use '../core/styles/typography/typography-utils' as *;
|
|
6
6
|
@use '../core/styles/common/tokens' as *;
|
|
7
7
|
|
|
8
|
+
@function kbq-code-block-hljs-attr($attr, $hljs) {
|
|
9
|
+
@return kbq-css-variable(code-block-hljs-#{$attr}, map.get($hljs, $attr));
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
@mixin kbq-code-block-style($component, $style-name) {
|
|
9
13
|
$style: map.get($component, $style-name);
|
|
10
14
|
$base: code-block-#{$style-name};
|
|
@@ -13,11 +17,11 @@
|
|
|
13
17
|
|
|
14
18
|
& .kbq-tab-header {
|
|
15
19
|
background: kbq-css-variable(#{$base}-header-background, map.get($style, header, background)) !important;
|
|
16
|
-
border-color: kbq-css-variable(#{$base}-container-border, map.get($style, container, border));
|
|
20
|
+
border-color: kbq-css-variable(#{$base}-container-border-color, map.get($style, container, border));
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
.kbq-tab-body__wrapper {
|
|
20
|
-
border-color: kbq-css-variable(#{$base}-container-border, map.get($style, container, border));
|
|
24
|
+
border-color: kbq-css-variable(#{$base}-container-border-color, map.get($style, container, border));
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
&:not(.kbq-code-block_no-header) {
|
|
@@ -77,274 +81,274 @@
|
|
|
77
81
|
$code-block: map.get(map.get($theme, components), code-block);
|
|
78
82
|
|
|
79
83
|
.kbq-code-block {
|
|
80
|
-
.hljs
|
|
81
|
-
$hljs: map.get($code-block, hljs);
|
|
84
|
+
$hljs: map.get($code-block, hljs);
|
|
82
85
|
|
|
86
|
+
.hljs {
|
|
83
87
|
display: block;
|
|
84
88
|
overflow-x: auto;
|
|
89
|
+
}
|
|
85
90
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
.hljs-addition {
|
|
92
|
+
background-color: kbq-code-block-hljs-attr(addition-background, $hljs);
|
|
93
|
+
color: kbq-code-block-hljs-attr(addition-color, $hljs);
|
|
94
|
+
}
|
|
90
95
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
96
|
+
.hljs-attr {
|
|
97
|
+
background-color: kbq-code-block-hljs-attr(attr-background, $hljs);
|
|
98
|
+
color: kbq-code-block-hljs-attr(attr-color, $hljs);
|
|
99
|
+
}
|
|
95
100
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
.hljs-attribute {
|
|
102
|
+
background-color: kbq-code-block-hljs-attr(attribute-background, $hljs);
|
|
103
|
+
color: kbq-code-block-hljs-attr(attribute-color, $hljs);
|
|
104
|
+
}
|
|
100
105
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
106
|
+
.hljs-built_in {
|
|
107
|
+
background-color: kbq-code-block-hljs-attr(built_in-background, $hljs);
|
|
108
|
+
color: kbq-code-block-hljs-attr(built_in-color, $hljs);
|
|
109
|
+
}
|
|
105
110
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
.hljs-bullet {
|
|
112
|
+
background-color: kbq-code-block-hljs-attr(bullet-background, $hljs);
|
|
113
|
+
color: kbq-code-block-hljs-attr(bullet-color, $hljs);
|
|
114
|
+
}
|
|
110
115
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
116
|
+
.hljs-char-escape {
|
|
117
|
+
background-color: kbq-code-block-hljs-attr(char-escape-background, $hljs);
|
|
118
|
+
color: kbq-code-block-hljs-attr(char-escape-color, $hljs);
|
|
119
|
+
}
|
|
115
120
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
.hljs-class {
|
|
122
|
+
background-color: kbq-code-block-hljs-attr(class-background, $hljs);
|
|
123
|
+
color: kbq-code-block-hljs-attr(class-color, $hljs);
|
|
124
|
+
}
|
|
120
125
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
126
|
+
.hljs-code {
|
|
127
|
+
background-color: kbq-code-block-hljs-attr(code-background, $hljs);
|
|
128
|
+
color: kbq-code-block-hljs-attr(code-color, $hljs);
|
|
129
|
+
}
|
|
125
130
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
131
|
+
.hljs-comment {
|
|
132
|
+
background-color: kbq-code-block-hljs-attr(comment-background, $hljs);
|
|
133
|
+
color: kbq-code-block-hljs-attr(comment-color, $hljs);
|
|
134
|
+
}
|
|
130
135
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
136
|
+
.hljs-deletion {
|
|
137
|
+
background-color: kbq-code-block-hljs-attr(deletion-background, $hljs);
|
|
138
|
+
color: kbq-code-block-hljs-attr(deletion-color, $hljs);
|
|
139
|
+
}
|
|
135
140
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
.hljs-doctag {
|
|
142
|
+
background-color: kbq-code-block-hljs-attr(doctag-background, $hljs);
|
|
143
|
+
color: kbq-code-block-hljs-attr(doctag-color, $hljs);
|
|
144
|
+
}
|
|
140
145
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
146
|
+
.hljs-emphasis {
|
|
147
|
+
background-color: kbq-code-block-hljs-attr(emphasis-background, $hljs);
|
|
148
|
+
color: kbq-code-block-hljs-attr(emphasis-color, $hljs);
|
|
149
|
+
}
|
|
145
150
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
151
|
+
.hljs-formula {
|
|
152
|
+
background-color: kbq-code-block-hljs-attr(formula-background, $hljs);
|
|
153
|
+
color: kbq-code-block-hljs-attr(formula-color, $hljs);
|
|
154
|
+
}
|
|
150
155
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
.hljs-function {
|
|
157
|
+
background-color: kbq-code-block-hljs-attr(function-background, $hljs);
|
|
158
|
+
color: kbq-code-block-hljs-attr(function-color, $hljs);
|
|
159
|
+
}
|
|
155
160
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
161
|
+
.hljs-keyword {
|
|
162
|
+
background-color: kbq-code-block-hljs-attr(keyword-background, $hljs);
|
|
163
|
+
color: kbq-code-block-hljs-attr(keyword-color, $hljs);
|
|
164
|
+
}
|
|
160
165
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
166
|
+
.hljs-link {
|
|
167
|
+
background-color: kbq-code-block-hljs-attr(link-background, $hljs);
|
|
168
|
+
color: kbq-code-block-hljs-attr(link-color, $hljs);
|
|
169
|
+
}
|
|
165
170
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
171
|
+
.hljs-literal {
|
|
172
|
+
background-color: kbq-code-block-hljs-attr(literal-background, $hljs);
|
|
173
|
+
color: kbq-code-block-hljs-attr(literal-color, $hljs);
|
|
174
|
+
}
|
|
170
175
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
176
|
+
.hljs-meta {
|
|
177
|
+
background-color: kbq-code-block-hljs-attr(meta-background, $hljs);
|
|
178
|
+
color: kbq-code-block-hljs-attr(meta-color, $hljs);
|
|
179
|
+
}
|
|
175
180
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
181
|
+
.hljs-meta-keyword {
|
|
182
|
+
background-color: kbq-code-block-hljs-attr(meta-keyword-background, $hljs);
|
|
183
|
+
color: kbq-code-block-hljs-attr(meta-keyword-color, $hljs);
|
|
184
|
+
}
|
|
180
185
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
186
|
+
.hljs-meta-string {
|
|
187
|
+
background-color: kbq-code-block-hljs-attr(meta-string-background, $hljs);
|
|
188
|
+
color: kbq-code-block-hljs-attr(meta-string-color, $hljs);
|
|
189
|
+
}
|
|
185
190
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
191
|
+
.hljs-meta-prompt {
|
|
192
|
+
background-color: kbq-code-block-hljs-attr(meta-prompt-background, $hljs);
|
|
193
|
+
color: kbq-code-block-hljs-attr(meta-prompt-color, $hljs);
|
|
194
|
+
}
|
|
190
195
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
196
|
+
.hljs-name {
|
|
197
|
+
background-color: kbq-code-block-hljs-attr(name-background, $hljs);
|
|
198
|
+
color: kbq-code-block-hljs-attr(name-color, $hljs);
|
|
199
|
+
}
|
|
195
200
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
201
|
+
.hljs-number {
|
|
202
|
+
background-color: kbq-code-block-hljs-attr(number-background, $hljs);
|
|
203
|
+
color: kbq-code-block-hljs-attr(number-color, $hljs);
|
|
204
|
+
}
|
|
200
205
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
206
|
+
.hljs-operator {
|
|
207
|
+
background-color: kbq-code-block-hljs-attr(operator-background, $hljs);
|
|
208
|
+
color: kbq-code-block-hljs-attr(operator-color, $hljs);
|
|
209
|
+
}
|
|
205
210
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
211
|
+
.hljs-params {
|
|
212
|
+
background-color: kbq-code-block-hljs-attr(params-background, $hljs);
|
|
213
|
+
color: kbq-code-block-hljs-attr(params-color, $hljs);
|
|
214
|
+
}
|
|
210
215
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
216
|
+
.hljs-property {
|
|
217
|
+
background-color: kbq-code-block-hljs-attr(property-background, $hljs);
|
|
218
|
+
color: kbq-code-block-hljs-attr(property-color, $hljs);
|
|
219
|
+
}
|
|
215
220
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
221
|
+
.hljs-punctuation {
|
|
222
|
+
background-color: kbq-code-block-hljs-attr(punctuation-background, $hljs);
|
|
223
|
+
color: kbq-code-block-hljs-attr(punctuation-color, $hljs);
|
|
224
|
+
}
|
|
220
225
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
226
|
+
.hljs-quote {
|
|
227
|
+
background-color: kbq-code-block-hljs-attr(quote-background, $hljs);
|
|
228
|
+
color: kbq-code-block-hljs-attr(quote-color, $hljs);
|
|
229
|
+
}
|
|
225
230
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
231
|
+
.hljs-regexp {
|
|
232
|
+
background-color: kbq-code-block-hljs-attr(regexp-background, $hljs);
|
|
233
|
+
color: kbq-code-block-hljs-attr(regexp-color, $hljs);
|
|
234
|
+
}
|
|
230
235
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
236
|
+
.hljs-section {
|
|
237
|
+
background-color: kbq-code-block-hljs-attr(section-background, $hljs);
|
|
238
|
+
color: kbq-code-block-hljs-attr(section-color, $hljs);
|
|
239
|
+
}
|
|
235
240
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
241
|
+
.hljs-selector-attr {
|
|
242
|
+
background-color: kbq-code-block-hljs-attr(selector-attr-background, $hljs);
|
|
243
|
+
color: kbq-code-block-hljs-attr(selector-attr-color, $hljs);
|
|
244
|
+
}
|
|
240
245
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
246
|
+
.hljs-selector-class {
|
|
247
|
+
background-color: kbq-code-block-hljs-attr(selector-class-background, $hljs);
|
|
248
|
+
color: kbq-code-block-hljs-attr(selector-class-color, $hljs);
|
|
249
|
+
}
|
|
245
250
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
251
|
+
.hljs-selector-id {
|
|
252
|
+
background-color: kbq-code-block-hljs-attr(selector-id-background, $hljs);
|
|
253
|
+
color: kbq-code-block-hljs-attr(selector-id-color, $hljs);
|
|
254
|
+
}
|
|
250
255
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
256
|
+
.hljs-selector-pseudo {
|
|
257
|
+
background-color: kbq-code-block-hljs-attr(selector-pseudo-background, $hljs);
|
|
258
|
+
color: kbq-code-block-hljs-attr(selector-pseudo-color, $hljs);
|
|
259
|
+
}
|
|
255
260
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
261
|
+
.hljs-selector-tag {
|
|
262
|
+
background-color: kbq-code-block-hljs-attr(selector-tag-background, $hljs);
|
|
263
|
+
color: kbq-code-block-hljs-attr(selector-tag-color, $hljs);
|
|
264
|
+
}
|
|
260
265
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
266
|
+
.hljs-string {
|
|
267
|
+
background-color: kbq-code-block-hljs-attr(string-background, $hljs);
|
|
268
|
+
color: kbq-code-block-hljs-attr(string-color, $hljs);
|
|
269
|
+
}
|
|
265
270
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
271
|
+
.hljs-strong {
|
|
272
|
+
background-color: kbq-code-block-hljs-attr(strong-background, $hljs);
|
|
273
|
+
color: kbq-code-block-hljs-attr(strong-color, $hljs);
|
|
274
|
+
}
|
|
270
275
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
276
|
+
.hljs-subst {
|
|
277
|
+
background-color: kbq-code-block-hljs-attr(subst-background, $hljs);
|
|
278
|
+
color: kbq-code-block-hljs-attr(subst-color, $hljs);
|
|
279
|
+
}
|
|
275
280
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
281
|
+
.hljs-symbol {
|
|
282
|
+
background-color: kbq-code-block-hljs-attr(symbol-background, $hljs);
|
|
283
|
+
color: kbq-code-block-hljs-attr(symbol-color, $hljs);
|
|
284
|
+
}
|
|
280
285
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
286
|
+
.hljs-tag {
|
|
287
|
+
background-color: kbq-code-block-hljs-attr(tag-background, $hljs);
|
|
288
|
+
color: kbq-code-block-hljs-attr(tag-color, $hljs);
|
|
289
|
+
}
|
|
285
290
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
291
|
+
.hljs-template-tag {
|
|
292
|
+
background-color: kbq-code-block-hljs-attr(template-tag-background, $hljs);
|
|
293
|
+
color: kbq-code-block-hljs-attr(template-tag-color, $hljs);
|
|
294
|
+
}
|
|
290
295
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
296
|
+
.hljs-template-variable {
|
|
297
|
+
background-color: kbq-code-block-hljs-attr(template-variable-background, $hljs);
|
|
298
|
+
color: kbq-code-block-hljs-attr(template-variable-color, $hljs);
|
|
299
|
+
}
|
|
295
300
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
301
|
+
.hljs-title {
|
|
302
|
+
background-color: kbq-code-block-hljs-attr(title-background, $hljs);
|
|
303
|
+
color: kbq-code-block-hljs-attr(title-color, $hljs);
|
|
304
|
+
}
|
|
300
305
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
306
|
+
.hljs-title-class {
|
|
307
|
+
background-color: kbq-code-block-hljs-attr(title-class-background, $hljs);
|
|
308
|
+
color: kbq-code-block-hljs-attr(title-class-color, $hljs);
|
|
309
|
+
}
|
|
305
310
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
311
|
+
.hljs-title-class-inherited {
|
|
312
|
+
background-color: kbq-code-block-hljs-attr(title-class-inherited-background, $hljs);
|
|
313
|
+
color: kbq-code-block-hljs-attr(title-class-inherited-color, $hljs);
|
|
314
|
+
}
|
|
310
315
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
316
|
+
.hljs-title-function {
|
|
317
|
+
background-color: kbq-code-block-hljs-attr(title-function-background, $hljs);
|
|
318
|
+
color: kbq-code-block-hljs-attr(title-function-color, $hljs);
|
|
319
|
+
}
|
|
315
320
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
321
|
+
.hljs-title-function-invoke {
|
|
322
|
+
background-color: kbq-code-block-hljs-attr(title-function-invoke-background, $hljs);
|
|
323
|
+
color: kbq-code-block-hljs-attr(title-function-invoke-color, $hljs);
|
|
324
|
+
}
|
|
320
325
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
326
|
+
.hljs-type {
|
|
327
|
+
background-color: kbq-code-block-hljs-attr(type-background, $hljs);
|
|
328
|
+
color: kbq-code-block-hljs-attr(type-color, $hljs);
|
|
329
|
+
}
|
|
325
330
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
331
|
+
.hljs-variable {
|
|
332
|
+
background-color: kbq-code-block-hljs-attr(variable-background, $hljs);
|
|
333
|
+
color: kbq-code-block-hljs-attr(variable-color, $hljs);
|
|
334
|
+
}
|
|
330
335
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
336
|
+
.hljs-variable-constant {
|
|
337
|
+
background-color: kbq-code-block-hljs-attr(variable-constant-background, $hljs);
|
|
338
|
+
color: kbq-code-block-hljs-attr(variable-constant-color, $hljs);
|
|
339
|
+
}
|
|
335
340
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
341
|
+
.hljs-variable-language {
|
|
342
|
+
background-color: kbq-code-block-hljs-attr(variable-language-background, $hljs);
|
|
343
|
+
color: kbq-code-block-hljs-attr(variable-language-color, $hljs);
|
|
344
|
+
}
|
|
340
345
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
346
|
+
.hljs-ln-n {
|
|
347
|
+
color: kbq-code-block-hljs-attr(line-numbers-color, $hljs);
|
|
348
|
+
}
|
|
344
349
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}
|
|
350
|
+
.hljs-line-numbers {
|
|
351
|
+
color: map.get($code-block, main-code-color);
|
|
348
352
|
}
|
|
349
353
|
|
|
350
354
|
&.kbq-code-block_outline {
|
package/core/forms/_forms.scss
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.kbq-form-horizontal {
|
|
21
|
-
$line-height: map.get($tokens, forms-font-label-line-height);
|
|
22
|
-
$form-field-size-height: map.get($tokens, form-field-size-height);
|
|
21
|
+
$line-height: kbq-css-variable(forms-font-label-line-height, map.get($tokens, forms-font-label-line-height));
|
|
22
|
+
$form-field-size-height: kbq-css-variable(form-field-size-height, map.get($tokens, form-field-size-height));
|
|
23
23
|
|
|
24
24
|
& .kbq-form-row_margin {
|
|
25
25
|
margin-bottom: kbq-css-variable(forms-size-horizontal-row-margin-bottom);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
&:active,
|
|
18
18
|
&.kbq-pressed {
|
|
19
19
|
& .kbq-icon {
|
|
20
|
-
color: kbq-css-variable(states-icon-contrast-fade, map.get($states, icon, contrast-fade));
|
|
20
|
+
color: kbq-css-variable(states-icon-contrast-fade-active, map.get($states, icon, contrast-fade-active));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
background-color: kbq-css-variable(background-transparent, map.get($background, transparent));
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
background: kbq-css-variable(list-#{$style-name}-container-background, map.get($state, container-background));
|
|
11
11
|
|
|
12
12
|
.kbq-option-text {
|
|
13
|
-
color: kbq-css-variable(list-#{$style-name}-text, map.get($state, text));
|
|
13
|
+
color: kbq-css-variable(list-#{$style-name}-text-color, map.get($state, text));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.kbq-option-action .kbq-icon {
|
|
17
|
-
color: kbq-css-variable(list-#{$style-name}-icon-button, map.get($state, icon-button));
|
|
17
|
+
color: kbq-css-variable(list-#{$style-name}-icon-button-color, map.get($state, icon-button));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.kbq-option-caption {
|
|
21
|
-
color: kbq-css-variable(list-#{$style-name}-caption, map.get($state, caption));
|
|
21
|
+
color: kbq-css-variable(list-#{$style-name}-caption-color, map.get($state, caption));
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -34,7 +34,10 @@
|
|
|
34
34
|
|
|
35
35
|
&.kbq-focused,
|
|
36
36
|
&.kbq-active {
|
|
37
|
-
border-color:
|
|
37
|
+
border-color: kbq-css-variable(
|
|
38
|
+
list-states-focused-focus-outline-color,
|
|
39
|
+
map.get($list-item, states-focused, focus-outline)
|
|
40
|
+
);
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
&.kbq-selected {
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
|
|
17
17
|
&.kbq-checked,
|
|
18
18
|
&.kbq-indeterminate {
|
|
19
|
-
border-color: kbq-css-variable(#{$base}-checked-border, map.get($style, checked, border));
|
|
20
|
-
background: kbq-css-variable(#{$base}-checked-background, map.get($style, checked, background));
|
|
19
|
+
border-color: kbq-css-variable(#{$base}-states-checked-border, map.get($style, checked, border));
|
|
20
|
+
background: kbq-css-variable(#{$base}-states-checked-background, map.get($style, checked, background));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&.kbq-disabled {
|
|
24
24
|
& .kbq-checkbox-checkmark,
|
|
25
25
|
& .kbq-checkbox-mixedmark {
|
|
26
|
-
color: kbq-css-variable(#{$base}-disabled-color, map.get($style, disabled, color));
|
|
26
|
+
color: kbq-css-variable(#{$base}-states-disabled-color, map.get($style, disabled, color));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
border-color: kbq-css-variable(#{$base}-disabled-border, map.get($style, disabled, border));
|
|
30
|
-
background: kbq-css-variable(#{$base}-disabled-background, map.get($style, disabled, background));
|
|
29
|
+
border-color: kbq-css-variable(#{$base}-states-disabled-border, map.get($style, disabled, border));
|
|
30
|
+
background: kbq-css-variable(#{$base}-states-disabled-background, map.get($style, disabled, background));
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
$md-config: kbq-markdown-typography-config($tokens);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
@include kbq-base-typography(
|
|
123
|
-
@include kbq-markdown-base-typography(
|
|
122
|
+
@include kbq-base-typography();
|
|
123
|
+
@include kbq-markdown-base-typography();
|
|
124
124
|
|
|
125
125
|
@include kbq-alert-typography($config);
|
|
126
126
|
@include kbq-badge-typography($config);
|