@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.
Files changed (113) hide show
  1. package/alert/_alert-theme.scss +3 -3
  2. package/alert/alert.component.scss +6 -6
  3. package/autocomplete/_autocomplete-theme.scss +2 -2
  4. package/badge/_badge-theme.scss +6 -5
  5. package/button/_button-theme.scss +4 -4
  6. package/button-toggle/_button-toggle-theme.scss +4 -1
  7. package/checkbox/_checkbox-theme.scss +35 -17
  8. package/code-block/_code-block-theme.scss +218 -214
  9. package/core/forms/_forms.scss +2 -2
  10. package/core/option/_option-action-theme.scss +1 -1
  11. package/core/option/_option-theme.scss +7 -4
  12. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +5 -5
  13. package/core/styles/_koobiq-theme.scss +2 -2
  14. package/core/styles/theming/_components-theming.scss +17 -19
  15. package/core/styles/theming/_scrollbar-theme.scss +6 -5
  16. package/core/styles/theming/_theming.scss +1 -0
  17. package/core/styles/typography/_typography.scss +70 -68
  18. package/datepicker/_datepicker-theme.scss +14 -11
  19. package/datepicker/calendar-header.component.d.ts +1 -0
  20. package/datepicker/datepicker-content.scss +8 -3
  21. package/datepicker/datepicker-toggle.scss +1 -0
  22. package/dl/_dl-theme.scss +2 -2
  23. package/dropdown/_dropdown-theme.scss +4 -4
  24. package/empty-state/_empty-state-theme.scss +2 -2
  25. package/esm2022/core/common-behaviors/common-module.mjs +2 -2
  26. package/esm2022/core/version.mjs +2 -2
  27. package/esm2022/datepicker/calendar-header.component.mjs +7 -3
  28. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  29. package/esm2022/form-field/form-field.mjs +2 -2
  30. package/esm2022/form-field/stepper.mjs +2 -2
  31. package/esm2022/icon/icon-button.component.mjs +2 -2
  32. package/esm2022/list/list-selection.component.mjs +2 -2
  33. package/esm2022/list/list.component.mjs +2 -2
  34. package/esm2022/markdown/markdown.component.mjs +2 -2
  35. package/esm2022/modal/modal-ref.class.mjs +1 -1
  36. package/esm2022/modal/modal.service.mjs +4 -6
  37. package/esm2022/modal/modal.type.mjs +1 -1
  38. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  39. package/esm2022/popover/popover.component.mjs +72 -15
  40. package/esm2022/popover/popover.module.mjs +6 -4
  41. package/esm2022/select/select.component.mjs +2 -2
  42. package/esm2022/tabs/tab-body.component.mjs +3 -3
  43. package/esm2022/tabs/tab.component.mjs +3 -4
  44. package/esm2022/toast/toast.component.mjs +3 -3
  45. package/fesm2022/koobiq-components-core.mjs +2 -2
  46. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  47. package/fesm2022/koobiq-components-datepicker.mjs +8 -4
  48. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  49. package/fesm2022/koobiq-components-form-field.mjs +4 -4
  50. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  51. package/fesm2022/koobiq-components-icon.mjs +2 -2
  52. package/fesm2022/koobiq-components-list.mjs +4 -4
  53. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  54. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  55. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  56. package/fesm2022/koobiq-components-modal.mjs +3 -5
  57. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  58. package/fesm2022/koobiq-components-popover.mjs +82 -25
  59. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  60. package/fesm2022/koobiq-components-select.mjs +1 -1
  61. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  62. package/fesm2022/koobiq-components-tabs.mjs +4 -5
  63. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  64. package/fesm2022/koobiq-components-toast.mjs +2 -2
  65. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  66. package/file-upload/_file-upload-theme.scss +31 -27
  67. package/form-field/_form-field-theme.scss +6 -6
  68. package/form-field/form-field.scss +2 -2
  69. package/form-field/stepper.scss +5 -1
  70. package/icon/_icon-button-theme.scss +45 -26
  71. package/icon/_icon-item-theme.scss +1 -1
  72. package/icon/icon-button.scss +4 -4
  73. package/input/_input-theme.scss +1 -1
  74. package/link/_link-theme.scss +12 -6
  75. package/list/_list-theme.scss +8 -5
  76. package/list/list.scss +1 -0
  77. package/loader-overlay/_loader-overlay-theme.scss +10 -6
  78. package/markdown/_markdown-theme.scss +1 -1
  79. package/markdown/markdown.scss +5 -6
  80. package/modal/_modal-theme.scss +6 -5
  81. package/modal/modal-ref.class.d.ts +2 -2
  82. package/modal/modal.service.d.ts +9 -9
  83. package/modal/modal.type.d.ts +6 -6
  84. package/navbar/_navbar-theme.scss +9 -9
  85. package/package.json +18 -14
  86. package/popover/_popover-theme.scss +9 -4
  87. package/popover/popover.component.d.ts +22 -8
  88. package/popover/popover.module.d.ts +3 -1
  89. package/popover/popover.scss +32 -0
  90. package/prebuilt-themes/dark-theme.css +1 -1
  91. package/prebuilt-themes/light-theme.css +1 -1
  92. package/progress-bar/_progress-bar-theme.scss +2 -2
  93. package/progress-spinner/_progress-spinner-theme.scss +3 -3
  94. package/radio/_radio-theme.scss +15 -19
  95. package/schematics/ng-add/index.js +4 -4
  96. package/scrollbar/_scrollbar-component-theme.scss +27 -12
  97. package/select/_select-theme.scss +2 -2
  98. package/sidepanel/_sidepanel-theme.scss +4 -4
  99. package/splitter/_splitter-theme.scss +1 -2
  100. package/splitter/splitter.scss +3 -3
  101. package/table/_table-theme.scss +2 -2
  102. package/tabs/_tabs-theme.scss +4 -3
  103. package/tags/_tag-theme.scss +7 -5
  104. package/timepicker/timepicker.scss +1 -0
  105. package/timezone/_timezone-option-theme.scss +3 -3
  106. package/toast/_toast-theme.scss +1 -1
  107. package/toast/toast.component.scss +1 -1
  108. package/toggle/_toggle-theme.scss +1 -1
  109. package/tooltip/_tooltip-theme.scss +1 -0
  110. package/tree/_tree-theme.scss +5 -5
  111. package/tree/toggle.scss +1 -1
  112. package/tree-select/_tree-select-theme.scss +2 -2
  113. 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
- &-addition {
87
- background-color: map.get($hljs, addition-background);
88
- color: map.get($hljs, addition-color);
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
- &-attr {
92
- background-color: map.get($hljs, attr-background);
93
- color: map.get($hljs, attr-color);
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
- &-attribute {
97
- background-color: map.get($hljs, attribute-background);
98
- color: map.get($hljs, attribute-color);
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
- &-built_in {
102
- background-color: map.get($hljs, built_in-background);
103
- color: map.get($hljs, built_in-color);
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
- &-bullet {
107
- background-color: map.get($hljs, bullet-background);
108
- color: map.get($hljs, bullet-color);
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
- &-char-escape {
112
- background-color: map.get($hljs, char-escape-background);
113
- color: map.get($hljs, char-escape-color);
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
- &-class {
117
- background-color: map.get($hljs, class-background);
118
- color: map.get($hljs, class-color);
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
- &-code {
122
- background-color: map.get($hljs, code-background);
123
- color: map.get($hljs, code-color);
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
- &-comment {
127
- background-color: map.get($hljs, comment-background);
128
- color: map.get($hljs, comment-color);
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
- &-deletion {
132
- background-color: map.get($hljs, deletion-background);
133
- color: map.get($hljs, deletion-color);
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
- &-doctag {
137
- background-color: map.get($hljs, doctag-background);
138
- color: map.get($hljs, doctag-color);
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
- &-emphasis {
142
- background-color: map.get($hljs, emphasis-background);
143
- color: map.get($hljs, emphasis-color);
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
- &-formula {
147
- background-color: map.get($hljs, formula-background);
148
- color: map.get($hljs, formula-color);
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
- &-function {
152
- background-color: map.get($hljs, function-background);
153
- color: map.get($hljs, function-color);
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
- &-keyword {
157
- background-color: map.get($hljs, keyword-background);
158
- color: map.get($hljs, keyword-color);
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
- &-link {
162
- background-color: map.get($hljs, link-background);
163
- color: map.get($hljs, link-color);
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
- &-literal {
167
- background-color: map.get($hljs, literal-background);
168
- color: map.get($hljs, literal-color);
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
- &-meta {
172
- background-color: map.get($hljs, meta-background);
173
- color: map.get($hljs, meta-color);
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
- &-meta-keyword {
177
- background-color: map.get($hljs, meta-keyword-background);
178
- color: map.get($hljs, meta-keyword-color);
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
- &-meta-string {
182
- background-color: map.get($hljs, meta-string-background);
183
- color: map.get($hljs, meta-string-color);
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
- &-meta-prompt {
187
- background-color: map.get($hljs, meta-prompt-background);
188
- color: map.get($hljs, meta-prompt-color);
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
- &-name {
192
- background-color: map.get($hljs, name-background);
193
- color: map.get($hljs, name-color);
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
- &-number {
197
- background-color: map.get($hljs, number-background);
198
- color: map.get($hljs, number-color);
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
- &-operator {
202
- background-color: map.get($hljs, operator-background);
203
- color: map.get($hljs, operator-color);
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
- &-params {
207
- background-color: map.get($hljs, params-background);
208
- color: map.get($hljs, params-color);
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
- &-property {
212
- background-color: map.get($hljs, property-background);
213
- color: map.get($hljs, property-color);
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
- &-punctuation {
217
- background-color: map.get($hljs, punctuation-background);
218
- color: map.get($hljs, punctuation-color);
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
- &-quote {
222
- background-color: map.get($hljs, quote-background);
223
- color: map.get($hljs, quote-color);
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
- &-regexp {
227
- background-color: map.get($hljs, regexp-background);
228
- color: map.get($hljs, regexp-color);
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
- &-section {
232
- background-color: map.get($hljs, section-background);
233
- color: map.get($hljs, section-color);
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
- &-selector-attr {
237
- background-color: map.get($hljs, selector-attr-background);
238
- color: map.get($hljs, selector-attr-color);
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
- &-selector-class {
242
- background-color: map.get($hljs, selector-class-background);
243
- color: map.get($hljs, selector-class-color);
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
- &-selector-id {
247
- background-color: map.get($hljs, selector-id-background);
248
- color: map.get($hljs, selector-id-color);
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
- &-selector-pseudo {
252
- background-color: map.get($hljs, selector-pseudo-background);
253
- color: map.get($hljs, selector-pseudo-color);
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
- &-selector-tag {
257
- background-color: map.get($hljs, selector-tag-background);
258
- color: map.get($hljs, selector-tag-color);
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
- &-string {
262
- background-color: map.get($hljs, string-background);
263
- color: map.get($hljs, string-color);
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
- &-strong {
267
- background-color: map.get($hljs, strong-background);
268
- color: map.get($hljs, strong-color);
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
- &-subst {
272
- background-color: map.get($hljs, subst-background);
273
- color: map.get($hljs, subst-color);
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
- &-symbol {
277
- background-color: map.get($hljs, symbol-background);
278
- color: map.get($hljs, symbol-color);
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
- &-tag {
282
- background-color: map.get($hljs, tag-background);
283
- color: map.get($hljs, tag-color);
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
- &-template-tag {
287
- background-color: map.get($hljs, template-tag-background);
288
- color: map.get($hljs, template-tag-color);
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
- &-template-variable {
292
- background-color: map.get($hljs, template-variable-background);
293
- color: map.get($hljs, template-variable-color);
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
- &-title {
297
- background-color: map.get($hljs, title-background);
298
- color: map.get($hljs, title-color);
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
- &-title-class {
302
- background-color: map.get($hljs, title-class-background);
303
- color: map.get($hljs, title-class-color);
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
- &-title-class-inherited {
307
- background-color: map.get($hljs, title-class-inherited-background);
308
- color: map.get($hljs, title-class-inherited-color);
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
- &-title-function {
312
- background-color: map.get($hljs, title-function-background);
313
- color: map.get($hljs, title-function-color);
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
- &-title-function-invoke {
317
- background-color: map.get($hljs, title-function-invoke-background);
318
- color: map.get($hljs, title-function-invoke-color);
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
- &-type {
322
- background-color: map.get($hljs, type-background);
323
- color: map.get($hljs, type-color);
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
- &-variable {
327
- background-color: map.get($hljs, variable-background);
328
- color: map.get($hljs, variable-color);
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
- &-variable-constant {
332
- background-color: map.get($hljs, variable-constant-background);
333
- color: map.get($hljs, variable-constant-color);
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
- &-variable-language {
337
- background-color: map.get($hljs, variable-language-background);
338
- color: map.get($hljs, variable-language-color);
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
- &-ln-n {
342
- color: map.get($hljs, line-numbers-color);
343
- }
346
+ .hljs-ln-n {
347
+ color: kbq-code-block-hljs-attr(line-numbers-color, $hljs);
348
+ }
344
349
 
345
- &-line-numbers {
346
- color: map.get($code-block, main-code-color);
347
- }
350
+ .hljs-line-numbers {
351
+ color: map.get($code-block, main-code-color);
348
352
  }
349
353
 
350
354
  &.kbq-code-block_outline {
@@ -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: map.get($list-item, states-focused, focus-outline);
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($config);
123
- @include kbq-markdown-base-typography($md-config);
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);