@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.
- package/alert/_alert-theme.scss +3 -3
- 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 +109 -105
- 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/typography/_typography.scss +70 -68
- package/datepicker/_datepicker-theme.scss +14 -11
- 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/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/popover/popover.component.mjs +15 -2
- 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 +2 -2
- 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-popover.mjs +14 -1
- 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 +1 -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/modal/_modal-theme.scss +6 -5
- package/navbar/_navbar-theme.scss +8 -8
- package/package.json +10 -10
- package/popover/_popover-theme.scss +4 -4
- package/popover/popover.component.d.ts +6 -5
- 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 +2 -2
- 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/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
package/alert/_alert-theme.scss
CHANGED
|
@@ -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
|
}
|
package/badge/_badge-theme.scss
CHANGED
|
@@ -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(
|
|
11
|
-
background: kbq-css-variable(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
119
|
+
@include kbq-css-font-variable(typography, body, line-height, '');
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
78
|
-
|
|
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(
|
|
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:
|
|
88
|
-
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:
|
|
93
|
-
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:
|
|
98
|
-
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:
|
|
103
|
-
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:
|
|
108
|
-
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:
|
|
113
|
-
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:
|
|
118
|
-
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:
|
|
123
|
-
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:
|
|
128
|
-
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:
|
|
133
|
-
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:
|
|
138
|
-
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:
|
|
143
|
-
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:
|
|
148
|
-
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:
|
|
153
|
-
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:
|
|
158
|
-
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:
|
|
163
|
-
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:
|
|
168
|
-
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:
|
|
173
|
-
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:
|
|
178
|
-
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:
|
|
183
|
-
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:
|
|
188
|
-
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:
|
|
193
|
-
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:
|
|
198
|
-
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:
|
|
203
|
-
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:
|
|
208
|
-
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:
|
|
213
|
-
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:
|
|
218
|
-
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:
|
|
223
|
-
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:
|
|
228
|
-
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:
|
|
233
|
-
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:
|
|
238
|
-
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:
|
|
243
|
-
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:
|
|
248
|
-
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:
|
|
253
|
-
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:
|
|
258
|
-
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:
|
|
263
|
-
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:
|
|
268
|
-
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:
|
|
273
|
-
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:
|
|
278
|
-
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:
|
|
283
|
-
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:
|
|
288
|
-
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:
|
|
293
|
-
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:
|
|
298
|
-
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:
|
|
303
|
-
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:
|
|
308
|
-
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:
|
|
313
|
-
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:
|
|
318
|
-
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:
|
|
323
|
-
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:
|
|
328
|
-
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:
|
|
333
|
-
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:
|
|
338
|
-
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:
|
|
346
|
+
color: kbq-code-block-hljs-attr(line-numbers-color, $hljs);
|
|
343
347
|
}
|
|
344
348
|
|
|
345
349
|
&-line-numbers {
|
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));
|