@koobiq/components 17.5.0 → 17.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/button-tokens.scss +2 -3
- package/code-block/_code-block-theme.scss +124 -143
- package/code-block/code-block-tokens.scss +400 -0
- package/code-block/code-block.scss +4 -2
- package/core/services/theme.service.d.ts +16 -0
- package/core/styles/_koobiq-theme.scss +3 -58
- package/divider/_divider-theme.scss +2 -4
- package/divider/divider-tokens.scss +14 -0
- package/divider/divider.scss +4 -0
- package/dl/_dl-theme.scss +4 -6
- package/dl/dl-tokens.scss +32 -0
- package/dl/dl.scss +5 -0
- package/dropdown/dropdown-tokens.scss +0 -1
- package/empty-state/_empty-state-theme.scss +6 -9
- package/empty-state/empty-state-tokens.scss +68 -0
- package/empty-state/empty-state.scss +5 -0
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +20 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/divider/divider.component.mjs +3 -3
- package/esm2022/dl/dl.component.mjs +3 -3
- package/esm2022/empty-state/empty-state.component.mjs +3 -3
- package/esm2022/file-upload/multiple-file-upload.component.mjs +3 -3
- package/esm2022/file-upload/single-file-upload.component.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +8 -5
- package/esm2022/list/list-selection.component.mjs +3 -3
- package/esm2022/list/list.component.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
- package/esm2022/markdown/markdown.component.mjs +3 -3
- package/esm2022/modal/modal.component.mjs +3 -3
- package/esm2022/navbar/navbar-item.component.mjs +2 -2
- package/esm2022/navbar/navbar.component.mjs +3 -3
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +3 -3
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/toggle/toggle.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tree/toggle.mjs +3 -3
- package/esm2022/tree/tree-option.component.mjs +3 -3
- package/esm2022/tree/tree-selection.component.mjs +3 -3
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree-select/tree-select.component.mjs +3 -3
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-code-block.mjs +2 -2
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +21 -4
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +2 -2
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -2
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +2 -2
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +9 -6
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +2 -2
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +2 -2
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +4 -4
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +4 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +2 -2
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +2 -2
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +8 -8
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +29 -112
- package/file-upload/file-upload-tokens.scss +159 -0
- package/file-upload/file-upload.scss +4 -2
- package/form-field/form-field-tokens.scss +1 -1
- package/icon/icon-button-tokens.scss +0 -1
- package/link/link-tokens.scss +1 -1
- package/list/_list-theme.scss +14 -25
- package/list/list-tokens.scss +100 -0
- package/list/list.scss +5 -0
- package/loader-overlay/_loader-overlay-theme.scss +8 -23
- package/loader-overlay/loader-overlay-tokens.scss +58 -0
- package/loader-overlay/loader-overlay.scss +4 -5
- package/markdown/_markdown-theme.scss +29 -43
- package/markdown/markdown-tokens.scss +252 -0
- package/markdown/markdown.scss +0 -6
- package/modal/_modal-confirm.scss +0 -3
- package/modal/_modal-theme.scss +10 -12
- package/modal/modal-tokens.scss +53 -0
- package/modal/modal.scss +5 -0
- package/navbar/_navbar-theme.scss +15 -25
- package/navbar/navbar-divider.scss +0 -3
- package/navbar/navbar-item.scss +0 -3
- package/navbar/navbar-tokens.scss +83 -0
- package/navbar/navbar.scss +5 -3
- package/navbar/vertical-navbar.scss +0 -3
- package/package.json +6 -6
- package/popover/_popover-theme.scss +9 -16
- package/popover/popover-tokens.scss +60 -0
- package/popover/popover.scss +4 -5
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/schematics/ng-add/index.js +4 -4
- package/table/_table-theme.scss +7 -15
- package/table/table-tokens.scss +37 -0
- package/table/table.scss +4 -1
- package/textarea/_textarea-theme.scss +1 -1
- package/textarea/textarea-tokens.scss +14 -0
- package/textarea/textarea.scss +1 -0
- package/timezone/_timezone-option-theme.scss +5 -7
- package/timezone/timezone-option-tokens.scss +51 -0
- package/timezone/timezone-option.component.scss +5 -0
- package/timezone/timezone-select.component.scss +5 -0
- package/toast/_toast-theme.scss +11 -15
- package/toast/toast-tokens.scss +75 -0
- package/toast/toast.component.scss +4 -1
- package/toggle/_toggle-theme.scss +21 -41
- package/toggle/toggle-tokens.scss +142 -0
- package/toggle/toggle.scss +4 -1
- package/tooltip/_tooltip-theme.scss +13 -23
- package/tooltip/tooltip-tokens.scss +63 -0
- package/tooltip/tooltip.scss +5 -0
- package/tree/_tree-theme.scss +14 -21
- package/tree/toggle.scss +5 -0
- package/tree/tree-option.scss +0 -5
- package/tree/tree-selection.scss +5 -0
- package/tree/tree-tokens.scss +94 -0
- package/tree/tree.scss +5 -0
- package/tree-select/_tree-select-theme.scss +9 -16
- package/tree-select/tree-select-tokens.scss +59 -0
- package/tree-select/tree-select.scss +5 -0
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
18
|
-
// TODO: remove after all settled, should be assigned via css-tokens.css (#DS-2846)
|
|
19
18
|
--kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
|
|
20
19
|
--kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
|
|
21
20
|
--kbq-button-filled-contrast-fade-off-background: hsla(229, 15%, 25%, 100%);
|
|
@@ -65,7 +64,7 @@
|
|
|
65
64
|
--kbq-button-outline-theme-fade-on-states-active-hover-left-icon: hsla(216, 100%, 50%, 100%);
|
|
66
65
|
--kbq-button-outline-theme-fade-on-states-active-hover-right-icon: hsla(216, 100%, 50%, 100%);
|
|
67
66
|
--kbq-button-outline-theme-fade-on-states-disabled-background: transparent;
|
|
68
|
-
--kbq-button-outline-theme-fade-on-states-disabled-border: hsla(229, 15%,
|
|
67
|
+
--kbq-button-outline-theme-fade-on-states-disabled-border: hsla(229, 15%, 50%, 32%);
|
|
69
68
|
--kbq-button-outline-theme-fade-on-states-disabled-foreground: hsla(229, 15%, 15%, 32%);
|
|
70
69
|
--kbq-button-outline-theme-fade-on-states-disabled-left-icon: hsla(229, 15%, 15%, 32%);
|
|
71
70
|
--kbq-button-outline-theme-fade-on-states-disabled-right-icon: hsla(229, 15%, 15%, 32%);
|
|
@@ -90,7 +89,7 @@
|
|
|
90
89
|
--kbq-button-outline-contrast-fade-on-states-active-hover-left-icon: hsla(229, 15%, 15%, 100%);
|
|
91
90
|
--kbq-button-outline-contrast-fade-on-states-active-hover-right-icon: hsla(229, 15%, 15%, 100%);
|
|
92
91
|
--kbq-button-outline-contrast-fade-on-states-disabled-background: transparent;
|
|
93
|
-
--kbq-button-outline-contrast-fade-on-states-disabled-border: hsla(229, 15%,
|
|
92
|
+
--kbq-button-outline-contrast-fade-on-states-disabled-border: hsla(229, 15%, 50%, 32%);
|
|
94
93
|
--kbq-button-outline-contrast-fade-on-states-disabled-foreground: hsla(229, 15%, 15%, 32%);
|
|
95
94
|
--kbq-button-outline-contrast-fade-on-states-disabled-left-icon: hsla(229, 15%, 15%, 32%);
|
|
96
95
|
--kbq-button-outline-contrast-fade-on-states-disabled-right-icon: hsla(229, 15%, 15%, 32%);
|
|
@@ -5,23 +5,22 @@
|
|
|
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
|
|
9
|
-
@return kbq-css-variable(code-block-hljs-#{$attr}
|
|
8
|
+
@function kbq-code-block-hljs-attr($attr) {
|
|
9
|
+
@return kbq-css-variable(code-block-hljs-#{$attr});
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
@mixin kbq-code-block-style($
|
|
13
|
-
$style: map.get($component, $style-name);
|
|
12
|
+
@mixin kbq-code-block-style($style-name) {
|
|
14
13
|
$base: code-block-#{$style-name};
|
|
15
14
|
|
|
16
|
-
background: kbq-css-variable(#{$base}-container-background
|
|
15
|
+
background: kbq-css-variable(#{$base}-container-background);
|
|
17
16
|
|
|
18
17
|
& .kbq-tab-header {
|
|
19
|
-
background: kbq-css-variable(#{$base}-header-background
|
|
20
|
-
border-color: kbq-css-variable(#{$base}-container-border-color
|
|
18
|
+
background: kbq-css-variable(#{$base}-header-background) !important;
|
|
19
|
+
border-color: kbq-css-variable(#{$base}-container-border-color);
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
.kbq-tab-body__wrapper {
|
|
24
|
-
border-color: kbq-css-variable(#{$base}-container-border-color
|
|
23
|
+
border-color: kbq-css-variable(#{$base}-container-border-color);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
&:not(.kbq-code-block_no-header) {
|
|
@@ -31,332 +30,315 @@
|
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
& .kbq-code-block-actionbar {
|
|
34
|
-
background: kbq-css-variable(#{$base}-actionbar-background
|
|
33
|
+
background: kbq-css-variable(#{$base}-actionbar-background);
|
|
35
34
|
|
|
36
35
|
&.kbq-actionbar-block_floating {
|
|
37
36
|
.kbq-actionbar-block__button-stack {
|
|
38
|
-
background: kbq-css-variable(#{$base}-actionbar-background
|
|
37
|
+
background: kbq-css-variable(#{$base}-actionbar-background);
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
&.kbq-code-block_header-with-shadow {
|
|
44
43
|
& .kbq-tab-header {
|
|
45
|
-
box-shadow: kbq-css-variable(#{$base}-header-shadow
|
|
44
|
+
box-shadow: kbq-css-variable(#{$base}-header-shadow);
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
&.kbq-code-block_no-header {
|
|
50
49
|
& .kbq-code-block__fade-gradient {
|
|
51
|
-
background: kbq-css-variable(#{$base}-actionbar-fade-gradient
|
|
50
|
+
background: kbq-css-variable(#{$base}-actionbar-fade-gradient);
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
.kbq-code-block__show-more {
|
|
56
55
|
.bg-wrapper {
|
|
57
|
-
background: kbq-css-variable(
|
|
58
|
-
#{$base}-collapse-button-expand-background,
|
|
59
|
-
map.get($style, collapse, button-expand-background)
|
|
60
|
-
);
|
|
56
|
+
background: kbq-css-variable(#{$base}-collapse-button-expand-background);
|
|
61
57
|
opacity: 90%;
|
|
62
58
|
}
|
|
63
59
|
}
|
|
64
60
|
|
|
65
61
|
& .kbq-code-block__show-more_expanded {
|
|
66
|
-
background: kbq-css-variable(
|
|
67
|
-
#{$base}-collapse-expanded-background,
|
|
68
|
-
map.get($style, collapse, expanded-background)
|
|
69
|
-
);
|
|
62
|
+
background: kbq-css-variable(#{$base}-collapse-expanded-background);
|
|
70
63
|
}
|
|
71
64
|
|
|
72
65
|
& .kbq-code-block__show-more_collapsed {
|
|
73
|
-
background: kbq-css-variable(
|
|
74
|
-
#{$base}-collapse-collapsed-background,
|
|
75
|
-
map.get($style, collapse, collapsed-background)
|
|
76
|
-
);
|
|
66
|
+
background: kbq-css-variable(#{$base}-collapse-collapsed-background);
|
|
77
67
|
}
|
|
78
68
|
}
|
|
79
69
|
|
|
80
|
-
@mixin kbq-code-block-theme(
|
|
81
|
-
$code-block: map.get(map.get($theme, components), code-block);
|
|
82
|
-
|
|
70
|
+
@mixin kbq-code-block-theme() {
|
|
83
71
|
.kbq-code-block {
|
|
84
|
-
$hljs: map.get($code-block, hljs);
|
|
85
|
-
|
|
86
72
|
.hljs {
|
|
87
73
|
display: block;
|
|
88
74
|
overflow-x: auto;
|
|
89
75
|
}
|
|
90
76
|
|
|
91
77
|
.hljs-addition {
|
|
92
|
-
background-color: kbq-code-block-hljs-attr(addition-background
|
|
93
|
-
color: kbq-code-block-hljs-attr(addition-color
|
|
78
|
+
background-color: kbq-code-block-hljs-attr(addition-background);
|
|
79
|
+
color: kbq-code-block-hljs-attr(addition-color);
|
|
94
80
|
}
|
|
95
81
|
|
|
96
82
|
.hljs-attr {
|
|
97
|
-
background-color: kbq-code-block-hljs-attr(attr-background
|
|
98
|
-
color: kbq-code-block-hljs-attr(attr-color
|
|
83
|
+
background-color: kbq-code-block-hljs-attr(attr-background);
|
|
84
|
+
color: kbq-code-block-hljs-attr(attr-color);
|
|
99
85
|
}
|
|
100
86
|
|
|
101
87
|
.hljs-attribute {
|
|
102
|
-
background-color: kbq-code-block-hljs-attr(attribute-background
|
|
103
|
-
color: kbq-code-block-hljs-attr(attribute-color
|
|
88
|
+
background-color: kbq-code-block-hljs-attr(attribute-background);
|
|
89
|
+
color: kbq-code-block-hljs-attr(attribute-color);
|
|
104
90
|
}
|
|
105
91
|
|
|
106
92
|
.hljs-built_in {
|
|
107
|
-
background-color: kbq-code-block-hljs-attr(built_in-background
|
|
108
|
-
color: kbq-code-block-hljs-attr(built_in-color
|
|
93
|
+
background-color: kbq-code-block-hljs-attr(built_in-background);
|
|
94
|
+
color: kbq-code-block-hljs-attr(built_in-color);
|
|
109
95
|
}
|
|
110
96
|
|
|
111
97
|
.hljs-bullet {
|
|
112
|
-
background-color: kbq-code-block-hljs-attr(bullet-background
|
|
113
|
-
color: kbq-code-block-hljs-attr(bullet-color
|
|
98
|
+
background-color: kbq-code-block-hljs-attr(bullet-background);
|
|
99
|
+
color: kbq-code-block-hljs-attr(bullet-color);
|
|
114
100
|
}
|
|
115
101
|
|
|
116
102
|
.hljs-char-escape {
|
|
117
|
-
background-color: kbq-code-block-hljs-attr(char-escape-background
|
|
118
|
-
color: kbq-code-block-hljs-attr(char-escape-color
|
|
103
|
+
background-color: kbq-code-block-hljs-attr(char-escape-background);
|
|
104
|
+
color: kbq-code-block-hljs-attr(char-escape-color);
|
|
119
105
|
}
|
|
120
106
|
|
|
121
107
|
.hljs-class {
|
|
122
|
-
background-color: kbq-code-block-hljs-attr(class-background
|
|
123
|
-
color: kbq-code-block-hljs-attr(class-color
|
|
108
|
+
background-color: kbq-code-block-hljs-attr(class-background);
|
|
109
|
+
color: kbq-code-block-hljs-attr(class-color);
|
|
124
110
|
}
|
|
125
111
|
|
|
126
112
|
.hljs-code {
|
|
127
|
-
background-color: kbq-code-block-hljs-attr(code-background
|
|
128
|
-
color: kbq-code-block-hljs-attr(code-color
|
|
113
|
+
background-color: kbq-code-block-hljs-attr(code-background);
|
|
114
|
+
color: kbq-code-block-hljs-attr(code-color);
|
|
129
115
|
}
|
|
130
116
|
|
|
131
117
|
.hljs-comment {
|
|
132
|
-
background-color: kbq-code-block-hljs-attr(comment-background
|
|
133
|
-
color: kbq-code-block-hljs-attr(comment-color
|
|
118
|
+
background-color: kbq-code-block-hljs-attr(comment-background);
|
|
119
|
+
color: kbq-code-block-hljs-attr(comment-color);
|
|
134
120
|
}
|
|
135
121
|
|
|
136
122
|
.hljs-deletion {
|
|
137
|
-
background-color: kbq-code-block-hljs-attr(deletion-background
|
|
138
|
-
color: kbq-code-block-hljs-attr(deletion-color
|
|
123
|
+
background-color: kbq-code-block-hljs-attr(deletion-background);
|
|
124
|
+
color: kbq-code-block-hljs-attr(deletion-color);
|
|
139
125
|
}
|
|
140
126
|
|
|
141
127
|
.hljs-doctag {
|
|
142
|
-
background-color: kbq-code-block-hljs-attr(doctag-background
|
|
143
|
-
color: kbq-code-block-hljs-attr(doctag-color
|
|
128
|
+
background-color: kbq-code-block-hljs-attr(doctag-background);
|
|
129
|
+
color: kbq-code-block-hljs-attr(doctag-color);
|
|
144
130
|
}
|
|
145
131
|
|
|
146
132
|
.hljs-emphasis {
|
|
147
|
-
background-color: kbq-code-block-hljs-attr(emphasis-background
|
|
148
|
-
color: kbq-code-block-hljs-attr(emphasis-color
|
|
133
|
+
background-color: kbq-code-block-hljs-attr(emphasis-background);
|
|
134
|
+
color: kbq-code-block-hljs-attr(emphasis-color);
|
|
149
135
|
}
|
|
150
136
|
|
|
151
137
|
.hljs-formula {
|
|
152
|
-
background-color: kbq-code-block-hljs-attr(formula-background
|
|
153
|
-
color: kbq-code-block-hljs-attr(formula-color
|
|
138
|
+
background-color: kbq-code-block-hljs-attr(formula-background);
|
|
139
|
+
color: kbq-code-block-hljs-attr(formula-color);
|
|
154
140
|
}
|
|
155
141
|
|
|
156
142
|
.hljs-function {
|
|
157
|
-
background-color: kbq-code-block-hljs-attr(function-background
|
|
158
|
-
color: kbq-code-block-hljs-attr(function-color
|
|
143
|
+
background-color: kbq-code-block-hljs-attr(function-background);
|
|
144
|
+
color: kbq-code-block-hljs-attr(function-color);
|
|
159
145
|
}
|
|
160
146
|
|
|
161
147
|
.hljs-keyword {
|
|
162
|
-
background-color: kbq-code-block-hljs-attr(keyword-background
|
|
163
|
-
color: kbq-code-block-hljs-attr(keyword-color
|
|
148
|
+
background-color: kbq-code-block-hljs-attr(keyword-background);
|
|
149
|
+
color: kbq-code-block-hljs-attr(keyword-color);
|
|
164
150
|
}
|
|
165
151
|
|
|
166
152
|
.hljs-link {
|
|
167
|
-
background-color: kbq-code-block-hljs-attr(link-background
|
|
168
|
-
color: kbq-code-block-hljs-attr(link-color
|
|
153
|
+
background-color: kbq-code-block-hljs-attr(link-background);
|
|
154
|
+
color: kbq-code-block-hljs-attr(link-color);
|
|
169
155
|
}
|
|
170
156
|
|
|
171
157
|
.hljs-literal {
|
|
172
|
-
background-color: kbq-code-block-hljs-attr(literal-background
|
|
173
|
-
color: kbq-code-block-hljs-attr(literal-color
|
|
158
|
+
background-color: kbq-code-block-hljs-attr(literal-background);
|
|
159
|
+
color: kbq-code-block-hljs-attr(literal-color);
|
|
174
160
|
}
|
|
175
161
|
|
|
176
162
|
.hljs-meta {
|
|
177
|
-
background-color: kbq-code-block-hljs-attr(meta-background
|
|
178
|
-
color: kbq-code-block-hljs-attr(meta-color
|
|
163
|
+
background-color: kbq-code-block-hljs-attr(meta-background);
|
|
164
|
+
color: kbq-code-block-hljs-attr(meta-color);
|
|
179
165
|
}
|
|
180
166
|
|
|
181
167
|
.hljs-meta-keyword {
|
|
182
|
-
background-color: kbq-code-block-hljs-attr(meta-keyword-background
|
|
183
|
-
color: kbq-code-block-hljs-attr(meta-keyword-color
|
|
168
|
+
background-color: kbq-code-block-hljs-attr(meta-keyword-background);
|
|
169
|
+
color: kbq-code-block-hljs-attr(meta-keyword-color);
|
|
184
170
|
}
|
|
185
171
|
|
|
186
172
|
.hljs-meta-string {
|
|
187
|
-
background-color: kbq-code-block-hljs-attr(meta-string-background
|
|
188
|
-
color: kbq-code-block-hljs-attr(meta-string-color
|
|
173
|
+
background-color: kbq-code-block-hljs-attr(meta-string-background);
|
|
174
|
+
color: kbq-code-block-hljs-attr(meta-string-color);
|
|
189
175
|
}
|
|
190
176
|
|
|
191
177
|
.hljs-meta-prompt {
|
|
192
|
-
background-color: kbq-code-block-hljs-attr(meta-prompt-background
|
|
193
|
-
color: kbq-code-block-hljs-attr(meta-prompt-color
|
|
178
|
+
background-color: kbq-code-block-hljs-attr(meta-prompt-background);
|
|
179
|
+
color: kbq-code-block-hljs-attr(meta-prompt-color);
|
|
194
180
|
}
|
|
195
181
|
|
|
196
182
|
.hljs-name {
|
|
197
|
-
background-color: kbq-code-block-hljs-attr(name-background
|
|
198
|
-
color: kbq-code-block-hljs-attr(name-color
|
|
183
|
+
background-color: kbq-code-block-hljs-attr(name-background);
|
|
184
|
+
color: kbq-code-block-hljs-attr(name-color);
|
|
199
185
|
}
|
|
200
186
|
|
|
201
187
|
.hljs-number {
|
|
202
|
-
background-color: kbq-code-block-hljs-attr(number-background
|
|
203
|
-
color: kbq-code-block-hljs-attr(number-color
|
|
188
|
+
background-color: kbq-code-block-hljs-attr(number-background);
|
|
189
|
+
color: kbq-code-block-hljs-attr(number-color);
|
|
204
190
|
}
|
|
205
191
|
|
|
206
192
|
.hljs-operator {
|
|
207
|
-
background-color: kbq-code-block-hljs-attr(operator-background
|
|
208
|
-
color: kbq-code-block-hljs-attr(operator-color
|
|
193
|
+
background-color: kbq-code-block-hljs-attr(operator-background);
|
|
194
|
+
color: kbq-code-block-hljs-attr(operator-color);
|
|
209
195
|
}
|
|
210
196
|
|
|
211
197
|
.hljs-params {
|
|
212
|
-
background-color: kbq-code-block-hljs-attr(params-background
|
|
213
|
-
color: kbq-code-block-hljs-attr(params-color
|
|
198
|
+
background-color: kbq-code-block-hljs-attr(params-background);
|
|
199
|
+
color: kbq-code-block-hljs-attr(params-color);
|
|
214
200
|
}
|
|
215
201
|
|
|
216
202
|
.hljs-property {
|
|
217
|
-
background-color: kbq-code-block-hljs-attr(property-background
|
|
218
|
-
color: kbq-code-block-hljs-attr(property-color
|
|
203
|
+
background-color: kbq-code-block-hljs-attr(property-background);
|
|
204
|
+
color: kbq-code-block-hljs-attr(property-color);
|
|
219
205
|
}
|
|
220
206
|
|
|
221
207
|
.hljs-punctuation {
|
|
222
|
-
background-color: kbq-code-block-hljs-attr(punctuation-background
|
|
223
|
-
color: kbq-code-block-hljs-attr(punctuation-color
|
|
208
|
+
background-color: kbq-code-block-hljs-attr(punctuation-background);
|
|
209
|
+
color: kbq-code-block-hljs-attr(punctuation-color);
|
|
224
210
|
}
|
|
225
211
|
|
|
226
212
|
.hljs-quote {
|
|
227
|
-
background-color: kbq-code-block-hljs-attr(quote-background
|
|
228
|
-
color: kbq-code-block-hljs-attr(quote-color
|
|
213
|
+
background-color: kbq-code-block-hljs-attr(quote-background);
|
|
214
|
+
color: kbq-code-block-hljs-attr(quote-color);
|
|
229
215
|
}
|
|
230
216
|
|
|
231
217
|
.hljs-regexp {
|
|
232
|
-
background-color: kbq-code-block-hljs-attr(regexp-background
|
|
233
|
-
color: kbq-code-block-hljs-attr(regexp-color
|
|
218
|
+
background-color: kbq-code-block-hljs-attr(regexp-background);
|
|
219
|
+
color: kbq-code-block-hljs-attr(regexp-color);
|
|
234
220
|
}
|
|
235
221
|
|
|
236
222
|
.hljs-section {
|
|
237
|
-
background-color: kbq-code-block-hljs-attr(section-background
|
|
238
|
-
color: kbq-code-block-hljs-attr(section-color
|
|
223
|
+
background-color: kbq-code-block-hljs-attr(section-background);
|
|
224
|
+
color: kbq-code-block-hljs-attr(section-color);
|
|
239
225
|
}
|
|
240
226
|
|
|
241
227
|
.hljs-selector-attr {
|
|
242
|
-
background-color: kbq-code-block-hljs-attr(selector-attr-background
|
|
243
|
-
color: kbq-code-block-hljs-attr(selector-attr-color
|
|
228
|
+
background-color: kbq-code-block-hljs-attr(selector-attr-background);
|
|
229
|
+
color: kbq-code-block-hljs-attr(selector-attr-color);
|
|
244
230
|
}
|
|
245
231
|
|
|
246
232
|
.hljs-selector-class {
|
|
247
|
-
background-color: kbq-code-block-hljs-attr(selector-class-background
|
|
248
|
-
color: kbq-code-block-hljs-attr(selector-class-color
|
|
233
|
+
background-color: kbq-code-block-hljs-attr(selector-class-background);
|
|
234
|
+
color: kbq-code-block-hljs-attr(selector-class-color);
|
|
249
235
|
}
|
|
250
236
|
|
|
251
237
|
.hljs-selector-id {
|
|
252
|
-
background-color: kbq-code-block-hljs-attr(selector-id-background
|
|
253
|
-
color: kbq-code-block-hljs-attr(selector-id-color
|
|
238
|
+
background-color: kbq-code-block-hljs-attr(selector-id-background);
|
|
239
|
+
color: kbq-code-block-hljs-attr(selector-id-color);
|
|
254
240
|
}
|
|
255
241
|
|
|
256
242
|
.hljs-selector-pseudo {
|
|
257
|
-
background-color: kbq-code-block-hljs-attr(selector-pseudo-background
|
|
258
|
-
color: kbq-code-block-hljs-attr(selector-pseudo-color
|
|
243
|
+
background-color: kbq-code-block-hljs-attr(selector-pseudo-background);
|
|
244
|
+
color: kbq-code-block-hljs-attr(selector-pseudo-color);
|
|
259
245
|
}
|
|
260
246
|
|
|
261
247
|
.hljs-selector-tag {
|
|
262
|
-
background-color: kbq-code-block-hljs-attr(selector-tag-background
|
|
263
|
-
color: kbq-code-block-hljs-attr(selector-tag-color
|
|
248
|
+
background-color: kbq-code-block-hljs-attr(selector-tag-background);
|
|
249
|
+
color: kbq-code-block-hljs-attr(selector-tag-color);
|
|
264
250
|
}
|
|
265
251
|
|
|
266
252
|
.hljs-string {
|
|
267
|
-
background-color: kbq-code-block-hljs-attr(string-background
|
|
268
|
-
color: kbq-code-block-hljs-attr(string-color
|
|
253
|
+
background-color: kbq-code-block-hljs-attr(string-background);
|
|
254
|
+
color: kbq-code-block-hljs-attr(string-color);
|
|
269
255
|
}
|
|
270
256
|
|
|
271
257
|
.hljs-strong {
|
|
272
|
-
background-color: kbq-code-block-hljs-attr(strong-background
|
|
273
|
-
color: kbq-code-block-hljs-attr(strong-color
|
|
258
|
+
background-color: kbq-code-block-hljs-attr(strong-background);
|
|
259
|
+
color: kbq-code-block-hljs-attr(strong-color);
|
|
274
260
|
}
|
|
275
261
|
|
|
276
262
|
.hljs-subst {
|
|
277
|
-
background-color: kbq-code-block-hljs-attr(subst-background
|
|
278
|
-
color: kbq-code-block-hljs-attr(subst-color
|
|
263
|
+
background-color: kbq-code-block-hljs-attr(subst-background);
|
|
264
|
+
color: kbq-code-block-hljs-attr(subst-color);
|
|
279
265
|
}
|
|
280
266
|
|
|
281
267
|
.hljs-symbol {
|
|
282
|
-
background-color: kbq-code-block-hljs-attr(symbol-background
|
|
283
|
-
color: kbq-code-block-hljs-attr(symbol-color
|
|
268
|
+
background-color: kbq-code-block-hljs-attr(symbol-background);
|
|
269
|
+
color: kbq-code-block-hljs-attr(symbol-color);
|
|
284
270
|
}
|
|
285
271
|
|
|
286
272
|
.hljs-tag {
|
|
287
|
-
background-color: kbq-code-block-hljs-attr(tag-background
|
|
288
|
-
color: kbq-code-block-hljs-attr(tag-color
|
|
273
|
+
background-color: kbq-code-block-hljs-attr(tag-background);
|
|
274
|
+
color: kbq-code-block-hljs-attr(tag-color);
|
|
289
275
|
}
|
|
290
276
|
|
|
291
277
|
.hljs-template-tag {
|
|
292
|
-
background-color: kbq-code-block-hljs-attr(template-tag-background
|
|
293
|
-
color: kbq-code-block-hljs-attr(template-tag-color
|
|
278
|
+
background-color: kbq-code-block-hljs-attr(template-tag-background);
|
|
279
|
+
color: kbq-code-block-hljs-attr(template-tag-color);
|
|
294
280
|
}
|
|
295
281
|
|
|
296
282
|
.hljs-template-variable {
|
|
297
|
-
background-color: kbq-code-block-hljs-attr(template-variable-background
|
|
298
|
-
color: kbq-code-block-hljs-attr(template-variable-color
|
|
283
|
+
background-color: kbq-code-block-hljs-attr(template-variable-background);
|
|
284
|
+
color: kbq-code-block-hljs-attr(template-variable-color);
|
|
299
285
|
}
|
|
300
286
|
|
|
301
287
|
.hljs-title {
|
|
302
|
-
background-color: kbq-code-block-hljs-attr(title-background
|
|
303
|
-
color: kbq-code-block-hljs-attr(title-color
|
|
288
|
+
background-color: kbq-code-block-hljs-attr(title-background);
|
|
289
|
+
color: kbq-code-block-hljs-attr(title-color);
|
|
304
290
|
}
|
|
305
291
|
|
|
306
292
|
.hljs-title-class {
|
|
307
|
-
background-color: kbq-code-block-hljs-attr(title-class-background
|
|
308
|
-
color: kbq-code-block-hljs-attr(title-class-color
|
|
293
|
+
background-color: kbq-code-block-hljs-attr(title-class-background);
|
|
294
|
+
color: kbq-code-block-hljs-attr(title-class-color);
|
|
309
295
|
}
|
|
310
296
|
|
|
311
297
|
.hljs-title-class-inherited {
|
|
312
|
-
background-color: kbq-code-block-hljs-attr(title-class-inherited-background
|
|
313
|
-
color: kbq-code-block-hljs-attr(title-class-inherited-color
|
|
298
|
+
background-color: kbq-code-block-hljs-attr(title-class-inherited-background);
|
|
299
|
+
color: kbq-code-block-hljs-attr(title-class-inherited-color);
|
|
314
300
|
}
|
|
315
301
|
|
|
316
302
|
.hljs-title-function {
|
|
317
|
-
background-color: kbq-code-block-hljs-attr(title-function-background
|
|
318
|
-
color: kbq-code-block-hljs-attr(title-function-color
|
|
303
|
+
background-color: kbq-code-block-hljs-attr(title-function-background);
|
|
304
|
+
color: kbq-code-block-hljs-attr(title-function-color);
|
|
319
305
|
}
|
|
320
306
|
|
|
321
307
|
.hljs-title-function-invoke {
|
|
322
|
-
background-color: kbq-code-block-hljs-attr(title-function-invoke-background
|
|
323
|
-
color: kbq-code-block-hljs-attr(title-function-invoke-color
|
|
308
|
+
background-color: kbq-code-block-hljs-attr(title-function-invoke-background);
|
|
309
|
+
color: kbq-code-block-hljs-attr(title-function-invoke-color);
|
|
324
310
|
}
|
|
325
311
|
|
|
326
312
|
.hljs-type {
|
|
327
|
-
background-color: kbq-code-block-hljs-attr(type-background
|
|
328
|
-
color: kbq-code-block-hljs-attr(type-color
|
|
313
|
+
background-color: kbq-code-block-hljs-attr(type-background);
|
|
314
|
+
color: kbq-code-block-hljs-attr(type-color);
|
|
329
315
|
}
|
|
330
316
|
|
|
331
317
|
.hljs-variable {
|
|
332
|
-
background-color: kbq-code-block-hljs-attr(variable-background
|
|
333
|
-
color: kbq-code-block-hljs-attr(variable-color
|
|
318
|
+
background-color: kbq-code-block-hljs-attr(variable-background);
|
|
319
|
+
color: kbq-code-block-hljs-attr(variable-color);
|
|
334
320
|
}
|
|
335
321
|
|
|
336
322
|
.hljs-variable-constant {
|
|
337
|
-
background-color: kbq-code-block-hljs-attr(variable-constant-background
|
|
338
|
-
color: kbq-code-block-hljs-attr(variable-constant-color
|
|
323
|
+
background-color: kbq-code-block-hljs-attr(variable-constant-background);
|
|
324
|
+
color: kbq-code-block-hljs-attr(variable-constant-color);
|
|
339
325
|
}
|
|
340
326
|
|
|
341
327
|
.hljs-variable-language {
|
|
342
|
-
background-color: kbq-code-block-hljs-attr(variable-language-background
|
|
343
|
-
color: kbq-code-block-hljs-attr(variable-language-color
|
|
328
|
+
background-color: kbq-code-block-hljs-attr(variable-language-background);
|
|
329
|
+
color: kbq-code-block-hljs-attr(variable-language-color);
|
|
344
330
|
}
|
|
345
331
|
|
|
346
332
|
.hljs-ln-n {
|
|
347
|
-
color: kbq-code-block-hljs-attr(line-numbers-color
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.hljs-line-numbers {
|
|
351
|
-
color: map.get($code-block, main-code-color);
|
|
333
|
+
color: kbq-code-block-hljs-attr(line-numbers-color);
|
|
352
334
|
}
|
|
353
335
|
|
|
354
336
|
&.kbq-code-block_outline {
|
|
355
|
-
@include kbq-code-block-style(
|
|
337
|
+
@include kbq-code-block-style(outline);
|
|
356
338
|
}
|
|
357
339
|
|
|
358
340
|
&.kbq-code-block_filled {
|
|
359
|
-
@include kbq-code-block-style(
|
|
341
|
+
@include kbq-code-block-style(filled);
|
|
360
342
|
}
|
|
361
343
|
|
|
362
344
|
.kbq-tab-header {
|
|
@@ -369,19 +351,18 @@
|
|
|
369
351
|
.kbq-tab-group.kbq-focused {
|
|
370
352
|
// paint focus border from the top since because of border constraints
|
|
371
353
|
.kbq-tab-header {
|
|
372
|
-
box-shadow: 0 2px 0 -1px kbq-css-variable(states-focused-color
|
|
354
|
+
box-shadow: 0 2px 0 -1px kbq-css-variable(states-focused-color);
|
|
373
355
|
}
|
|
374
356
|
|
|
375
357
|
.kbq-tab-body__wrapper {
|
|
376
|
-
border-color: kbq-css-variable(states-focused-color
|
|
377
|
-
box-shadow: inset 0 0 0.1 1px
|
|
378
|
-
kbq-css-variable(states-focused-color, map.get($theme, states, focused-color));
|
|
358
|
+
border-color: kbq-css-variable(states-focused-color);
|
|
359
|
+
box-shadow: inset 0 0 0.1 1px kbq-css-variable(states-focused-color);
|
|
379
360
|
}
|
|
380
361
|
}
|
|
381
362
|
}
|
|
382
363
|
}
|
|
383
364
|
|
|
384
|
-
@mixin kbq-code-block-typography(
|
|
365
|
+
@mixin kbq-code-block-typography() {
|
|
385
366
|
.kbq-code-block {
|
|
386
367
|
@include kbq-typography-css-variables(code-block, default);
|
|
387
368
|
|