@koobiq/components 18.4.1 → 18.5.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.
Files changed (291) hide show
  1. package/accordion/_accordion-theme.scss +2 -6
  2. package/accordion/accordion-tokens.scss +0 -16
  3. package/accordion/accordion-trigger.component.scss +0 -5
  4. package/accordion/accordion.component.scss +0 -5
  5. package/alert/_alert-theme.scss +3 -7
  6. package/alert/alert-tokens.scss +0 -21
  7. package/alert/alert.component.scss +0 -3
  8. package/autocomplete/_autocomplete-theme.scss +0 -6
  9. package/autocomplete/autocomplete.scss +0 -3
  10. package/badge/_badge-theme.scss +4 -8
  11. package/badge/badge-tokens.scss +0 -32
  12. package/badge/badge.component.scss +0 -3
  13. package/button/_button-base.scss +0 -3
  14. package/button/_button-theme.scss +1 -5
  15. package/button/button-tokens.scss +1 -8
  16. package/button-toggle/_button-toggle-theme.scss +1 -6
  17. package/button-toggle/button-toggle-tokens.scss +1 -8
  18. package/button-toggle/button-toggle.scss +0 -3
  19. package/checkbox/_checkbox-theme.scss +4 -7
  20. package/checkbox/checkbox-tokens.scss +0 -28
  21. package/checkbox/checkbox.scss +0 -3
  22. package/code-block/_code-block-theme.scss +1 -6
  23. package/code-block/actionbar.component.scss +0 -4
  24. package/code-block/code-block-tokens.scss +2 -9
  25. package/code-block/code-block.scss +1 -3
  26. package/core/forms/_forms-theme.scss +1 -1
  27. package/core/forms/_forms.scss +2 -2
  28. package/core/forms/forms-tokens.scss +0 -15
  29. package/core/option/_optgroup-theme.scss +1 -1
  30. package/core/option/_option-theme.scss +2 -2
  31. package/core/option/action.scss +3 -3
  32. package/core/option/option-tokens.scss +0 -100
  33. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +0 -2
  34. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +0 -28
  35. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +0 -3
  36. package/core/styles/_core.scss +0 -2
  37. package/core/styles/_koobiq-theme.scss +0 -2
  38. package/core/styles/common/_groups.scss +4 -12
  39. package/core/styles/common/_list.scss +0 -3
  40. package/core/styles/common/_popup.scss +4 -9
  41. package/core/styles/common/_select.scss +29 -39
  42. package/core/styles/common/_tokens.scss +1 -3
  43. package/core/styles/theming/_scrollbar-theme.scss +0 -3
  44. package/core/styles/visual/_layout.scss +0 -3
  45. package/datepicker/_datepicker-theme.scss +2 -7
  46. package/datepicker/calendar-body.scss +0 -8
  47. package/datepicker/calendar-header.scss +0 -5
  48. package/datepicker/calendar.scss +0 -5
  49. package/datepicker/datepicker-content.scss +0 -5
  50. package/datepicker/datepicker-input.scss +0 -3
  51. package/datepicker/datepicker-toggle.scss +0 -5
  52. package/datepicker/datepicker-tokens.scss +0 -7
  53. package/divider/_divider-theme.scss +0 -4
  54. package/divider/divider.scss +0 -5
  55. package/dl/_dl-theme.scss +2 -6
  56. package/dl/dl-tokens.scss +0 -16
  57. package/dl/dl.scss +0 -5
  58. package/dropdown/_dropdown-theme.scss +4 -8
  59. package/dropdown/dropdown-item.scss +0 -5
  60. package/dropdown/dropdown-tokens.scss +1 -88
  61. package/dropdown/dropdown.scss +0 -5
  62. package/empty-state/_empty-state-theme.scss +4 -7
  63. package/empty-state/empty-state-tokens.scss +0 -30
  64. package/empty-state/empty-state.scss +0 -4
  65. package/esm2022/accordion/accordion-trigger.component.mjs +2 -2
  66. package/esm2022/accordion/accordion.component.mjs +2 -2
  67. package/esm2022/alert/alert.component.mjs +2 -2
  68. package/esm2022/badge/badge.component.mjs +2 -2
  69. package/esm2022/button/button.component.mjs +2 -2
  70. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  71. package/esm2022/checkbox/checkbox.mjs +2 -2
  72. package/esm2022/code-block/code-block.component.mjs +2 -2
  73. package/esm2022/core/option/action.mjs +3 -3
  74. package/esm2022/core/option/optgroup.mjs +3 -3
  75. package/esm2022/core/option/option.mjs +3 -3
  76. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  77. package/esm2022/core/version.mjs +2 -2
  78. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  79. package/esm2022/datepicker/calendar-header.component.mjs +3 -3
  80. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  81. package/esm2022/dl/dl.component.mjs +2 -2
  82. package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
  83. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  84. package/esm2022/empty-state/empty-state.component.mjs +2 -2
  85. package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
  86. package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
  87. package/esm2022/form-field/form-field.mjs +2 -2
  88. package/esm2022/form-field/hint.mjs +2 -2
  89. package/esm2022/form-field/password-hint.mjs +2 -2
  90. package/esm2022/list/list-selection.component.mjs +2 -2
  91. package/esm2022/list/list.component.mjs +2 -2
  92. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  93. package/esm2022/markdown/markdown.component.mjs +34 -20
  94. package/esm2022/markdown/markdown.module.mjs +8 -9
  95. package/esm2022/markdown/markdown.service.mjs +5 -3
  96. package/esm2022/markdown/markdown.values.mjs +5 -1
  97. package/esm2022/modal/modal.component.mjs +2 -2
  98. package/esm2022/navbar/navbar.component.mjs +2 -2
  99. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  100. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  101. package/esm2022/popover/popover.component.mjs +3 -3
  102. package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
  103. package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
  104. package/esm2022/radio/radio.component.mjs +2 -2
  105. package/esm2022/risk-level/risk-level.component.mjs +2 -2
  106. package/esm2022/select/select.component.mjs +4 -4
  107. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  108. package/esm2022/table/table.component.mjs +2 -2
  109. package/esm2022/tabs/tab-group.component.mjs +2 -2
  110. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
  111. package/esm2022/tags/tag-list.component.mjs +2 -2
  112. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  113. package/esm2022/timezone/timezone-select.component.mjs +2 -2
  114. package/esm2022/toast/toast.component.mjs +3 -3
  115. package/esm2022/toggle/toggle.component.mjs +3 -3
  116. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  117. package/esm2022/tree/padding.directive.mjs +2 -2
  118. package/esm2022/tree/toggle.mjs +2 -2
  119. package/esm2022/tree/tree-option.component.mjs +2 -2
  120. package/esm2022/tree/tree-selection.component.mjs +2 -2
  121. package/esm2022/tree/tree.mjs +2 -2
  122. package/esm2022/tree-select/tree-select.component.mjs +4 -4
  123. package/fesm2022/koobiq-components-accordion.mjs +4 -4
  124. package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
  125. package/fesm2022/koobiq-components-alert.mjs +2 -2
  126. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  127. package/fesm2022/koobiq-components-badge.mjs +2 -2
  128. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  129. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  130. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  131. package/fesm2022/koobiq-components-button.mjs +2 -2
  132. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  133. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  134. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  135. package/fesm2022/koobiq-components-code-block.mjs +2 -2
  136. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  137. package/fesm2022/koobiq-components-core.mjs +9 -9
  138. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  139. package/fesm2022/koobiq-components-datepicker.mjs +6 -6
  140. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  141. package/fesm2022/koobiq-components-dl.mjs +2 -2
  142. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  143. package/fesm2022/koobiq-components-dropdown.mjs +4 -4
  144. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  145. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  146. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  147. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  148. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  149. package/fesm2022/koobiq-components-form-field.mjs +6 -6
  150. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  151. package/fesm2022/koobiq-components-list.mjs +4 -4
  152. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  153. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  154. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  155. package/fesm2022/koobiq-components-markdown.mjs +49 -30
  156. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  157. package/fesm2022/koobiq-components-modal.mjs +2 -2
  158. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  159. package/fesm2022/koobiq-components-navbar.mjs +4 -4
  160. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  161. package/fesm2022/koobiq-components-popover.mjs +4 -4
  162. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  163. package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
  164. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  165. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  166. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  167. package/fesm2022/koobiq-components-radio.mjs +2 -2
  168. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  169. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  170. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  171. package/fesm2022/koobiq-components-select.mjs +4 -4
  172. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  173. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  174. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  175. package/fesm2022/koobiq-components-table.mjs +2 -2
  176. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  177. package/fesm2022/koobiq-components-tabs.mjs +4 -4
  178. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  179. package/fesm2022/koobiq-components-tags.mjs +2 -2
  180. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  181. package/fesm2022/koobiq-components-timezone.mjs +4 -4
  182. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  183. package/fesm2022/koobiq-components-toast.mjs +2 -2
  184. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  185. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  186. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  187. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  188. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  189. package/fesm2022/koobiq-components-tree-select.mjs +4 -4
  190. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  191. package/fesm2022/koobiq-components-tree.mjs +10 -10
  192. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  193. package/file-upload/_file-upload-theme.scss +6 -10
  194. package/file-upload/file-upload-tokens.scss +0 -39
  195. package/file-upload/multiple-file-upload.component.scss +10 -13
  196. package/form-field/_form-field-theme.scss +2 -7
  197. package/form-field/_hint-theme.scss +2 -6
  198. package/form-field/cleaner.scss +0 -5
  199. package/form-field/form-field-tokens.scss +1 -17
  200. package/form-field/form-field.scss +0 -3
  201. package/form-field/hint-tokens.scss +0 -14
  202. package/form-field/password-toggle.scss +0 -5
  203. package/form-field/stepper.scss +0 -5
  204. package/icon/_icon-button-theme.scss +0 -5
  205. package/icon/_icon-item-theme.scss +0 -2
  206. package/icon/icon-button.scss +0 -3
  207. package/icon/icon-item.scss +0 -3
  208. package/icon/icon.scss +0 -3
  209. package/input/_input-theme.scss +1 -1
  210. package/input/input-tokens.scss +0 -7
  211. package/input/input.scss +2 -5
  212. package/link/_link-theme.scss +3 -3
  213. package/link/link-tokens.scss +0 -21
  214. package/list/_list-theme.scss +2 -2
  215. package/list/list-tokens.scss +0 -28
  216. package/list/list.scss +0 -3
  217. package/loader-overlay/_loader-overlay-theme.scss +4 -4
  218. package/loader-overlay/loader-overlay-tokens.scss +0 -34
  219. package/loader-overlay/loader-overlay.scss +1 -0
  220. package/markdown/_markdown-theme.scss +19 -19
  221. package/markdown/markdown-tokens.scss +3 -112
  222. package/markdown/markdown.component.d.ts +17 -10
  223. package/markdown/markdown.module.d.ts +1 -4
  224. package/markdown/markdown.service.d.ts +4 -1
  225. package/markdown/markdown.values.d.ts +4 -0
  226. package/modal/_modal-theme.scss +2 -4
  227. package/modal/modal-tokens.scss +0 -14
  228. package/modal/modal.scss +0 -3
  229. package/navbar/_navbar-item_horizontal.scss +0 -3
  230. package/navbar/_navbar-item_vertical.scss +0 -4
  231. package/navbar/navbar-brand.scss +0 -5
  232. package/navbar/navbar-tokens.scss +1 -1
  233. package/package.json +4 -5
  234. package/popover/_popover-theme.scss +2 -2
  235. package/popover/popover-tokens.scss +0 -15
  236. package/popover/popover.scss +1 -1
  237. package/prebuilt-themes/dark-theme.css +1 -1
  238. package/prebuilt-themes/light-theme.css +1 -1
  239. package/prebuilt-themes/theme.css +1 -1
  240. package/progress-bar/_progress-bar-theme.scss +2 -2
  241. package/progress-bar/progress-bar-tokens.scss +0 -14
  242. package/progress-spinner/_progress-spinner-theme.scss +2 -2
  243. package/progress-spinner/progress-spinner-tokens.scss +0 -14
  244. package/radio/_radio-theme.scss +4 -4
  245. package/radio/radio-tokens.scss +5 -30
  246. package/radio/radio.scss +2 -2
  247. package/risk-level/_risk-level-theme.scss +1 -5
  248. package/risk-level/risk-level-tokens.scss +0 -7
  249. package/schematics/ng-add/index.js +2 -4
  250. package/select/_select-theme.scss +4 -4
  251. package/select/select-tokens.scss +1 -18
  252. package/select/select.scss +2 -2
  253. package/sidepanel/_sidepanel-theme.scss +2 -2
  254. package/sidepanel/sidepanel-tokens.scss +0 -14
  255. package/table/_table-theme.scss +2 -5
  256. package/table/table-tokens.scss +0 -14
  257. package/table/table.scss +0 -3
  258. package/tabs/_tabs-theme.scss +1 -1
  259. package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -3
  260. package/tabs/tabs-tokens.scss +0 -7
  261. package/tags/_tag-theme.scss +2 -2
  262. package/tags/tag-input-tokens.scss +0 -7
  263. package/tags/tag-tokens.scss +0 -14
  264. package/textarea/_textarea-theme.scss +1 -4
  265. package/textarea/textarea-tokens.scss +0 -7
  266. package/textarea/textarea.scss +0 -3
  267. package/timepicker/timepicker.scss +0 -3
  268. package/timezone/_timezone-option-theme.scss +4 -8
  269. package/timezone/timezone-option-tokens.scss +0 -45
  270. package/timezone/timezone-option.component.scss +0 -3
  271. package/timezone/timezone-select.component.scss +0 -3
  272. package/toast/_toast-theme.scss +2 -6
  273. package/toast/toast-container.component.scss +0 -3
  274. package/toast/toast-tokens.scss +0 -14
  275. package/toast/toast.component.scss +1 -4
  276. package/toggle/_toggle-theme.scss +6 -9
  277. package/toggle/toggle-tokens.scss +0 -28
  278. package/toggle/toggle.scss +1 -4
  279. package/tooltip/_tooltip-theme.scss +2 -2
  280. package/tooltip/tooltip-tokens.scss +0 -14
  281. package/tooltip/tooltip.scss +0 -3
  282. package/tree/_tree-theme.scss +3 -6
  283. package/tree/toggle.scss +0 -3
  284. package/tree/tree-option.scss +8 -5
  285. package/tree/tree-tokens.scss +0 -14
  286. package/tree-select/_tree-select-theme.scss +1 -5
  287. package/tree-select/tree-select-tokens.scss +0 -12
  288. package/tree-select/tree-select.scss +0 -4
  289. package/core/option/optgroup-tokens.scss +0 -10
  290. package/core/option/option-action-tokens.scss +0 -3
  291. package/markdown/README.md +0 -0
@@ -1,7 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/typography/typography-utils' as *;
5
1
  @use '../core/styles/common/tokens' as *;
6
2
 
7
3
  @mixin kbq-file-upload-theme() {
@@ -125,34 +121,34 @@
125
121
  .kbq-single-file-upload {
126
122
  & .file-item__text-wrapper,
127
123
  & .dropzone__text {
128
- @include kbq-typography-css-variables(file-upload, single-text-block);
124
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
129
125
  }
130
126
  }
131
127
 
132
128
  .kbq-multiple-file-upload {
133
129
  .multiple__header {
134
- @include kbq-typography-css-variables(file-upload, multiple-title);
130
+ @include kbq-typography-level-to-styles_css-variables(typography, subheading);
135
131
  }
136
132
 
137
133
  .multiple__caption {
138
134
  &,
139
135
  .kbq-link {
140
- @include kbq-typography-css-variables(file-upload, multiple-text-block);
136
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
141
137
  }
142
138
  }
143
139
 
144
140
  .kbq-file-multiple-uploaded__header {
145
- @include kbq-typography-css-variables(file-upload, multiple-grid);
141
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
146
142
  }
147
143
 
148
144
  .multiple__uploaded-item {
149
- @include kbq-typography-css-variables(file-upload, multiple-grid);
145
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
150
146
  }
151
147
 
152
148
  .kbq-file-upload {
153
149
  .kbq-list-item,
154
150
  .kbq-list-option {
155
- @include kbq-typography-css-variables(file-upload, multiple-grid);
151
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
156
152
  }
157
153
  }
158
154
  }
@@ -18,45 +18,6 @@
18
18
  --kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal: var(--kbq-size-s);
19
19
  --kbq-file-upload-size-multiple-big-grid-cell-padding-vertical: var(--kbq-size-s);
20
20
  --kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal: var(--kbq-size-xxs);
21
- --kbq-file-upload-font-single-text-block-font-size: var(--kbq-typography-text-normal-font-size);
22
- --kbq-file-upload-font-single-text-block-line-height: var(--kbq-typography-text-normal-line-height);
23
- --kbq-file-upload-font-single-text-block-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
24
- --kbq-file-upload-font-single-text-block-font-weight: var(--kbq-typography-text-normal-font-weight);
25
- --kbq-file-upload-font-single-text-block-font-family: var(--kbq-typography-text-normal-font-family);
26
- --kbq-file-upload-font-single-text-block-text-transform: var(--kbq-typography-text-normal-text-transform);
27
- --kbq-file-upload-font-single-text-block-font-feature-settings: var(
28
- --kbq-typography-text-normal-font-feature-settings
29
- );
30
- --kbq-file-upload-font-multiple-title-font-size: var(--kbq-typography-subheading-font-size);
31
- --kbq-file-upload-font-multiple-title-line-height: var(--kbq-typography-subheading-line-height);
32
- --kbq-file-upload-font-multiple-title-letter-spacing: var(--kbq-typography-subheading-letter-spacing);
33
- --kbq-file-upload-font-multiple-title-font-weight: var(--kbq-typography-subheading-font-weight);
34
- --kbq-file-upload-font-multiple-title-font-family: var(--kbq-typography-subheading-font-family);
35
- --kbq-file-upload-font-multiple-title-text-transform: var(--kbq-typography-subheading-text-transform);
36
- --kbq-file-upload-font-multiple-title-font-feature-settings: var(--kbq-typography-subheading-font-feature-settings);
37
- --kbq-file-upload-font-multiple-text-block-font-size: var(--kbq-typography-text-normal-font-size);
38
- --kbq-file-upload-font-multiple-text-block-line-height: var(--kbq-typography-text-normal-line-height);
39
- --kbq-file-upload-font-multiple-text-block-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
40
- --kbq-file-upload-font-multiple-text-block-font-weight: var(--kbq-typography-text-normal-font-weight);
41
- --kbq-file-upload-font-multiple-text-block-font-family: var(--kbq-typography-text-normal-font-family);
42
- --kbq-file-upload-font-multiple-text-block-text-transform: var(--kbq-typography-text-normal-text-transform);
43
- --kbq-file-upload-font-multiple-text-block-font-feature-settings: var(
44
- --kbq-typography-text-normal-font-feature-settings
45
- );
46
- --kbq-file-upload-font-multiple-grid-font-size: var(--kbq-typography-text-normal-font-size);
47
- --kbq-file-upload-font-multiple-grid-line-height: var(--kbq-typography-text-normal-line-height);
48
- --kbq-file-upload-font-multiple-grid-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
49
- --kbq-file-upload-font-multiple-grid-font-weight: var(--kbq-typography-text-normal-font-weight);
50
- --kbq-file-upload-font-multiple-grid-font-family: var(--kbq-typography-text-normal-font-family);
51
- --kbq-file-upload-font-multiple-grid-text-transform: var(--kbq-typography-text-normal-text-transform);
52
- --kbq-file-upload-font-multiple-grid-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
53
- --kbq-form-field-hint-font-text-font-size: var(--kbq-typography-text-compact-font-size);
54
- --kbq-form-field-hint-font-text-line-height: var(--kbq-typography-text-compact-line-height);
55
- --kbq-form-field-hint-font-text-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
56
- --kbq-form-field-hint-font-text-font-weight: var(--kbq-typography-text-compact-font-weight);
57
- --kbq-form-field-hint-font-text-font-family: var(--kbq-typography-text-compact-font-family);
58
- --kbq-form-field-hint-font-text-text-transform: var(--kbq-typography-text-compact-text-transform);
59
- --kbq-form-field-hint-font-text-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
60
21
  }
61
22
 
62
23
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
@@ -55,13 +55,17 @@
55
55
  padding: 0;
56
56
 
57
57
  & .kbq-list-text {
58
- padding: kbq-difference-series-css-variables(
59
- [ file-upload-size-multiple-big-grid-cell-padding-vertical,
60
- list-size-container-focus-outline-width]
58
+ padding: calc(
59
+ var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical) - var(
60
+ --kbq-list-size-container-focus-outline-width,
61
+ var(--kbq-size-3xs)
62
+ )
61
63
  )
62
- kbq-difference-series-css-variables(
63
- [ file-upload-size-multiple-big-grid-cell-padding-horizontal,
64
- list-size-container-focus-outline-width]
64
+ calc(
65
+ var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal) - var(
66
+ --kbq-list-size-container-focus-outline-width,
67
+ var(--kbq-size-3xs)
68
+ )
65
69
  );
66
70
  }
67
71
 
@@ -92,13 +96,6 @@
92
96
  text-align: left;
93
97
  flex-grow: 1;
94
98
  }
95
-
96
- .kbq-file-upload__file,
97
- .kbq-file-upload__size,
98
- .kbq-file-upload__action {
99
- //padding-left: $horizontal-padding-item;
100
- //padding-right: $horizontal-padding-item;
101
- }
102
99
  }
103
100
 
104
101
  .kbq-file-upload__row {
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/theming/theming' as *;
5
- @use '../core/styles/typography/typography-utils' as *;
6
1
  @use '../core/styles/common/tokens' as *;
7
2
 
8
3
  @mixin kbq-form-field-state($state-name) {
@@ -81,10 +76,10 @@
81
76
 
82
77
  @mixin kbq-form-field-typography() {
83
78
  .kbq-form-field {
84
- @include kbq-typography-css-variables(form-field, text);
79
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
85
80
  }
86
81
 
87
82
  .kbq-form-field__hint > .kbq-hint:not(.kbq-password-hint) .kbq-hint__text {
88
- @include kbq-typography-css-variables(form-field-hint, text);
83
+ @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
89
84
  }
90
85
  }
@@ -1,8 +1,4 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/theming/theming' as *;
5
- @use '../core/styles/typography/typography-utils' as *;
6
2
  @use '../core/styles/common/tokens' as *;
7
3
 
8
4
  @mixin kbq-hint-color($type, $style-name) {
@@ -53,10 +49,10 @@
53
49
 
54
50
  @mixin kbq-hint-typography() {
55
51
  .kbq-hint .kbq-hint__text {
56
- @include kbq-typography-css-variables(hint, normal-text);
52
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal-medium);
57
53
  }
58
54
 
59
55
  .kbq-hint.kbq-hint_compact .kbq-hint__text {
60
- @include kbq-typography-css-variables(hint, compact-text);
56
+ @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
61
57
  }
62
58
  }
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  .kbq-cleaner {
7
2
  display: flex;
8
3
  align-items: center;
@@ -1,29 +1,13 @@
1
1
  .kbq-form-field {
2
2
  --kbq-form-field-size-height: var(--kbq-size-3xl);
3
3
  --kbq-form-field-size-border-width: 1px;
4
- --kbq-form-field-size-border-radius: var(--kbq-size-s);
4
+ --kbq-form-field-size-border-radius: var(--kbq-size-border-radius);
5
5
  --kbq-form-field-size-icon-size: var(--kbq-size-l);
6
6
  --kbq-form-field-size-icon-margin-left: var(--kbq-size-s);
7
7
  --kbq-form-field-size-icon-margin-right: var(--kbq-size-s);
8
8
  --kbq-form-field-size-icon-button-size: var(--kbq-size-xxl);
9
9
  --kbq-form-field-size-icon-button-margin-right: var(--kbq-size-xxs);
10
10
  --kbq-form-field-size-icon-button-margin-left: var(--kbq-size-xxs);
11
- --kbq-form-field-font-text-font-size: var(--kbq-typography-text-normal-font-size);
12
- --kbq-form-field-font-text-line-height: var(--kbq-typography-text-normal-line-height);
13
- --kbq-form-field-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
14
- --kbq-form-field-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
15
- --kbq-form-field-font-text-font-family: var(--kbq-typography-text-normal-font-family);
16
- --kbq-form-field-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
17
- --kbq-form-field-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
18
- --kbq-form-field-hint-size-margin-top: var(--kbq-size-xxs);
19
- --kbq-form-field-hint-size-gap: var(--kbq-size-s);
20
- --kbq-form-field-hint-font-text-font-size: var(--kbq-typography-text-compact-font-size);
21
- --kbq-form-field-hint-font-text-line-height: var(--kbq-typography-text-compact-line-height);
22
- --kbq-form-field-hint-font-text-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
23
- --kbq-form-field-hint-font-text-font-weight: var(--kbq-typography-text-compact-font-weight);
24
- --kbq-form-field-hint-font-text-font-family: var(--kbq-typography-text-compact-font-family);
25
- --kbq-form-field-hint-font-text-text-transform: var(--kbq-typography-text-compact-text-transform);
26
- --kbq-form-field-hint-font-text-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
27
11
  }
28
12
 
29
13
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
@@ -1,8 +1,5 @@
1
1
  /* stylelint-disable scss/operator-no-newline-after */
2
2
 
3
- @use 'sass:meta';
4
- @use 'sass:map';
5
-
6
3
  @use '../core/forms/forms';
7
4
 
8
5
  @use '../core/styles/common/tokens' as *;
@@ -3,20 +3,6 @@
3
3
  --kbq-hint-size-normal-content-padding: var(--kbq-size-xxs);
4
4
  --kbq-hint-size-compact-margin-top: 0;
5
5
  --kbq-hint-size-compact-content-padding: var(--kbq-size-xxs);
6
- --kbq-hint-font-normal-text-font-size: var(--kbq-typography-text-normal-medium-font-size);
7
- --kbq-hint-font-normal-text-line-height: var(--kbq-typography-text-normal-medium-line-height);
8
- --kbq-hint-font-normal-text-letter-spacing: var(--kbq-typography-text-normal-medium-letter-spacing);
9
- --kbq-hint-font-normal-text-font-weight: var(--kbq-typography-text-normal-medium-font-weight);
10
- --kbq-hint-font-normal-text-font-family: var(--kbq-typography-text-normal-medium-font-family);
11
- --kbq-hint-font-normal-text-text-transform: var(--kbq-typography-text-normal-medium-text-transform);
12
- --kbq-hint-font-normal-text-font-feature-settings: var(--kbq-typography-text-normal-medium-font-feature-settings);
13
- --kbq-hint-font-compact-text-font-size: var(--kbq-typography-text-compact-font-size);
14
- --kbq-hint-font-compact-text-line-height: var(--kbq-typography-text-compact-line-height);
15
- --kbq-hint-font-compact-text-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
16
- --kbq-hint-font-compact-text-font-weight: var(--kbq-typography-text-compact-font-weight);
17
- --kbq-hint-font-compact-text-font-family: var(--kbq-typography-text-compact-font-family);
18
- --kbq-hint-font-compact-text-text-transform: var(--kbq-typography-text-compact-text-transform);
19
- --kbq-hint-font-compact-text-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
20
6
  }
21
7
 
22
8
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  .kbq-password-toggle {
7
2
  display: flex;
8
3
  align-items: center;
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  .kbq-stepper {
7
2
  display: flex;
8
3
  flex-direction: column;
@@ -1,8 +1,3 @@
1
- @use 'sass:map';
2
-
3
- @use '../core/styles/theming/theming' as *;
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  @mixin kbq-icon-button-theme() {
7
2
  .kbq-icon-button {
8
3
  &:focus {
@@ -1,5 +1,3 @@
1
- @use 'sass:map';
2
-
3
1
  @use '../core/styles/theming/theming' as *;
4
2
  @use '../core/styles/common/tokens' as *;
5
3
 
@@ -1,6 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/tokens' as *;
5
2
 
6
3
  @use './icon-button-theme' as *;
@@ -1,6 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/tokens' as *;
5
2
 
6
3
  @use './icon-item-theme' as *;
package/icon/icon.scss CHANGED
@@ -1,6 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use './icon-theme' as *;
5
2
 
6
3
  .kbq-icon-rotate_90 {
@@ -3,7 +3,7 @@
3
3
  @mixin kbq-input-typography() {
4
4
  .kbq-input,
5
5
  .kbq-input.kbq-input-password::placeholder {
6
- @include kbq-typography-css-variables(input, text);
6
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
7
7
  }
8
8
 
9
9
  .kbq-input.kbq-input-password {
@@ -1,11 +1,4 @@
1
1
  .kbq-input {
2
2
  --kbq-input-size-padding-horizontal: var(--kbq-size-m);
3
3
  --kbq-input-size-padding-vertical: var(--kbq-size-xs);
4
- --kbq-input-font-text-font-size: var(--kbq-typography-text-normal-font-size);
5
- --kbq-input-font-text-line-height: var(--kbq-typography-text-normal-line-height);
6
- --kbq-input-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
7
- --kbq-input-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
8
- --kbq-input-font-text-font-family: var(--kbq-typography-text-normal-font-family);
9
- --kbq-input-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
10
- --kbq-input-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
11
4
  }
package/input/input.scss CHANGED
@@ -12,12 +12,9 @@
12
12
  text-overflow: ellipsis;
13
13
 
14
14
  width: 100%;
15
- min-height: kbq-difference-series-css-variables(
16
- [form-field-size-height,
17
- calc(var(--kbq-form-field-size-border-width) * 2)]
18
- );
15
+ min-height: kbq-difference-series-css-variables([size-3xl, calc(var(--kbq-size-border-width) * 2)]);
19
16
 
20
- padding: kbq-difference-series-css-variables([input-size-padding-vertical, form-field-size-border-width])
17
+ padding: kbq-difference-series-css-variables([input-size-padding-vertical, size-border-width])
21
18
  var(--kbq-input-size-padding-horizontal);
22
19
  }
23
20
 
@@ -147,7 +147,7 @@
147
147
 
148
148
  @mixin kbq-link-typography() {
149
149
  .kbq-link {
150
- @include kbq-typography-css-variables(link, normal);
150
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
151
151
 
152
152
  & .kbq-icon {
153
153
  line-height: inherit;
@@ -156,10 +156,10 @@
156
156
  }
157
157
 
158
158
  .kbq-link.kbq-link_compact {
159
- @include kbq-typography-css-variables(link, compact);
159
+ @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
160
160
  }
161
161
 
162
162
  .kbq-link.kbq-link_big {
163
- @include kbq-typography-css-variables(link, big);
163
+ @include kbq-typography-level-to-styles_css-variables(typography, text-big);
164
164
  }
165
165
  }
@@ -4,27 +4,6 @@
4
4
  --kbq-link-size-compact-content-padding: var(--kbq-size-xxs);
5
5
  --kbq-link-size-normal-content-padding: var(--kbq-size-xxs);
6
6
  --kbq-link-size-big-content-padding: var(--kbq-size-xxs);
7
- --kbq-link-font-compact-font-size: var(--kbq-typography-text-compact-font-size);
8
- --kbq-link-font-compact-line-height: var(--kbq-typography-text-compact-line-height);
9
- --kbq-link-font-compact-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
10
- --kbq-link-font-compact-font-weight: var(--kbq-typography-text-compact-font-weight);
11
- --kbq-link-font-compact-font-family: var(--kbq-typography-text-compact-font-family);
12
- --kbq-link-font-compact-text-transform: var(--kbq-typography-text-compact-text-transform);
13
- --kbq-link-font-compact-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
14
- --kbq-link-font-normal-font-size: var(--kbq-typography-text-normal-font-size);
15
- --kbq-link-font-normal-line-height: var(--kbq-typography-text-normal-line-height);
16
- --kbq-link-font-normal-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
17
- --kbq-link-font-normal-font-weight: var(--kbq-typography-text-normal-font-weight);
18
- --kbq-link-font-normal-font-family: var(--kbq-typography-text-normal-font-family);
19
- --kbq-link-font-normal-text-transform: var(--kbq-typography-text-normal-text-transform);
20
- --kbq-link-font-normal-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
21
- --kbq-link-font-big-font-size: var(--kbq-typography-text-big-font-size);
22
- --kbq-link-font-big-line-height: var(--kbq-typography-text-big-line-height);
23
- --kbq-link-font-big-letter-spacing: var(--kbq-typography-text-big-letter-spacing);
24
- --kbq-link-font-big-font-weight: var(--kbq-typography-text-big-font-weight);
25
- --kbq-link-font-big-font-family: var(--kbq-typography-text-big-font-family);
26
- --kbq-link-font-big-text-transform: var(--kbq-typography-text-big-text-transform);
27
- --kbq-link-font-big-font-feature-settings: var(--kbq-typography-text-big-font-feature-settings);
28
7
  }
29
8
 
30
9
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
@@ -49,11 +49,11 @@
49
49
  @mixin kbq-list-typography() {
50
50
  .kbq-list-item,
51
51
  .kbq-list-option {
52
- @include kbq-typography-css-variables(list, text);
52
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
53
53
 
54
54
  .kbq-list-text {
55
55
  .kbq-list-option-caption {
56
- @include kbq-typography-css-variables(list, caption);
56
+ @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
57
57
  }
58
58
  }
59
59
  }
@@ -13,34 +13,6 @@
13
13
  --kbq-list-size-subheading-padding-top: var(--kbq-size-m);
14
14
  --kbq-list-size-subheading-padding-bottom: var(--kbq-size-xxs);
15
15
  --kbq-list-size-subheading-padding-horizontal: var(--kbq-size-m);
16
- --kbq-list-font-text-font-size: var(--kbq-typography-text-normal-font-size);
17
- --kbq-list-font-text-line-height: var(--kbq-typography-text-normal-line-height);
18
- --kbq-list-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
19
- --kbq-list-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
20
- --kbq-list-font-text-font-family: var(--kbq-typography-text-normal-font-family);
21
- --kbq-list-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
22
- --kbq-list-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
23
- --kbq-list-font-caption-font-size: var(--kbq-typography-text-compact-font-size);
24
- --kbq-list-font-caption-line-height: var(--kbq-typography-text-compact-line-height);
25
- --kbq-list-font-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
26
- --kbq-list-font-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
27
- --kbq-list-font-caption-font-family: var(--kbq-typography-text-compact-font-family);
28
- --kbq-list-font-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
29
- --kbq-list-font-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
30
- --kbq-list-font-header-font-size: var(--kbq-typography-text-big-strong-font-size);
31
- --kbq-list-font-header-line-height: var(--kbq-typography-text-big-strong-line-height);
32
- --kbq-list-font-header-letter-spacing: var(--kbq-typography-text-big-strong-letter-spacing);
33
- --kbq-list-font-header-font-weight: var(--kbq-typography-text-big-strong-font-weight);
34
- --kbq-list-font-header-font-family: var(--kbq-typography-text-big-strong-font-family);
35
- --kbq-list-font-header-text-transform: var(--kbq-typography-text-big-strong-text-transform);
36
- --kbq-list-font-header-font-feature-settings: var(--kbq-typography-text-big-strong-font-feature-settings);
37
- --kbq-list-font-subheading-font-size: var(--kbq-typography-caps-compact-strong-font-size);
38
- --kbq-list-font-subheading-line-height: var(--kbq-typography-caps-compact-strong-line-height);
39
- --kbq-list-font-subheading-letter-spacing: var(--kbq-typography-caps-compact-strong-letter-spacing);
40
- --kbq-list-font-subheading-font-weight: var(--kbq-typography-caps-compact-strong-font-weight);
41
- --kbq-list-font-subheading-font-family: var(--kbq-typography-caps-compact-strong-font-family);
42
- --kbq-list-font-subheading-text-transform: var(--kbq-typography-caps-compact-strong-text-transform);
43
- --kbq-list-font-subheading-font-feature-settings: var(--kbq-typography-caps-compact-strong-font-feature-settings);
44
16
  }
45
17
 
46
18
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
package/list/list.scss CHANGED
@@ -1,6 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/list';
5
2
  @use '../core/styles/common/tokens' as *;
6
3
 
@@ -34,21 +34,21 @@
34
34
  @mixin kbq-loader-overlay-typography() {
35
35
  .kbq-loader-overlay_big {
36
36
  & .kbq-loader-overlay-text {
37
- @include kbq-typography-css-variables(loader-overlay, big-text);
37
+ @include kbq-typography-level-to-styles_css-variables(typography, subheading);
38
38
  }
39
39
 
40
40
  & .kbq-loader-overlay-caption {
41
- @include kbq-typography-css-variables(loader-overlay, big-caption);
41
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
42
42
  }
43
43
  }
44
44
 
45
45
  .kbq-loader-overlay_compact {
46
46
  & .kbq-loader-overlay-text {
47
- @include kbq-typography-css-variables(loader-overlay, compact-text);
47
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
48
48
  }
49
49
 
50
50
  & .kbq-loader-overlay-caption {
51
- @include kbq-typography-css-variables(loader-overlay, compact-caption);
51
+ @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
52
52
  }
53
53
  }
54
54
  }
@@ -5,40 +5,6 @@
5
5
  --kbq-loader-overlay-size-compact-overlay-padding-horizontal: var(--kbq-size-3xl);
6
6
  --kbq-loader-overlay-size-compact-loader-margin-bottom: var(--kbq-size-s);
7
7
  --kbq-loader-overlay-size-compact-content-content-gap-vertical: var(--kbq-size-3xs);
8
- --kbq-loader-overlay-font-big-text-font-size: var(--kbq-typography-subheading-font-size);
9
- --kbq-loader-overlay-font-big-text-line-height: var(--kbq-typography-subheading-line-height);
10
- --kbq-loader-overlay-font-big-text-letter-spacing: var(--kbq-typography-subheading-letter-spacing);
11
- --kbq-loader-overlay-font-big-text-font-weight: var(--kbq-typography-subheading-font-weight);
12
- --kbq-loader-overlay-font-big-text-font-family: var(--kbq-typography-subheading-font-family);
13
- --kbq-loader-overlay-font-big-text-text-transform: var(--kbq-typography-subheading-text-transform);
14
- --kbq-loader-overlay-font-big-text-font-feature-settings: var(--kbq-typography-subheading-font-feature-settings);
15
- --kbq-loader-overlay-font-big-caption-font-size: var(--kbq-typography-text-normal-font-size);
16
- --kbq-loader-overlay-font-big-caption-line-height: var(--kbq-typography-text-normal-line-height);
17
- --kbq-loader-overlay-font-big-caption-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
18
- --kbq-loader-overlay-font-big-caption-font-weight: var(--kbq-typography-text-normal-font-weight);
19
- --kbq-loader-overlay-font-big-caption-font-family: var(--kbq-typography-text-normal-font-family);
20
- --kbq-loader-overlay-font-big-caption-text-transform: var(--kbq-typography-text-normal-text-transform);
21
- --kbq-loader-overlay-font-big-caption-font-feature-settings: var(
22
- --kbq-typography-text-normal-font-feature-settings
23
- );
24
- --kbq-loader-overlay-font-compact-text-font-size: var(--kbq-typography-text-normal-font-size);
25
- --kbq-loader-overlay-font-compact-text-line-height: var(--kbq-typography-text-normal-line-height);
26
- --kbq-loader-overlay-font-compact-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
27
- --kbq-loader-overlay-font-compact-text-font-weight: var(--kbq-typography-text-normal-font-weight);
28
- --kbq-loader-overlay-font-compact-text-font-family: var(--kbq-typography-text-normal-font-family);
29
- --kbq-loader-overlay-font-compact-text-text-transform: var(--kbq-typography-text-normal-text-transform);
30
- --kbq-loader-overlay-font-compact-text-font-feature-settings: var(
31
- --kbq-typography-text-normal-font-feature-settings
32
- );
33
- --kbq-loader-overlay-font-compact-caption-font-size: var(--kbq-typography-text-compact-font-size);
34
- --kbq-loader-overlay-font-compact-caption-line-height: var(--kbq-typography-text-compact-line-height);
35
- --kbq-loader-overlay-font-compact-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
36
- --kbq-loader-overlay-font-compact-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
37
- --kbq-loader-overlay-font-compact-caption-font-family: var(--kbq-typography-text-compact-font-family);
38
- --kbq-loader-overlay-font-compact-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
39
- --kbq-loader-overlay-font-compact-caption-font-feature-settings: var(
40
- --kbq-typography-text-compact-font-feature-settings
41
- );
42
8
  }
43
9
 
44
10
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
@@ -25,6 +25,7 @@
25
25
  right: 0;
26
26
  bottom: 0;
27
27
  left: 0;
28
+ border-radius: inherit;
28
29
 
29
30
  // todo
30
31
  z-index: 10;
@@ -38,29 +38,29 @@
38
38
  }
39
39
 
40
40
  .kbq-markdown__a {
41
- color: var(--kbq-markdown-link-text);
42
- border-bottom-color: var(--kbq-markdown-link-border-bottom);
41
+ color: var(--kbq-markdown-link-text, var(--kbq-foreground-theme));
42
+ border-bottom-color: var(--kbq-markdown-link-border-bottom, var(--kbq-line-theme-less));
43
43
 
44
44
  &:visited {
45
- color: var(--kbq-markdown-link-state-visited-text);
46
- border-bottom-color: var(--kbq-markdown-link-state-visited-border-bottom);
45
+ color: var(--kbq-markdown-link-state-visited-text, var(--kbq-foreground-visited));
46
+ border-bottom-color: var(--kbq-markdown-link-state-visited-border-bottom, var(--kbq-line-visited));
47
47
  }
48
48
 
49
49
  &:hover {
50
- color: var(--kbq-markdown-link-state-hover-text);
50
+ color: var(--kbq-markdown-link-state-hover-text, var(--kbq-states-foreground-theme-hover));
51
51
  transition: color 0ms;
52
- border-bottom-color: var(--kbq-markdown-link-state-hover-border-bottom);
52
+ border-bottom-color: var(--kbq-markdown-link-state-hover-border-bottom, var(--kbq-line-theme-less));
53
53
  }
54
54
 
55
55
  &:active {
56
- color: var(--kbq-markdown-link-state-active);
56
+ color: var(--kbq-markdown-link-state-active, var(--kbq-states-foreground-theme-active));
57
57
  }
58
58
 
59
59
  &:focus {
60
- outline: var(--kbq-markdown-link-state-focused-outline) solid
61
- var(--kbq-markdown-link-size-state-focused-outline-width);
60
+ outline: var(--kbq-markdown-link-state-focused-outline, var(--kbq-link-state-focused-outline)) solid
61
+ var(--kbq-markdown-link-size-state-focused-outline-width, var(--kbq-size-3xs));
62
62
 
63
- outline-offset: var(--kbq-markdown-link-size-state-focused-outline-offset);
63
+ outline-offset: var(--kbq-markdown-link-size-state-focused-outline-offset, 0);
64
64
  }
65
65
  }
66
66
 
@@ -88,41 +88,41 @@
88
88
  // h1, h2, h3, h4, h5, h6
89
89
  @for $i from 1 through 6 {
90
90
  .kbq-markdown__h#{$i} {
91
- @include kbq-typography-css-variables(markdown-h#{$i}, default);
91
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-h#{$i});
92
92
  }
93
93
  }
94
94
 
95
95
  .kbq-markdown__p {
96
- @include kbq-typography-css-variables(markdown-p, default);
96
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-body);
97
97
  }
98
98
 
99
99
  .kbq-markdown__ul,
100
100
  .kbq-markdown__ol {
101
- @include kbq-typography-css-variables(markdown-list, default);
101
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-body);
102
102
  }
103
103
 
104
104
  .kbq-markdown__blockquote > .kbq-markdown__p {
105
- @include kbq-typography-css-variables(markdown-blockquote, default);
105
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-body);
106
106
  }
107
107
 
108
108
  .kbq-markdown__code {
109
- @include kbq-typography-css-variables(markdown-code, default);
109
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-body-mono);
110
110
  }
111
111
 
112
112
  .kbq-markdown__a {
113
- @include kbq-typography-css-variables(markdown-link, default);
113
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-body);
114
114
  }
115
115
 
116
116
  .kbq-markdown__img + em {
117
- @include kbq-typography-css-variables(markdown-image, caption);
117
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-caption);
118
118
  }
119
119
 
120
120
  .kbq-markdown__table > .kbq-markdown__thead {
121
- @include kbq-typography-css-variables(markdown-table, header);
121
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-table-header);
122
122
  }
123
123
 
124
124
  .kbq-markdown__table > .kbq-markdown__tbody {
125
- @include kbq-typography-css-variables(markdown-table, body);
125
+ @include kbq-typography-level-to-styles_css-variables(md-typography, md-table-cell);
126
126
  }
127
127
  }
128
128
  }