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