@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
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
.kbq-code-block {
|
|
2
|
+
--kbq-code-block-size-container-border-width: 1px;
|
|
3
|
+
--kbq-code-block-size-container-border-radius: 12px;
|
|
4
|
+
--kbq-code-block-size-with-header-content-padding-top: 4px;
|
|
5
|
+
--kbq-code-block-size-with-header-content-padding-bottom: 16px;
|
|
6
|
+
--kbq-code-block-size-with-header-content-padding-horizontal: 20px;
|
|
7
|
+
--kbq-code-block-size-with-header-content-content-gap-horizontal: 12px;
|
|
8
|
+
--kbq-code-block-size-no-header-content-padding-vertical: 14px;
|
|
9
|
+
--kbq-code-block-size-no-header-content-padding-horizontal: 20px;
|
|
10
|
+
--kbq-code-block-size-no-header-content-content-gap-horizontal: 12px;
|
|
11
|
+
--kbq-code-block-size-header-padding-vertical: 8px;
|
|
12
|
+
--kbq-code-block-size-header-padding-left: 12px;
|
|
13
|
+
--kbq-code-block-size-header-padding-right: 8px;
|
|
14
|
+
--kbq-code-block-size-header-content-gap-horizontal: 16px;
|
|
15
|
+
--kbq-code-block-size-actionbar-content-gap-horizontal: 2px;
|
|
16
|
+
--kbq-code-block-size-actionbar-padding-vertical: 8px;
|
|
17
|
+
--kbq-code-block-size-actionbar-padding-horizontal: 12px;
|
|
18
|
+
--kbq-code-block-size-actionbar-fade-gradient-width: 32px;
|
|
19
|
+
--kbq-code-block-size-collapse-expanded-padding-top: 0;
|
|
20
|
+
--kbq-code-block-size-collapse-expanded-padding-bottom: 16px;
|
|
21
|
+
--kbq-code-block-size-collapse-collapsed-padding-top: 32px;
|
|
22
|
+
--kbq-code-block-size-collapse-collapsed-padding-bottom: 16px;
|
|
23
|
+
--kbq-code-block-font-default-font-size: 14px;
|
|
24
|
+
--kbq-code-block-font-default-line-height: 20px;
|
|
25
|
+
--kbq-code-block-font-default-letter-spacing: normal;
|
|
26
|
+
--kbq-code-block-font-default-font-weight: normal;
|
|
27
|
+
--kbq-code-block-font-default-font-family: 'JetBrains Mono', 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
|
|
28
|
+
--kbq-code-block-font-default-text-transform: null;
|
|
29
|
+
--kbq-code-block-font-default-font-feature-settings: initial;
|
|
30
|
+
--kbq-code-block-font-hljs-addition-font-style: null;
|
|
31
|
+
--kbq-code-block-font-hljs-addition-font-weight: null;
|
|
32
|
+
--kbq-code-block-font-hljs-attr-font-style: null;
|
|
33
|
+
--kbq-code-block-font-hljs-attr-font-weight: null;
|
|
34
|
+
--kbq-code-block-font-hljs-attribute-font-style: null;
|
|
35
|
+
--kbq-code-block-font-hljs-attribute-font-weight: null;
|
|
36
|
+
--kbq-code-block-font-hljs-built-in-font-style: null;
|
|
37
|
+
--kbq-code-block-font-hljs-built-in-font-weight: null;
|
|
38
|
+
--kbq-code-block-font-hljs-bullet-font-style: null;
|
|
39
|
+
--kbq-code-block-font-hljs-bullet-font-weight: null;
|
|
40
|
+
--kbq-code-block-font-hljs-char-escape-font-style: null;
|
|
41
|
+
--kbq-code-block-font-hljs-char-escape-font-weight: null;
|
|
42
|
+
--kbq-code-block-font-hljs-class-font-style: null;
|
|
43
|
+
--kbq-code-block-font-hljs-class-font-weight: null;
|
|
44
|
+
--kbq-code-block-font-hljs-code-font-style: null;
|
|
45
|
+
--kbq-code-block-font-hljs-code-font-weight: null;
|
|
46
|
+
--kbq-code-block-font-hljs-comment-font-style: null;
|
|
47
|
+
--kbq-code-block-font-hljs-comment-font-weight: null;
|
|
48
|
+
--kbq-code-block-font-hljs-deletion-font-style: null;
|
|
49
|
+
--kbq-code-block-font-hljs-deletion-font-weight: null;
|
|
50
|
+
--kbq-code-block-font-hljs-doctag-font-style: null;
|
|
51
|
+
--kbq-code-block-font-hljs-doctag-font-weight: null;
|
|
52
|
+
--kbq-code-block-font-hljs-emphasis-font-style: null;
|
|
53
|
+
--kbq-code-block-font-hljs-emphasis-font-weight: null;
|
|
54
|
+
--kbq-code-block-font-hljs-formula-font-style: null;
|
|
55
|
+
--kbq-code-block-font-hljs-formula-font-weight: null;
|
|
56
|
+
--kbq-code-block-font-hljs-function-font-style: null;
|
|
57
|
+
--kbq-code-block-font-hljs-function-font-weight: null;
|
|
58
|
+
--kbq-code-block-font-hljs-keyword-font-style: null;
|
|
59
|
+
--kbq-code-block-font-hljs-keyword-font-weight: null;
|
|
60
|
+
--kbq-code-block-font-hljs-link-font-style: null;
|
|
61
|
+
--kbq-code-block-font-hljs-link-font-weight: null;
|
|
62
|
+
--kbq-code-block-font-hljs-literal-font-style: null;
|
|
63
|
+
--kbq-code-block-font-hljs-literal-font-weight: null;
|
|
64
|
+
--kbq-code-block-font-hljs-meta-font-style: null;
|
|
65
|
+
--kbq-code-block-font-hljs-meta-font-weight: null;
|
|
66
|
+
--kbq-code-block-font-hljs-meta-keyword-font-style: null;
|
|
67
|
+
--kbq-code-block-font-hljs-meta-keyword-font-weight: null;
|
|
68
|
+
--kbq-code-block-font-hljs-meta-string-font-style: null;
|
|
69
|
+
--kbq-code-block-font-hljs-meta-string-font-weight: null;
|
|
70
|
+
--kbq-code-block-font-hljs-meta-prompt-font-style: null;
|
|
71
|
+
--kbq-code-block-font-hljs-meta-prompt-font-weight: null;
|
|
72
|
+
--kbq-code-block-font-hljs-name-font-style: null;
|
|
73
|
+
--kbq-code-block-font-hljs-name-font-weight: null;
|
|
74
|
+
--kbq-code-block-font-hljs-number-font-style: null;
|
|
75
|
+
--kbq-code-block-font-hljs-number-font-weight: null;
|
|
76
|
+
--kbq-code-block-font-hljs-operator-font-style: null;
|
|
77
|
+
--kbq-code-block-font-hljs-operator-font-weight: null;
|
|
78
|
+
--kbq-code-block-font-hljs-params-font-style: null;
|
|
79
|
+
--kbq-code-block-font-hljs-params-font-weight: null;
|
|
80
|
+
--kbq-code-block-font-hljs-property-font-style: null;
|
|
81
|
+
--kbq-code-block-font-hljs-property-font-weight: null;
|
|
82
|
+
--kbq-code-block-font-hljs-punctuation-font-style: null;
|
|
83
|
+
--kbq-code-block-font-hljs-punctuation-font-weight: null;
|
|
84
|
+
--kbq-code-block-font-hljs-quote-font-style: null;
|
|
85
|
+
--kbq-code-block-font-hljs-quote-font-weight: null;
|
|
86
|
+
--kbq-code-block-font-hljs-regexp-font-style: null;
|
|
87
|
+
--kbq-code-block-font-hljs-regexp-font-weight: null;
|
|
88
|
+
--kbq-code-block-font-hljs-section-font-style: null;
|
|
89
|
+
--kbq-code-block-font-hljs-section-font-weight: null;
|
|
90
|
+
--kbq-code-block-font-hljs-selector-attr-font-style: null;
|
|
91
|
+
--kbq-code-block-font-hljs-selector-attr-font-weight: null;
|
|
92
|
+
--kbq-code-block-font-hljs-selector-class-font-style: null;
|
|
93
|
+
--kbq-code-block-font-hljs-selector-class-font-weight: null;
|
|
94
|
+
--kbq-code-block-font-hljs-selector-id-font-style: null;
|
|
95
|
+
--kbq-code-block-font-hljs-selector-id-font-weight: null;
|
|
96
|
+
--kbq-code-block-font-hljs-selector-pseudo-font-style: null;
|
|
97
|
+
--kbq-code-block-font-hljs-selector-pseudo-font-weight: null;
|
|
98
|
+
--kbq-code-block-font-hljs-selector-tag-font-style: null;
|
|
99
|
+
--kbq-code-block-font-hljs-selector-tag-font-weight: null;
|
|
100
|
+
--kbq-code-block-font-hljs-string-font-style: null;
|
|
101
|
+
--kbq-code-block-font-hljs-string-font-weight: null;
|
|
102
|
+
--kbq-code-block-font-hljs-strong-font-style: null;
|
|
103
|
+
--kbq-code-block-font-hljs-strong-font-weight: null;
|
|
104
|
+
--kbq-code-block-font-hljs-subst-font-style: null;
|
|
105
|
+
--kbq-code-block-font-hljs-subst-font-weight: null;
|
|
106
|
+
--kbq-code-block-font-hljs-symbol-font-style: null;
|
|
107
|
+
--kbq-code-block-font-hljs-symbol-font-weight: null;
|
|
108
|
+
--kbq-code-block-font-hljs-tag-font-style: null;
|
|
109
|
+
--kbq-code-block-font-hljs-tag-font-weight: null;
|
|
110
|
+
--kbq-code-block-font-hljs-template-tag-font-style: null;
|
|
111
|
+
--kbq-code-block-font-hljs-template-tag-font-weight: null;
|
|
112
|
+
--kbq-code-block-font-hljs-template-variable-font-style: null;
|
|
113
|
+
--kbq-code-block-font-hljs-template-variable-font-weight: null;
|
|
114
|
+
--kbq-code-block-font-hljs-title-font-style: null;
|
|
115
|
+
--kbq-code-block-font-hljs-title-font-weight: null;
|
|
116
|
+
--kbq-code-block-font-hljs-title-class-font-style: normal;
|
|
117
|
+
--kbq-code-block-font-hljs-title-class-font-weight: 500;
|
|
118
|
+
--kbq-code-block-font-hljs-title-class-inherited-font-style: null;
|
|
119
|
+
--kbq-code-block-font-hljs-title-class-inherited-font-weight: null;
|
|
120
|
+
--kbq-code-block-font-hljs-title-function-font-style: null;
|
|
121
|
+
--kbq-code-block-font-hljs-title-function-font-weight: null;
|
|
122
|
+
--kbq-code-block-font-hljs-title-function-invoke-font-style: null;
|
|
123
|
+
--kbq-code-block-font-hljs-title-function-invoke-font-weight: null;
|
|
124
|
+
--kbq-code-block-font-hljs-type-font-style: null;
|
|
125
|
+
--kbq-code-block-font-hljs-type-font-weight: null;
|
|
126
|
+
--kbq-code-block-font-hljs-variable-font-style: null;
|
|
127
|
+
--kbq-code-block-font-hljs-variable-font-weight: null;
|
|
128
|
+
--kbq-code-block-font-hljs-variable-constant-font-style: null;
|
|
129
|
+
--kbq-code-block-font-hljs-variable-constant-font-weight: null;
|
|
130
|
+
--kbq-code-block-font-hljs-variable-language-font-style: null;
|
|
131
|
+
--kbq-code-block-font-hljs-variable-language-font-weight: null;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
135
|
+
--kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
|
|
136
|
+
--kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
|
|
137
|
+
--kbq-code-block-filled-container-background: hsla(229, 15%, 95%, 100%);
|
|
138
|
+
--kbq-code-block-filled-container-border-color: transparent;
|
|
139
|
+
--kbq-code-block-filled-header-background: hsla(229, 15%, 95%, 100%);
|
|
140
|
+
--kbq-code-block-filled-header-shadow: 0px 1px 0px 0px hsla(229, 15%, 6%, 12%);
|
|
141
|
+
--kbq-code-block-filled-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 95%, 100%));
|
|
142
|
+
--kbq-code-block-filled-actionbar-background: hsla(229, 15%, 95%, 100%);
|
|
143
|
+
--kbq-code-block-filled-collapse-expanded-background: transparent;
|
|
144
|
+
--kbq-code-block-filled-collapse-collapsed-background: linear-gradient(
|
|
145
|
+
180deg,
|
|
146
|
+
hsla(225, 15%, 95%, 0%) 0%,
|
|
147
|
+
hsla(225, 15%, 95%, 100%) 100%
|
|
148
|
+
);
|
|
149
|
+
--kbq-code-block-filled-collapse-button-expand-background: hsla(229, 15%, 95%, 100%);
|
|
150
|
+
--kbq-code-block-outline-container-background: hsla(229, 15%, 100%, 100%);
|
|
151
|
+
--kbq-code-block-outline-container-border-color: hsla(229, 15%, 6%, 12%);
|
|
152
|
+
--kbq-code-block-outline-header-background: hsla(229, 15%, 100%, 100%);
|
|
153
|
+
--kbq-code-block-outline-header-shadow: 0px 1px 0px 0px hsla(229, 15%, 6%, 12%);
|
|
154
|
+
--kbq-code-block-outline-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 100%, 100%));
|
|
155
|
+
--kbq-code-block-outline-actionbar-background: hsla(229, 15%, 100%, 100%);
|
|
156
|
+
--kbq-code-block-outline-collapse-expanded-background: transparent;
|
|
157
|
+
--kbq-code-block-outline-collapse-collapsed-background: linear-gradient(
|
|
158
|
+
180deg,
|
|
159
|
+
hsla(0, 0%, 100%, 0%) 0%,
|
|
160
|
+
hsla(0, 0%, 100%, 100%) 100%
|
|
161
|
+
);
|
|
162
|
+
--kbq-code-block-outline-collapse-button-expand-background: hsla(229, 15%, 100%, 100%);
|
|
163
|
+
--kbq-code-block-hljs-addition-background: hsla(104, 64%, 95%, 100%);
|
|
164
|
+
--kbq-code-block-hljs-addition-color: hsla(104, 64%, 25%, 100%);
|
|
165
|
+
--kbq-code-block-hljs-attr-background: null;
|
|
166
|
+
--kbq-code-block-hljs-attr-color: null;
|
|
167
|
+
--kbq-code-block-hljs-attribute-background: null;
|
|
168
|
+
--kbq-code-block-hljs-attribute-color: null;
|
|
169
|
+
--kbq-code-block-hljs-built-in-background: null;
|
|
170
|
+
--kbq-code-block-hljs-built-in-color: null;
|
|
171
|
+
--kbq-code-block-hljs-bullet-background: null;
|
|
172
|
+
--kbq-code-block-hljs-bullet-color: null;
|
|
173
|
+
--kbq-code-block-hljs-char-escape-background: null;
|
|
174
|
+
--kbq-code-block-hljs-char-escape-color: null;
|
|
175
|
+
--kbq-code-block-hljs-class-background: null;
|
|
176
|
+
--kbq-code-block-hljs-class-color: null;
|
|
177
|
+
--kbq-code-block-hljs-code-background: null;
|
|
178
|
+
--kbq-code-block-hljs-code-color: null;
|
|
179
|
+
--kbq-code-block-hljs-comment-background: null;
|
|
180
|
+
--kbq-code-block-hljs-comment-color: hsla(229, 15%, 60%, 100%);
|
|
181
|
+
--kbq-code-block-hljs-deletion-background: hsla(7, 97%, 95%, 100%);
|
|
182
|
+
--kbq-code-block-hljs-deletion-color: hsla(7, 97%, 35%, 100%);
|
|
183
|
+
--kbq-code-block-hljs-doctag-background: null;
|
|
184
|
+
--kbq-code-block-hljs-doctag-color: null;
|
|
185
|
+
--kbq-code-block-hljs-emphasis-background: null;
|
|
186
|
+
--kbq-code-block-hljs-emphasis-color: null;
|
|
187
|
+
--kbq-code-block-hljs-formula-background: null;
|
|
188
|
+
--kbq-code-block-hljs-formula-color: null;
|
|
189
|
+
--kbq-code-block-hljs-function-background: null;
|
|
190
|
+
--kbq-code-block-hljs-function-color: null;
|
|
191
|
+
--kbq-code-block-hljs-keyword-background: null;
|
|
192
|
+
--kbq-code-block-hljs-keyword-color: null;
|
|
193
|
+
--kbq-code-block-hljs-line-numbers-color: hsla(229, 15%, 50%, 100%);
|
|
194
|
+
--kbq-code-block-hljs-link-background: null;
|
|
195
|
+
--kbq-code-block-hljs-link-color: null;
|
|
196
|
+
--kbq-code-block-hljs-literal-background: null;
|
|
197
|
+
--kbq-code-block-hljs-literal-color: hsla(277, 72%, 30%, 100%);
|
|
198
|
+
--kbq-code-block-hljs-meta-background: null;
|
|
199
|
+
--kbq-code-block-hljs-meta-color: hsla(216, 100%, 35%, 100%);
|
|
200
|
+
--kbq-code-block-hljs-meta-keyword-background: null;
|
|
201
|
+
--kbq-code-block-hljs-meta-keyword-color: null;
|
|
202
|
+
--kbq-code-block-hljs-meta-string-background: null;
|
|
203
|
+
--kbq-code-block-hljs-meta-string-color: hsla(216, 100%, 35%, 100%);
|
|
204
|
+
--kbq-code-block-hljs-meta-prompt-background: null;
|
|
205
|
+
--kbq-code-block-hljs-meta-prompt-color: null;
|
|
206
|
+
--kbq-code-block-hljs-name-background: null;
|
|
207
|
+
--kbq-code-block-hljs-name-color: hsla(216, 100%, 35%, 100%);
|
|
208
|
+
--kbq-code-block-hljs-number-background: null;
|
|
209
|
+
--kbq-code-block-hljs-number-color: hsla(277, 72%, 30%, 100%);
|
|
210
|
+
--kbq-code-block-hljs-operator-background: null;
|
|
211
|
+
--kbq-code-block-hljs-operator-color: null;
|
|
212
|
+
--kbq-code-block-hljs-params-background: null;
|
|
213
|
+
--kbq-code-block-hljs-params-color: null;
|
|
214
|
+
--kbq-code-block-hljs-property-background: null;
|
|
215
|
+
--kbq-code-block-hljs-property-color: null;
|
|
216
|
+
--kbq-code-block-hljs-punctuation-background: null;
|
|
217
|
+
--kbq-code-block-hljs-punctuation-color: null;
|
|
218
|
+
--kbq-code-block-hljs-quote-background: null;
|
|
219
|
+
--kbq-code-block-hljs-quote-color: null;
|
|
220
|
+
--kbq-code-block-hljs-regexp-background: null;
|
|
221
|
+
--kbq-code-block-hljs-regexp-color: hsla(104, 64%, 25%, 100%);
|
|
222
|
+
--kbq-code-block-hljs-section-background: null;
|
|
223
|
+
--kbq-code-block-hljs-section-color: null;
|
|
224
|
+
--kbq-code-block-hljs-selector-attr-background: null;
|
|
225
|
+
--kbq-code-block-hljs-selector-attr-color: null;
|
|
226
|
+
--kbq-code-block-hljs-selector-class-background: null;
|
|
227
|
+
--kbq-code-block-hljs-selector-class-color: null;
|
|
228
|
+
--kbq-code-block-hljs-selector-id-background: null;
|
|
229
|
+
--kbq-code-block-hljs-selector-id-color: null;
|
|
230
|
+
--kbq-code-block-hljs-selector-pseudo-background: null;
|
|
231
|
+
--kbq-code-block-hljs-selector-pseudo-color: null;
|
|
232
|
+
--kbq-code-block-hljs-selector-tag-background: null;
|
|
233
|
+
--kbq-code-block-hljs-selector-tag-color: hsla(216, 100%, 35%, 100%);
|
|
234
|
+
--kbq-code-block-hljs-string-background: null;
|
|
235
|
+
--kbq-code-block-hljs-string-color: hsla(104, 64%, 25%, 100%);
|
|
236
|
+
--kbq-code-block-hljs-strong-background: null;
|
|
237
|
+
--kbq-code-block-hljs-strong-color: null;
|
|
238
|
+
--kbq-code-block-hljs-subst-background: null;
|
|
239
|
+
--kbq-code-block-hljs-subst-color: null;
|
|
240
|
+
--kbq-code-block-hljs-symbol-background: null;
|
|
241
|
+
--kbq-code-block-hljs-symbol-color: hsla(216, 100%, 35%, 100%);
|
|
242
|
+
--kbq-code-block-hljs-tag-background: null;
|
|
243
|
+
--kbq-code-block-hljs-tag-color: null;
|
|
244
|
+
--kbq-code-block-hljs-template-tag-background: null;
|
|
245
|
+
--kbq-code-block-hljs-template-tag-color: null;
|
|
246
|
+
--kbq-code-block-hljs-template-variable-background: null;
|
|
247
|
+
--kbq-code-block-hljs-template-variable-color: null;
|
|
248
|
+
--kbq-code-block-hljs-title-background: null;
|
|
249
|
+
--kbq-code-block-hljs-title-color: hsla(216, 100%, 35%, 100%);
|
|
250
|
+
--kbq-code-block-hljs-title-class-background: null;
|
|
251
|
+
--kbq-code-block-hljs-title-class-color: null;
|
|
252
|
+
--kbq-code-block-hljs-title-class-inherited-background: null;
|
|
253
|
+
--kbq-code-block-hljs-title-class-inherited-color: null;
|
|
254
|
+
--kbq-code-block-hljs-title-function-background: null;
|
|
255
|
+
--kbq-code-block-hljs-title-function-color: null;
|
|
256
|
+
--kbq-code-block-hljs-title-function-invoke-background: null;
|
|
257
|
+
--kbq-code-block-hljs-title-function-invoke-color: null;
|
|
258
|
+
--kbq-code-block-hljs-type-background: null;
|
|
259
|
+
--kbq-code-block-hljs-type-color: null;
|
|
260
|
+
--kbq-code-block-hljs-variable-background: null;
|
|
261
|
+
--kbq-code-block-hljs-variable-color: null;
|
|
262
|
+
--kbq-code-block-hljs-variable-constant-background: null;
|
|
263
|
+
--kbq-code-block-hljs-variable-constant-color: null;
|
|
264
|
+
--kbq-code-block-hljs-variable-language-background: null;
|
|
265
|
+
--kbq-code-block-hljs-variable-language-color: null;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
269
|
+
--kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
|
|
270
|
+
--kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
|
|
271
|
+
--kbq-code-block-filled-container-background: hsla(229, 15%, 16%, 100%);
|
|
272
|
+
--kbq-code-block-filled-container-border-color: hsla(229, 15%, 22%, 100%);
|
|
273
|
+
--kbq-code-block-filled-header-background: hsla(229, 15%, 16%, 100%);
|
|
274
|
+
--kbq-code-block-filled-header-shadow: 0px 1px 0px 0px hsla(229, 100%, 85%, 15%);
|
|
275
|
+
--kbq-code-block-filled-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 16%, 100%));
|
|
276
|
+
--kbq-code-block-filled-actionbar-background: hsla(229, 15%, 16%, 100%);
|
|
277
|
+
--kbq-code-block-filled-collapse-expanded-background: transparent;
|
|
278
|
+
--kbq-code-block-filled-collapse-collapsed-background: linear-gradient(
|
|
279
|
+
180deg,
|
|
280
|
+
hsla(229, 15%, 15%, 0%) 0%,
|
|
281
|
+
hsla(229, 15%, 15%, 1%) 100%
|
|
282
|
+
);
|
|
283
|
+
--kbq-code-block-filled-collapse-button-expand-background: hsla(229, 15%, 16%, 100%);
|
|
284
|
+
--kbq-code-block-outline-container-background: hsla(229, 15%, 15%, 100%);
|
|
285
|
+
--kbq-code-block-outline-container-border-color: transparent;
|
|
286
|
+
--kbq-code-block-outline-header-background: hsla(229, 15%, 15%, 100%);
|
|
287
|
+
--kbq-code-block-outline-header-shadow: 0px 1px 0px 0px hsla(229, 100%, 85%, 15%);
|
|
288
|
+
--kbq-code-block-outline-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 15%, 100%));
|
|
289
|
+
--kbq-code-block-outline-actionbar-background: hsla(229, 15%, 15%, 100%);
|
|
290
|
+
--kbq-code-block-outline-collapse-expanded-background: transparent;
|
|
291
|
+
--kbq-code-block-outline-collapse-collapsed-background: linear-gradient(
|
|
292
|
+
180deg,
|
|
293
|
+
hsla(229, 15%, 12%, 0%) 0%,
|
|
294
|
+
hsla(229, 15%, 12%, 1%) 100%
|
|
295
|
+
);
|
|
296
|
+
--kbq-code-block-outline-collapse-button-expand-background: hsla(229, 15%, 15%, 100%);
|
|
297
|
+
--kbq-code-block-hljs-addition-background: hsla(104, 64%, 95%, 100%);
|
|
298
|
+
--kbq-code-block-hljs-addition-color: hsla(104, 64%, 25%, 100%);
|
|
299
|
+
--kbq-code-block-hljs-attr-background: null;
|
|
300
|
+
--kbq-code-block-hljs-attr-color: null;
|
|
301
|
+
--kbq-code-block-hljs-attribute-background: null;
|
|
302
|
+
--kbq-code-block-hljs-attribute-color: null;
|
|
303
|
+
--kbq-code-block-hljs-built-in-background: null;
|
|
304
|
+
--kbq-code-block-hljs-built-in-color: null;
|
|
305
|
+
--kbq-code-block-hljs-bullet-background: null;
|
|
306
|
+
--kbq-code-block-hljs-bullet-color: null;
|
|
307
|
+
--kbq-code-block-hljs-char-escape-background: null;
|
|
308
|
+
--kbq-code-block-hljs-char-escape-color: null;
|
|
309
|
+
--kbq-code-block-hljs-class-background: null;
|
|
310
|
+
--kbq-code-block-hljs-class-color: null;
|
|
311
|
+
--kbq-code-block-hljs-code-background: null;
|
|
312
|
+
--kbq-code-block-hljs-code-color: null;
|
|
313
|
+
--kbq-code-block-hljs-comment-background: null;
|
|
314
|
+
--kbq-code-block-hljs-comment-color: hsla(229, 15%, 60%, 100%);
|
|
315
|
+
--kbq-code-block-hljs-deletion-background: hsla(7, 97%, 95%, 100%);
|
|
316
|
+
--kbq-code-block-hljs-deletion-color: hsla(7, 97%, 35%, 100%);
|
|
317
|
+
--kbq-code-block-hljs-doctag-background: null;
|
|
318
|
+
--kbq-code-block-hljs-doctag-color: null;
|
|
319
|
+
--kbq-code-block-hljs-emphasis-background: null;
|
|
320
|
+
--kbq-code-block-hljs-emphasis-color: null;
|
|
321
|
+
--kbq-code-block-hljs-formula-background: null;
|
|
322
|
+
--kbq-code-block-hljs-formula-color: null;
|
|
323
|
+
--kbq-code-block-hljs-function-background: null;
|
|
324
|
+
--kbq-code-block-hljs-function-color: null;
|
|
325
|
+
--kbq-code-block-hljs-keyword-background: null;
|
|
326
|
+
--kbq-code-block-hljs-keyword-color: null;
|
|
327
|
+
--kbq-code-block-hljs-line-numbers-color: hsla(229, 15%, 60%, 100%);
|
|
328
|
+
--kbq-code-block-hljs-link-background: null;
|
|
329
|
+
--kbq-code-block-hljs-link-color: null;
|
|
330
|
+
--kbq-code-block-hljs-literal-background: null;
|
|
331
|
+
--kbq-code-block-hljs-literal-color: hsla(277, 72%, 60%, 100%);
|
|
332
|
+
--kbq-code-block-hljs-meta-background: null;
|
|
333
|
+
--kbq-code-block-hljs-meta-color: hsla(216, 100%, 65%, 100%);
|
|
334
|
+
--kbq-code-block-hljs-meta-keyword-background: null;
|
|
335
|
+
--kbq-code-block-hljs-meta-keyword-color: null;
|
|
336
|
+
--kbq-code-block-hljs-meta-string-background: null;
|
|
337
|
+
--kbq-code-block-hljs-meta-string-color: hsla(216, 100%, 65%, 100%);
|
|
338
|
+
--kbq-code-block-hljs-meta-prompt-background: null;
|
|
339
|
+
--kbq-code-block-hljs-meta-prompt-color: null;
|
|
340
|
+
--kbq-code-block-hljs-name-background: null;
|
|
341
|
+
--kbq-code-block-hljs-name-color: hsla(216, 100%, 65%, 100%);
|
|
342
|
+
--kbq-code-block-hljs-number-background: null;
|
|
343
|
+
--kbq-code-block-hljs-number-color: hsla(277, 72%, 60%, 100%);
|
|
344
|
+
--kbq-code-block-hljs-operator-background: null;
|
|
345
|
+
--kbq-code-block-hljs-operator-color: null;
|
|
346
|
+
--kbq-code-block-hljs-params-background: null;
|
|
347
|
+
--kbq-code-block-hljs-params-color: null;
|
|
348
|
+
--kbq-code-block-hljs-property-background: null;
|
|
349
|
+
--kbq-code-block-hljs-property-color: null;
|
|
350
|
+
--kbq-code-block-hljs-punctuation-background: null;
|
|
351
|
+
--kbq-code-block-hljs-punctuation-color: null;
|
|
352
|
+
--kbq-code-block-hljs-quote-background: null;
|
|
353
|
+
--kbq-code-block-hljs-quote-color: null;
|
|
354
|
+
--kbq-code-block-hljs-regexp-background: null;
|
|
355
|
+
--kbq-code-block-hljs-regexp-color: hsla(104, 64%, 40%, 100%);
|
|
356
|
+
--kbq-code-block-hljs-section-background: null;
|
|
357
|
+
--kbq-code-block-hljs-section-color: null;
|
|
358
|
+
--kbq-code-block-hljs-selector-attr-background: null;
|
|
359
|
+
--kbq-code-block-hljs-selector-attr-color: null;
|
|
360
|
+
--kbq-code-block-hljs-selector-class-background: null;
|
|
361
|
+
--kbq-code-block-hljs-selector-class-color: null;
|
|
362
|
+
--kbq-code-block-hljs-selector-id-background: null;
|
|
363
|
+
--kbq-code-block-hljs-selector-id-color: null;
|
|
364
|
+
--kbq-code-block-hljs-selector-pseudo-background: null;
|
|
365
|
+
--kbq-code-block-hljs-selector-pseudo-color: null;
|
|
366
|
+
--kbq-code-block-hljs-selector-tag-background: null;
|
|
367
|
+
--kbq-code-block-hljs-selector-tag-color: hsla(216, 100%, 65%, 100%);
|
|
368
|
+
--kbq-code-block-hljs-string-background: null;
|
|
369
|
+
--kbq-code-block-hljs-string-color: hsla(104, 64%, 40%, 100%);
|
|
370
|
+
--kbq-code-block-hljs-strong-background: null;
|
|
371
|
+
--kbq-code-block-hljs-strong-color: null;
|
|
372
|
+
--kbq-code-block-hljs-subst-background: null;
|
|
373
|
+
--kbq-code-block-hljs-subst-color: null;
|
|
374
|
+
--kbq-code-block-hljs-symbol-background: null;
|
|
375
|
+
--kbq-code-block-hljs-symbol-color: hsla(216, 100%, 65%, 100%);
|
|
376
|
+
--kbq-code-block-hljs-tag-background: null;
|
|
377
|
+
--kbq-code-block-hljs-tag-color: null;
|
|
378
|
+
--kbq-code-block-hljs-template-tag-background: null;
|
|
379
|
+
--kbq-code-block-hljs-template-tag-color: null;
|
|
380
|
+
--kbq-code-block-hljs-template-variable-background: null;
|
|
381
|
+
--kbq-code-block-hljs-template-variable-color: null;
|
|
382
|
+
--kbq-code-block-hljs-title-background: null;
|
|
383
|
+
--kbq-code-block-hljs-title-color: hsla(216, 100%, 65%, 100%);
|
|
384
|
+
--kbq-code-block-hljs-title-class-background: null;
|
|
385
|
+
--kbq-code-block-hljs-title-class-color: null;
|
|
386
|
+
--kbq-code-block-hljs-title-class-inherited-background: null;
|
|
387
|
+
--kbq-code-block-hljs-title-class-inherited-color: null;
|
|
388
|
+
--kbq-code-block-hljs-title-function-background: null;
|
|
389
|
+
--kbq-code-block-hljs-title-function-color: null;
|
|
390
|
+
--kbq-code-block-hljs-title-function-invoke-background: null;
|
|
391
|
+
--kbq-code-block-hljs-title-function-invoke-color: null;
|
|
392
|
+
--kbq-code-block-hljs-type-background: null;
|
|
393
|
+
--kbq-code-block-hljs-type-color: null;
|
|
394
|
+
--kbq-code-block-hljs-variable-background: null;
|
|
395
|
+
--kbq-code-block-hljs-variable-color: null;
|
|
396
|
+
--kbq-code-block-hljs-variable-constant-background: null;
|
|
397
|
+
--kbq-code-block-hljs-variable-constant-color: null;
|
|
398
|
+
--kbq-code-block-hljs-variable-language-background: null;
|
|
399
|
+
--kbq-code-block-hljs-variable-language-color: null;
|
|
400
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
|
-
@use '../core/styles/tokens';
|
|
4
3
|
@use '../core/styles/common/tokens' as *;
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
@use './code-block-theme' as *;
|
|
7
6
|
|
|
8
7
|
$border-radius: kbq-css-variable(code-block-size-container-border-radius);
|
|
9
8
|
$border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
@@ -199,3 +198,6 @@ $border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
|
199
198
|
border-radius: kbq-css-variable(button-size-border-radius);
|
|
200
199
|
}
|
|
201
200
|
}
|
|
201
|
+
|
|
202
|
+
@include kbq-code-block-theme();
|
|
203
|
+
@include kbq-code-block-typography();
|
|
@@ -6,6 +6,22 @@ export interface KbqTheme {
|
|
|
6
6
|
className: string;
|
|
7
7
|
selected: boolean;
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Enum representing the available themes for the Koobiq design system.
|
|
11
|
+
* This enum is used to manage and switch between different visual themes.
|
|
12
|
+
*/
|
|
13
|
+
export declare enum KbqThemeSelector {
|
|
14
|
+
/**
|
|
15
|
+
* Represents the default light theme.
|
|
16
|
+
* This is the standard theme that is applied
|
|
17
|
+
* when the application is first loaded if nothing else provided
|
|
18
|
+
*/
|
|
19
|
+
Default = "kbq-theme-light",
|
|
20
|
+
/**
|
|
21
|
+
* This theme is used to provide a darker visual experience, often preferred in low-light environments.
|
|
22
|
+
*/
|
|
23
|
+
Dark = "kbq-theme-dark"
|
|
24
|
+
}
|
|
9
25
|
export declare const KbqDefaultThemes: KbqTheme[];
|
|
10
26
|
export declare class ThemeService<T extends KbqTheme | null = KbqTheme> implements OnDestroy {
|
|
11
27
|
private rendererFactory;
|
|
@@ -5,17 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
@use 'theming/scrollbar-theme' as *;
|
|
7
7
|
|
|
8
|
-
@use '../../code-block/code-block-theme' as *;
|
|
9
|
-
@use '../../divider/divider-theme' as *;
|
|
10
|
-
@use '../../empty-state/empty-state-theme' as *;
|
|
11
|
-
@use '../../file-upload/file-upload-theme' as *;
|
|
12
8
|
@use '../../link/link-theme' as *;
|
|
13
|
-
@use '../../list/list-theme' as *;
|
|
14
|
-
@use '../../loader-overlay/loader-overlay-theme' as *;
|
|
15
|
-
@use '../../modal/modal-theme' as *;
|
|
16
9
|
@use '../../markdown/markdown-theme' as *;
|
|
17
|
-
@use '../../navbar/navbar-theme' as *;
|
|
18
|
-
@use '../../popover/popover-theme' as *;
|
|
19
10
|
@use '../../progress-bar/progress-bar-theme' as *;
|
|
20
11
|
@use '../../progress-spinner/progress-spinner-theme' as *;
|
|
21
12
|
@use '../../radio/radio-theme' as *;
|
|
@@ -27,41 +18,23 @@
|
|
|
27
18
|
@use '../../tabs/tabs-theme' as *;
|
|
28
19
|
@use '../../tags/tag-theme' as *;
|
|
29
20
|
@use '../../textarea/textarea-theme' as *;
|
|
30
|
-
@use '../../timezone/timezone-option-theme' as *;
|
|
31
|
-
@use '../../toast/toast-theme' as *;
|
|
32
|
-
@use '../../toggle/toggle-theme' as *;
|
|
33
|
-
@use '../../tooltip/tooltip-theme' as *;
|
|
34
|
-
@use '../../tree-select/tree-select-theme' as *;
|
|
35
|
-
@use '../../tree/tree-theme' as *;
|
|
36
|
-
@use '../../table/table-theme' as *;
|
|
37
21
|
@use '../forms/forms-theme' as *;
|
|
38
22
|
@use '../option/option-theme' as *;
|
|
39
23
|
@use '../option/optgroup-theme' as *;
|
|
40
24
|
@use '../option/option-action-theme' as *;
|
|
41
25
|
@use '../highlight/highlight-theme' as *;
|
|
42
|
-
@use '../../dl/dl-theme' as *;
|
|
43
26
|
|
|
44
27
|
@mixin koobiq-theme($theme) {
|
|
45
28
|
@include kbq-core-theme($theme);
|
|
46
29
|
|
|
47
|
-
@include kbq-code-block-theme($theme);
|
|
48
|
-
@include kbq-dl-theme($theme);
|
|
49
|
-
@include kbq-divider-theme($theme);
|
|
50
|
-
@include kbq-empty-state-theme($theme);
|
|
51
|
-
@include kbq-file-upload-theme($theme);
|
|
52
30
|
@include kbq-forms-theme($theme);
|
|
53
31
|
@include kbq-highlight-theme();
|
|
54
32
|
// link is a directive, so styles for it should be applied globally
|
|
55
33
|
@include kbq-link-theme();
|
|
56
|
-
@include kbq-
|
|
57
|
-
@include kbq-loader-overlay-theme($theme);
|
|
58
|
-
@include kbq-modal-theme($theme);
|
|
59
|
-
@include kbq-markdown-theme($theme);
|
|
60
|
-
@include kbq-navbar-theme($theme);
|
|
34
|
+
@include kbq-markdown-theme();
|
|
61
35
|
@include kbq-option-theme($theme);
|
|
62
36
|
@include kbq-optgroup-theme($theme);
|
|
63
37
|
@include kbq-option-action-theme($theme);
|
|
64
|
-
@include kbq-popover-theme($theme);
|
|
65
38
|
@include kbq-progress-bar-theme($theme);
|
|
66
39
|
@include kbq-progress-spinner-theme($theme);
|
|
67
40
|
@include kbq-radio-theme($theme);
|
|
@@ -73,13 +46,6 @@
|
|
|
73
46
|
@include kbq-splitter-theme($theme);
|
|
74
47
|
@include kbq-tabs-theme($theme);
|
|
75
48
|
@include kbq-tag-theme($theme);
|
|
76
|
-
@include kbq-timezone-option-theme($theme);
|
|
77
|
-
@include kbq-toast-theme($theme);
|
|
78
|
-
@include kbq-toggle-theme($theme);
|
|
79
|
-
@include kbq-tooltip-theme($theme);
|
|
80
|
-
@include kbq-tree-select-theme($theme);
|
|
81
|
-
@include kbq-tree-theme($theme);
|
|
82
|
-
@include kbq-table-theme($theme);
|
|
83
49
|
}
|
|
84
50
|
|
|
85
51
|
@mixin koobiq-typography($tokens, $config: null, $md-config: null) {
|
|
@@ -87,25 +53,13 @@
|
|
|
87
53
|
$config: kbq-typography-config($tokens);
|
|
88
54
|
}
|
|
89
55
|
|
|
90
|
-
@if not $md-config {
|
|
91
|
-
$md-config: kbq-markdown-typography-config($tokens);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
56
|
@include kbq-base-typography();
|
|
95
57
|
@include kbq-markdown-base-typography();
|
|
58
|
+
@include kbq-markdown-typography();
|
|
96
59
|
|
|
97
|
-
@include kbq-code-block-typography($config);
|
|
98
|
-
@include kbq-empty-state-typography($config);
|
|
99
|
-
@include kbq-dl-typography($config);
|
|
100
|
-
@include kbq-file-upload-typography($config);
|
|
101
60
|
@include kbq-forms-typography($config);
|
|
102
|
-
@include kbq-list-typography($config);
|
|
103
|
-
@include kbq-loader-overlay-typography($config);
|
|
104
|
-
@include kbq-modal-typography($config);
|
|
105
|
-
@include kbq-navbar-typography($config);
|
|
106
61
|
@include kbq-option-typography($config);
|
|
107
62
|
@include kbq-optgroup-typography($config);
|
|
108
|
-
@include kbq-popover-typography($config);
|
|
109
63
|
@include kbq-progress-bar-typography($config);
|
|
110
64
|
@include kbq-progress-spinner-typography($config);
|
|
111
65
|
@include kbq-radio-typography($config);
|
|
@@ -114,14 +68,5 @@
|
|
|
114
68
|
@include kbq-sidepanel-typography($config);
|
|
115
69
|
@include kbq-tabs-typography($config);
|
|
116
70
|
@include kbq-tag-typography($config);
|
|
117
|
-
@include kbq-textarea-typography(
|
|
118
|
-
@include kbq-timezone-option-typography($config);
|
|
119
|
-
@include kbq-toast-typography($config);
|
|
120
|
-
@include kbq-toggle-typography($config);
|
|
121
|
-
@include kbq-tooltip-typography($config);
|
|
122
|
-
@include kbq-tree-select-typography($config);
|
|
123
|
-
@include kbq-tree-typography($config);
|
|
124
|
-
@include kbq-table-typography($config);
|
|
125
|
-
|
|
126
|
-
@include kbq-markdown-typography($md-config);
|
|
71
|
+
@include kbq-textarea-typography();
|
|
127
72
|
}
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
@use '../core/styles/common/tokens' as *;
|
|
4
4
|
|
|
5
|
-
@mixin kbq-divider-theme(
|
|
6
|
-
$divider: map.get(map.get($theme, components), divider);
|
|
7
|
-
|
|
5
|
+
@mixin kbq-divider-theme() {
|
|
8
6
|
.kbq-divider {
|
|
9
|
-
background: kbq-css-variable(divider-color
|
|
7
|
+
background: kbq-css-variable(divider-color);
|
|
10
8
|
}
|
|
11
9
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.kbq-divider {
|
|
2
|
+
--kbq-divider-size-horizontal-width: 1px;
|
|
3
|
+
--kbq-divider-size-horizontal-margin-vertical: 4px;
|
|
4
|
+
--kbq-divider-size-vertical-width: 1px;
|
|
5
|
+
--kbq-divider-size-vertical-margin-horizontal: 4px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
9
|
+
--kbq-divider-color: hsla(229, 15%, 6%, 12%);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
13
|
+
--kbq-divider-color: hsla(229, 15%, 22%, 100%);
|
|
14
|
+
}
|
package/divider/divider.scss
CHANGED
package/dl/_dl-theme.scss
CHANGED
|
@@ -4,19 +4,17 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
@mixin kbq-dl-theme(
|
|
8
|
-
$dl: map.get(map.get($theme, components), dl);
|
|
9
|
-
|
|
7
|
+
@mixin kbq-dl-theme() {
|
|
10
8
|
.kbq-dt {
|
|
11
|
-
color: kbq-css-variable(description-list-term-color
|
|
9
|
+
color: kbq-css-variable(description-list-term-color);
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
.kbq-dd {
|
|
15
|
-
color: kbq-css-variable(description-list-description-color
|
|
13
|
+
color: kbq-css-variable(description-list-description-color);
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
16
|
|
|
19
|
-
@mixin kbq-dl-typography(
|
|
17
|
+
@mixin kbq-dl-typography() {
|
|
20
18
|
.kbq-dl {
|
|
21
19
|
& .kbq-dt {
|
|
22
20
|
@include kbq-typography-css-variables(description-list, term);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.kbq-dl {
|
|
2
|
+
--kbq-description-list-size-horizontal-content-gap-horizontal: 16px;
|
|
3
|
+
--kbq-description-list-size-horizontal-gap-vertical: 16px;
|
|
4
|
+
--kbq-description-list-size-vertical-content-gap-vertical: 2px;
|
|
5
|
+
--kbq-description-list-size-vertical-gap-vertical: 12px;
|
|
6
|
+
--kbq-description-list-font-term-font-size: 14px;
|
|
7
|
+
--kbq-description-list-font-term-line-height: 20px;
|
|
8
|
+
--kbq-description-list-font-term-letter-spacing: -0.006em;
|
|
9
|
+
--kbq-description-list-font-term-font-weight: normal;
|
|
10
|
+
--kbq-description-list-font-term-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
|
|
11
|
+
Arial, sans-serif;
|
|
12
|
+
--kbq-description-list-font-term-text-transform: null;
|
|
13
|
+
--kbq-description-list-font-term-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
14
|
+
--kbq-description-list-font-description-font-size: 14px;
|
|
15
|
+
--kbq-description-list-font-description-line-height: 20px;
|
|
16
|
+
--kbq-description-list-font-description-letter-spacing: -0.006em;
|
|
17
|
+
--kbq-description-list-font-description-font-weight: normal;
|
|
18
|
+
--kbq-description-list-font-description-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
19
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
20
|
+
--kbq-description-list-font-description-text-transform: null;
|
|
21
|
+
--kbq-description-list-font-description-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
25
|
+
--kbq-description-list-term-color: hsla(229, 15%, 50%, 100%);
|
|
26
|
+
--kbq-description-list-description-color: hsla(229, 15%, 15%, 100%);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
30
|
+
--kbq-description-list-term-color: hsla(229, 15%, 50%, 100%);
|
|
31
|
+
--kbq-description-list-description-color: hsla(229, 15%, 80%, 100%);
|
|
32
|
+
}
|