@koobiq/components 17.8.1 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/alert/alert-tokens.scss +117 -118
  2. package/autocomplete/autocomplete-tokens.scss +8 -7
  3. package/badge/badge-tokens.scss +168 -166
  4. package/button/button-tokens.scss +238 -225
  5. package/button/button.scss +5 -9
  6. package/button-toggle/button-toggle-tokens.scss +69 -68
  7. package/checkbox/checkbox-tokens.scss +122 -124
  8. package/code-block/code-block-tokens.scss +92 -86
  9. package/core/common-behaviors/index.d.ts +1 -1
  10. package/core/forms/forms-tokens.scss +30 -30
  11. package/core/option/optgroup-tokens.scss +9 -23
  12. package/core/option/option-action-tokens.scss +3 -19
  13. package/core/option/option-tokens.scss +93 -101
  14. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +122 -124
  15. package/core/styles/_koobiq-theme.scss +3 -7
  16. package/core/styles/theming/_theming.scss +4 -6
  17. package/core/styles/theming/scrollbar-tokens.scss +16 -14
  18. package/core/styles/typography/_typography.scss +1 -0
  19. package/datepicker/datepicker-tokens.scss +42 -44
  20. package/divider/divider-tokens.scss +6 -4
  21. package/dl/dl-tokens.scss +26 -24
  22. package/dropdown/dropdown-tokens.scss +91 -96
  23. package/empty-state/empty-state-tokens.scss +50 -58
  24. package/esm2022/alert/alert.component.mjs +13 -13
  25. package/esm2022/alert/alert.module.mjs +4 -4
  26. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
  27. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  28. package/esm2022/autocomplete/autocomplete.component.mjs +5 -5
  29. package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
  30. package/esm2022/badge/badge.component.mjs +10 -10
  31. package/esm2022/badge/badge.module.mjs +4 -4
  32. package/esm2022/button/button.component.mjs +8 -8
  33. package/esm2022/button/button.module.mjs +4 -4
  34. package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
  35. package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
  36. package/esm2022/checkbox/checkbox-module.mjs +4 -4
  37. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  38. package/esm2022/checkbox/checkbox.mjs +5 -5
  39. package/esm2022/code-block/actionbar.component.mjs +5 -5
  40. package/esm2022/code-block/code-block.component.mjs +5 -5
  41. package/esm2022/code-block/code-block.module.mjs +4 -4
  42. package/esm2022/core/common-behaviors/common-module.mjs +4 -4
  43. package/esm2022/core/common-behaviors/index.mjs +2 -2
  44. package/esm2022/core/error/error-options.mjs +6 -6
  45. package/esm2022/core/formatters/date/formatter.mjs +3 -3
  46. package/esm2022/core/formatters/date/formatter.pipe.mjs +39 -39
  47. package/esm2022/core/formatters/index.mjs +4 -4
  48. package/esm2022/core/formatters/number/formatter.mjs +12 -12
  49. package/esm2022/core/forms/forms-module.mjs +4 -4
  50. package/esm2022/core/forms/forms.directive.mjs +6 -6
  51. package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
  52. package/esm2022/core/highlight/index.mjs +4 -4
  53. package/esm2022/core/line/line.mjs +7 -7
  54. package/esm2022/core/locales/locale-service.mjs +3 -3
  55. package/esm2022/core/locales/locale-service.module.mjs +4 -4
  56. package/esm2022/core/option/action.mjs +8 -8
  57. package/esm2022/core/option/optgroup.mjs +4 -4
  58. package/esm2022/core/option/option-module.mjs +4 -4
  59. package/esm2022/core/option/option.mjs +5 -5
  60. package/esm2022/core/pop-up/pop-up-trigger.mjs +3 -3
  61. package/esm2022/core/pop-up/pop-up.mjs +3 -3
  62. package/esm2022/core/select/common.mjs +15 -15
  63. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  64. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  65. package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
  66. package/esm2022/core/services/theme.service.mjs +3 -3
  67. package/esm2022/core/utils/data-size/data-size.pipe.mjs +3 -3
  68. package/esm2022/core/version.mjs +2 -2
  69. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  70. package/esm2022/datepicker/calendar-header.component.mjs +5 -5
  71. package/esm2022/datepicker/calendar.component.mjs +3 -3
  72. package/esm2022/datepicker/datepicker-input.directive.mjs +3 -3
  73. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  74. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  75. package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
  76. package/esm2022/datepicker/datepicker.component.mjs +8 -8
  77. package/esm2022/datepicker/month-view.component.mjs +3 -3
  78. package/esm2022/divider/divider.component.mjs +4 -4
  79. package/esm2022/divider/divider.module.mjs +4 -4
  80. package/esm2022/dl/dl.component.mjs +10 -10
  81. package/esm2022/dl/dl.module.mjs +4 -4
  82. package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
  83. package/esm2022/dropdown/dropdown-item.component.mjs +6 -6
  84. package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -3
  85. package/esm2022/dropdown/dropdown.component.mjs +6 -6
  86. package/esm2022/dropdown/dropdown.module.mjs +4 -4
  87. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -7
  88. package/esm2022/empty-state/empty-state.component.mjs +16 -16
  89. package/esm2022/empty-state/empty-state.module.mjs +4 -4
  90. package/esm2022/file-upload/file-drop.mjs +3 -3
  91. package/esm2022/file-upload/file-upload.module.mjs +4 -4
  92. package/esm2022/file-upload/multiple-file-upload.component.mjs +5 -5
  93. package/esm2022/file-upload/single-file-upload.component.mjs +5 -5
  94. package/esm2022/form-field/cleaner.mjs +6 -6
  95. package/esm2022/form-field/form-field.mjs +11 -11
  96. package/esm2022/form-field/form-field.module.mjs +4 -4
  97. package/esm2022/form-field/hint.mjs +5 -5
  98. package/esm2022/form-field/password-hint.mjs +5 -5
  99. package/esm2022/form-field/password-toggle.mjs +5 -5
  100. package/esm2022/form-field/prefix.mjs +3 -3
  101. package/esm2022/form-field/stepper.mjs +8 -8
  102. package/esm2022/form-field/suffix.mjs +3 -3
  103. package/esm2022/form-field/validate.directive.mjs +3 -3
  104. package/esm2022/icon/icon-button.component.mjs +6 -6
  105. package/esm2022/icon/icon-item.component.mjs +6 -6
  106. package/esm2022/icon/icon.component.mjs +6 -6
  107. package/esm2022/icon/icon.module.mjs +4 -4
  108. package/esm2022/input/input-number-validators.mjs +6 -6
  109. package/esm2022/input/input-number.mjs +3 -3
  110. package/esm2022/input/input-password.mjs +3 -3
  111. package/esm2022/input/input.mjs +6 -6
  112. package/esm2022/input/input.module.mjs +4 -4
  113. package/esm2022/link/link.component.mjs +3 -3
  114. package/esm2022/link/link.module.mjs +4 -4
  115. package/esm2022/list/list-selection.component.mjs +11 -11
  116. package/esm2022/list/list.component.mjs +7 -7
  117. package/esm2022/list/list.module.mjs +4 -4
  118. package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
  119. package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
  120. package/esm2022/markdown/markdown.component.mjs +5 -5
  121. package/esm2022/markdown/markdown.module.mjs +4 -4
  122. package/esm2022/markdown/markdown.service.mjs +3 -3
  123. package/esm2022/modal/css-unit.pipe.mjs +3 -3
  124. package/esm2022/modal/modal-control.service.mjs +3 -3
  125. package/esm2022/modal/modal.component.mjs +5 -5
  126. package/esm2022/modal/modal.directive.mjs +12 -12
  127. package/esm2022/modal/modal.module.mjs +4 -4
  128. package/esm2022/modal/modal.service.mjs +3 -3
  129. package/esm2022/navbar/navbar-item.component.mjs +33 -33
  130. package/esm2022/navbar/navbar.component.mjs +11 -11
  131. package/esm2022/navbar/navbar.module.mjs +4 -4
  132. package/esm2022/navbar/vertical-navbar.component.mjs +5 -5
  133. package/esm2022/popover/popover-confirm.component.mjs +8 -8
  134. package/esm2022/popover/popover.component.mjs +8 -8
  135. package/esm2022/popover/popover.module.mjs +4 -4
  136. package/esm2022/progress-bar/progress-bar.component.mjs +10 -10
  137. package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
  138. package/esm2022/progress-spinner/progress-spinner.component.mjs +10 -10
  139. package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
  140. package/esm2022/radio/radio.component.mjs +7 -7
  141. package/esm2022/radio/radio.module.mjs +4 -4
  142. package/esm2022/risk-level/risk-level.component.mjs +4 -4
  143. package/esm2022/risk-level/risk-level.module.mjs +4 -4
  144. package/esm2022/scrollbar/scrollbar.component.mjs +10 -8
  145. package/esm2022/scrollbar/scrollbar.directive.mjs +8 -4
  146. package/esm2022/scrollbar/scrollbar.module.mjs +13 -8
  147. package/esm2022/select/select-option.directive.mjs +3 -3
  148. package/esm2022/select/select.component.mjs +6 -6
  149. package/esm2022/select/select.module.mjs +4 -4
  150. package/esm2022/sidebar/sidebar.component.mjs +9 -9
  151. package/esm2022/sidebar/sidebar.module.mjs +4 -4
  152. package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -5
  153. package/esm2022/sidepanel/sidepanel-directives.mjs +18 -18
  154. package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
  155. package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
  156. package/esm2022/splitter/splitter.component.mjs +14 -14
  157. package/esm2022/splitter/splitter.module.mjs +4 -4
  158. package/esm2022/table/table.component.mjs +7 -7
  159. package/esm2022/table/table.module.mjs +4 -4
  160. package/esm2022/tabs/paginated-tab-header.mjs +3 -3
  161. package/esm2022/tabs/tab-body.component.mjs +6 -6
  162. package/esm2022/tabs/tab-content.directive.mjs +3 -3
  163. package/esm2022/tabs/tab-group.component.mjs +16 -16
  164. package/esm2022/tabs/tab-header.component.mjs +5 -5
  165. package/esm2022/tabs/tab-label-wrapper.directive.mjs +3 -3
  166. package/esm2022/tabs/tab-label.directive.mjs +3 -3
  167. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
  168. package/esm2022/tabs/tab.component.mjs +3 -3
  169. package/esm2022/tabs/tabs.module.mjs +4 -4
  170. package/esm2022/tags/tag-input.mjs +3 -3
  171. package/esm2022/tags/tag-list.component.mjs +4 -4
  172. package/esm2022/tags/tag.component.mjs +12 -12
  173. package/esm2022/tags/tag.module.mjs +4 -4
  174. package/esm2022/textarea/textarea.component.mjs +3 -3
  175. package/esm2022/textarea/textarea.module.mjs +4 -4
  176. package/esm2022/timepicker/timepicker.directive.mjs +3 -3
  177. package/esm2022/timepicker/timepicker.module.mjs +4 -4
  178. package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
  179. package/esm2022/timezone/timezone-option.component.mjs +5 -5
  180. package/esm2022/timezone/timezone-option.directive.mjs +3 -3
  181. package/esm2022/timezone/timezone-select.component.mjs +9 -9
  182. package/esm2022/timezone/timezone.module.mjs +4 -4
  183. package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
  184. package/esm2022/title/title.directive.mjs +3 -3
  185. package/esm2022/title/title.module.mjs +4 -4
  186. package/esm2022/toast/toast-container.component.mjs +3 -3
  187. package/esm2022/toast/toast.component.mjs +8 -8
  188. package/esm2022/toast/toast.module.mjs +4 -4
  189. package/esm2022/toast/toast.service.mjs +3 -3
  190. package/esm2022/toggle/toggle.component.mjs +6 -6
  191. package/esm2022/toggle/toggle.module.mjs +4 -4
  192. package/esm2022/tooltip/tooltip.component.mjs +14 -14
  193. package/esm2022/tooltip/tooltip.module.mjs +4 -4
  194. package/esm2022/tree/node.mjs +3 -3
  195. package/esm2022/tree/outlet.mjs +3 -3
  196. package/esm2022/tree/padding.directive.mjs +3 -3
  197. package/esm2022/tree/toggle.mjs +14 -14
  198. package/esm2022/tree/tree-base.mjs +6 -6
  199. package/esm2022/tree/tree-option.component.mjs +5 -5
  200. package/esm2022/tree/tree-selection.component.mjs +5 -5
  201. package/esm2022/tree/tree.mjs +5 -5
  202. package/esm2022/tree/tree.module.mjs +4 -4
  203. package/esm2022/tree-select/tree-select.component.mjs +6 -6
  204. package/esm2022/tree-select/tree-select.module.mjs +4 -4
  205. package/fesm2022/koobiq-components-alert.mjs +17 -17
  206. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  207. package/fesm2022/koobiq-components-autocomplete.mjs +15 -15
  208. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  209. package/fesm2022/koobiq-components-badge.mjs +14 -14
  210. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  211. package/fesm2022/koobiq-components-button-toggle.mjs +12 -12
  212. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  213. package/fesm2022/koobiq-components-button.mjs +12 -12
  214. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  215. package/fesm2022/koobiq-components-checkbox.mjs +11 -11
  216. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  217. package/fesm2022/koobiq-components-code-block.mjs +12 -12
  218. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  219. package/fesm2022/koobiq-components-core.mjs +158 -158
  220. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  221. package/fesm2022/koobiq-components-datepicker.mjs +37 -37
  222. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  223. package/fesm2022/koobiq-components-divider.mjs +8 -8
  224. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  225. package/fesm2022/koobiq-components-dl.mjs +14 -14
  226. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  227. package/fesm2022/koobiq-components-dropdown.mjs +20 -20
  228. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  229. package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -7
  230. package/fesm2022/koobiq-components-empty-state.mjs +20 -20
  231. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  232. package/fesm2022/koobiq-components-file-upload.mjs +15 -15
  233. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  234. package/fesm2022/koobiq-components-form-field.mjs +49 -49
  235. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  236. package/fesm2022/koobiq-components-icon.mjs +19 -19
  237. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  238. package/fesm2022/koobiq-components-input.mjs +22 -22
  239. package/fesm2022/koobiq-components-link.mjs +7 -7
  240. package/fesm2022/koobiq-components-list.mjs +22 -22
  241. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  242. package/fesm2022/koobiq-components-loader-overlay.mjs +17 -17
  243. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  244. package/fesm2022/koobiq-components-markdown.mjs +12 -12
  245. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  246. package/fesm2022/koobiq-components-modal.mjs +29 -29
  247. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  248. package/fesm2022/koobiq-components-navbar.mjs +52 -52
  249. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  250. package/fesm2022/koobiq-components-popover.mjs +18 -18
  251. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  252. package/fesm2022/koobiq-components-progress-bar.mjs +14 -14
  253. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  254. package/fesm2022/koobiq-components-progress-spinner.mjs +14 -14
  255. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  256. package/fesm2022/koobiq-components-radio.mjs +11 -11
  257. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  258. package/fesm2022/koobiq-components-risk-level.mjs +8 -8
  259. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  260. package/fesm2022/koobiq-components-scrollbar.mjs +28 -16
  261. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  262. package/fesm2022/koobiq-components-select.mjs +12 -12
  263. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  264. package/fesm2022/koobiq-components-sidebar.mjs +13 -13
  265. package/fesm2022/koobiq-components-sidepanel.mjs +28 -28
  266. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  267. package/fesm2022/koobiq-components-splitter.mjs +17 -17
  268. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  269. package/fesm2022/koobiq-components-table.mjs +11 -11
  270. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  271. package/fesm2022/koobiq-components-tabs.mjs +52 -52
  272. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  273. package/fesm2022/koobiq-components-tags.mjs +23 -23
  274. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  275. package/fesm2022/koobiq-components-textarea.mjs +7 -7
  276. package/fesm2022/koobiq-components-timepicker.mjs +7 -7
  277. package/fesm2022/koobiq-components-timezone.mjs +26 -26
  278. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  279. package/fesm2022/koobiq-components-title.mjs +7 -7
  280. package/fesm2022/koobiq-components-toast.mjs +17 -17
  281. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  282. package/fesm2022/koobiq-components-toggle.mjs +9 -9
  283. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  284. package/fesm2022/koobiq-components-tooltip.mjs +17 -17
  285. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  286. package/fesm2022/koobiq-components-tree-select.mjs +9 -9
  287. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  288. package/fesm2022/koobiq-components-tree.mjs +47 -47
  289. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  290. package/file-upload/file-upload-tokens.scss +147 -146
  291. package/file-upload/multiple-file-upload.component.scss +2 -8
  292. package/form-field/form-field-tokens.scss +72 -72
  293. package/form-field/hint-tokens.scss +51 -51
  294. package/icon/icon-button-tokens.scss +54 -56
  295. package/icon/icon-item-tokens.scss +46 -44
  296. package/icon/icon-tokens.scss +14 -12
  297. package/input/input-tokens.scss +11 -10
  298. package/link/link-tokens.scss +56 -57
  299. package/list/list-tokens.scss +84 -86
  300. package/loader-overlay/loader-overlay-tokens.scss +54 -50
  301. package/markdown/markdown-tokens.scss +214 -235
  302. package/modal/modal-tokens.scss +40 -41
  303. package/navbar/navbar-tokens.scss +50 -71
  304. package/navbar/vertical-navbar.scss +5 -0
  305. package/package.json +13 -10
  306. package/popover/popover-tokens.scss +40 -45
  307. package/prebuilt-themes/dark-theme.css +1 -1
  308. package/prebuilt-themes/light-theme.css +1 -1
  309. package/prebuilt-themes/theme.css +1 -0
  310. package/progress-bar/progress-bar-tokens.scss +28 -28
  311. package/progress-spinner/progress-spinner-tokens.scss +28 -28
  312. package/radio/radio-tokens.scss +119 -127
  313. package/risk-level/risk-level-tokens.scss +57 -56
  314. package/schematics/collection.json +5 -0
  315. package/schematics/new-icons-pack/data.js +2303 -0
  316. package/schematics/new-icons-pack/index.js +120 -0
  317. package/schematics/new-icons-pack/schema.json +25 -0
  318. package/schematics/ng-add/index.js +14 -40
  319. package/schematics/utils/package-config.js +65 -0
  320. package/scrollbar/scrollbar-tokens.scss +16 -14
  321. package/scrollbar/scrollbar.component.d.ts +4 -1
  322. package/scrollbar/scrollbar.directive.d.ts +5 -25
  323. package/scrollbar/scrollbar.module.d.ts +1 -1
  324. package/select/select-tokens.scss +31 -48
  325. package/sidepanel/sidepanel-tokens.scss +36 -37
  326. package/splitter/splitter-tokens.scss +1 -7
  327. package/table/table-tokens.scss +18 -34
  328. package/tabs/tabs-tokens.scss +168 -107
  329. package/tags/tag-input-tokens.scss +13 -12
  330. package/tags/tag-tokens.scss +141 -141
  331. package/textarea/textarea-tokens.scss +11 -10
  332. package/timezone/timezone-option-tokens.scss +40 -38
  333. package/toast/toast-tokens.scss +61 -65
  334. package/toggle/toggle-tokens.scss +124 -128
  335. package/tooltip/tooltip-tokens.scss +50 -54
  336. package/tree/tree-tokens.scss +80 -80
  337. package/tree-select/tree-select-tokens.scss +14 -50
@@ -1,115 +1,107 @@
1
+ /* stylelint-disable no-unknown-custom-properties */
2
+
1
3
  .kbq-option {
2
- --kbq-size-3xs: 2px;
3
- --kbq-size-xxs: 4px;
4
- --kbq-size-xs: 6px;
5
- --kbq-size-s: 8px;
6
- --kbq-size-m: 12px;
7
- --kbq-list-size-container-padding-left: 12px;
8
- --kbq-list-size-container-padding-right: 12px;
9
- --kbq-list-size-container-padding-vertical: 6px;
10
- --kbq-list-size-container-content-gap-horizontal: 8px;
11
- --kbq-list-size-container-content-gap-vertical: 2px;
12
- --kbq-list-size-container-focus-outline-width: 2px;
4
+ --kbq-list-size-container-padding-left: var(--kbq-size-m);
5
+ --kbq-list-size-container-padding-right: var(--kbq-size-m);
6
+ --kbq-list-size-container-padding-vertical: var(--kbq-size-xs);
7
+ --kbq-list-size-container-content-gap-horizontal: var(--kbq-size-s);
8
+ --kbq-list-size-container-content-gap-vertical: var(--kbq-size-3xs);
9
+ --kbq-list-size-container-focus-outline-width: var(--kbq-size-3xs);
13
10
  --kbq-list-size-text-padding-vertical: 0;
14
- --kbq-list-size-header-padding-top: 8px;
15
- --kbq-list-size-header-padding-bottom: 4px;
16
- --kbq-list-size-header-padding-horizontal: 12px;
17
- --kbq-list-size-subheading-padding-top: 12px;
18
- --kbq-list-size-subheading-padding-bottom: 4px;
19
- --kbq-list-size-subheading-padding-horizontal: 12px;
20
- --kbq-list-font-text-font-size: 14px;
21
- --kbq-list-font-text-line-height: 20px;
22
- --kbq-list-font-text-letter-spacing: -0.006em;
23
- --kbq-list-font-text-font-weight: normal;
24
- --kbq-list-font-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
25
- sans-serif;
26
- --kbq-list-font-text-text-transform: null;
27
- --kbq-list-font-text-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
28
- --kbq-list-font-caption-font-size: 12px;
29
- --kbq-list-font-caption-line-height: 16px;
30
- --kbq-list-font-caption-letter-spacing: normal;
31
- --kbq-list-font-caption-font-weight: normal;
32
- --kbq-list-font-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
33
- sans-serif;
34
- --kbq-list-font-caption-text-transform: null;
35
- --kbq-list-font-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
36
- --kbq-list-font-header-font-size: 16px;
37
- --kbq-list-font-header-line-height: 24px;
38
- --kbq-list-font-header-letter-spacing: -0.011em;
39
- --kbq-list-font-header-font-weight: 600;
40
- --kbq-list-font-header-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
41
- sans-serif;
42
- --kbq-list-font-header-text-transform: null;
43
- --kbq-list-font-header-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
44
- --kbq-list-font-subheading-font-size: 12px;
45
- --kbq-list-font-subheading-line-height: 16px;
46
- --kbq-list-font-subheading-letter-spacing: 1px;
47
- --kbq-list-font-subheading-font-weight: 500;
48
- --kbq-list-font-subheading-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
49
- Arial, sans-serif;
50
- --kbq-list-font-subheading-text-transform: uppercase;
51
- --kbq-list-font-subheading-font-feature-settings: 'calt', 'case', 'kern', 'liga', 'ss01', 'ss04';
52
- --kbq-option-size-horizontal-padding: 12px;
53
- --kbq-option-size-height: 32px;
11
+ --kbq-list-size-header-padding-top: var(--kbq-size-s);
12
+ --kbq-list-size-header-padding-bottom: var(--kbq-size-xxs);
13
+ --kbq-list-size-header-padding-horizontal: var(--kbq-size-m);
14
+ --kbq-list-size-subheading-padding-top: var(--kbq-size-m);
15
+ --kbq-list-size-subheading-padding-bottom: var(--kbq-size-xxs);
16
+ --kbq-list-size-subheading-padding-horizontal: var(--kbq-size-m);
17
+ --kbq-list-font-text-font-size: var(--kbq-typography-text-normal-font-size);
18
+ --kbq-list-font-text-line-height: var(--kbq-typography-text-normal-line-height);
19
+ --kbq-list-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
20
+ --kbq-list-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
21
+ --kbq-list-font-text-font-family: var(--kbq-typography-text-normal-font-family);
22
+ --kbq-list-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
23
+ --kbq-list-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
24
+ --kbq-list-font-caption-font-size: var(--kbq-typography-text-compact-font-size);
25
+ --kbq-list-font-caption-line-height: var(--kbq-typography-text-compact-line-height);
26
+ --kbq-list-font-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
27
+ --kbq-list-font-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
28
+ --kbq-list-font-caption-font-family: var(--kbq-typography-text-compact-font-family);
29
+ --kbq-list-font-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
30
+ --kbq-list-font-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
31
+ --kbq-list-font-header-font-size: var(--kbq-typography-text-big-strong-font-size);
32
+ --kbq-list-font-header-line-height: var(--kbq-typography-text-big-strong-line-height);
33
+ --kbq-list-font-header-letter-spacing: var(--kbq-typography-text-big-strong-letter-spacing);
34
+ --kbq-list-font-header-font-weight: var(--kbq-typography-text-big-strong-font-weight);
35
+ --kbq-list-font-header-font-family: var(--kbq-typography-text-big-strong-font-family);
36
+ --kbq-list-font-header-text-transform: var(--kbq-typography-text-big-strong-text-transform);
37
+ --kbq-list-font-header-font-feature-settings: var(--kbq-typography-text-big-strong-font-feature-settings);
38
+ --kbq-list-font-subheading-font-size: var(--kbq-typography-caps-compact-strong-font-size);
39
+ --kbq-list-font-subheading-line-height: var(--kbq-typography-caps-compact-strong-line-height);
40
+ --kbq-list-font-subheading-letter-spacing: var(--kbq-typography-caps-compact-strong-letter-spacing);
41
+ --kbq-list-font-subheading-font-weight: var(--kbq-typography-caps-compact-strong-font-weight);
42
+ --kbq-list-font-subheading-font-family: var(--kbq-typography-caps-compact-strong-font-family);
43
+ --kbq-list-font-subheading-text-transform: var(--kbq-typography-caps-compact-strong-text-transform);
44
+ --kbq-list-font-subheading-font-feature-settings: var(--kbq-typography-caps-compact-strong-font-feature-settings);
45
+ --kbq-option-size-horizontal-padding: var(--kbq-size-m);
46
+ --kbq-option-size-height: var(--kbq-size-3xl);
54
47
  --kbq-option-size-border-width: 2px;
55
- --kbq-option-font-default-font-size: 16px;
56
- --kbq-option-font-default-line-height: 24px;
57
- --kbq-option-font-default-letter-spacing: -0.011em;
58
- --kbq-option-font-default-font-weight: normal;
59
- --kbq-option-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
60
- sans-serif;
61
- --kbq-option-font-default-text-transform: null;
62
- --kbq-option-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
48
+ --kbq-option-font-default-font-size: var(--kbq-typography-text-big-font-size);
49
+ --kbq-option-font-default-line-height: var(--kbq-typography-text-big-line-height);
50
+ --kbq-option-font-default-letter-spacing: var(--kbq-typography-text-big-letter-spacing);
51
+ --kbq-option-font-default-font-weight: var(--kbq-typography-text-big-font-weight);
52
+ --kbq-option-font-default-font-family: var(--kbq-typography-text-big-font-family);
53
+ --kbq-option-font-default-text-transform: var(--kbq-typography-text-big-text-transform);
54
+ --kbq-option-font-default-font-feature-settings: var(--kbq-typography-text-big-font-feature-settings);
63
55
  }
64
56
 
65
57
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
66
58
  --kbq-list-default-container-background: transparent;
67
- --kbq-list-default-text-color: hsla(229, 15%, 15%, 100%);
68
- --kbq-list-default-icon-color: hsla(229, 15%, 15%, 100%);
69
- --kbq-list-default-icon-button-color: hsla(229, 15%, 60%, 100%);
70
- --kbq-list-default-caption-color: hsla(229, 15%, 50%, 100%);
71
- --kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 8%);
72
- --kbq-list-states-hover-text-color: hsla(229, 15%, 15%, 100%);
73
- --kbq-list-states-hover-icon-color: hsla(229, 15%, 15%, 100%);
74
- --kbq-list-states-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
75
- --kbq-list-states-selected-container-background: hsla(216, 100%, 94%, 100%);
76
- --kbq-list-states-selected-text-color: hsla(229, 15%, 15%, 100%);
77
- --kbq-list-states-selected-icon-color: hsla(229, 15%, 15%, 100%);
78
- --kbq-list-states-selected-icon-button-color: hsla(229, 15%, 60%, 100%);
79
- --kbq-list-states-selected-hover-container-background: hsla(216, 100%, 90%, 100%);
80
- --kbq-list-states-selected-hover-text-color: hsla(229, 15%, 15%, 100%);
81
- --kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 15%, 100%);
82
- --kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
83
- --kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
59
+ --kbq-list-default-text-color: var(--kbq-foreground-contrast);
60
+ --kbq-list-default-icon-color: var(--kbq-icon-contrast);
61
+ --kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade);
62
+ --kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary);
63
+ --kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover);
64
+ --kbq-list-states-hover-text-color: var(--kbq-foreground-contrast);
65
+ --kbq-list-states-hover-icon-color: var(--kbq-icon-contrast);
66
+ --kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade);
67
+ --kbq-list-states-selected-container-background: var(--kbq-background-theme-less);
68
+ --kbq-list-states-selected-text-color: var(--kbq-foreground-contrast);
69
+ --kbq-list-states-selected-icon-color: var(--kbq-icon-contrast);
70
+ --kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade);
71
+ --kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover);
72
+ --kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast);
73
+ --kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast);
74
+ --kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade);
75
+ --kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
84
76
  --kbq-list-states-disabled-container-background: transparent;
85
- --kbq-list-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
86
- --kbq-list-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
87
- --kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 15%, 32%);
88
- --kbq-list-states-disabled-caption-color: hsla(229, 15%, 15%, 32%);
77
+ --kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled);
78
+ --kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled);
79
+ --kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
80
+ --kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled);
89
81
  }
90
82
 
91
83
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
92
84
  --kbq-list-default-container-background: transparent;
93
- --kbq-list-default-text-color: hsla(229, 15%, 80%, 100%);
94
- --kbq-list-default-icon-color: hsla(229, 15%, 80%, 100%);
95
- --kbq-list-default-icon-button-color: hsla(229, 15%, 45%, 100%);
96
- --kbq-list-default-caption-color: hsla(229, 15%, 60%, 100%);
97
- --kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 16%);
98
- --kbq-list-states-hover-text-color: hsla(229, 15%, 80%, 100%);
99
- --kbq-list-states-hover-icon-color: hsla(229, 15%, 80%, 100%);
100
- --kbq-list-states-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
101
- --kbq-list-states-selected-container-background: hsla(216, 100%, 18%, 100%);
102
- --kbq-list-states-selected-text-color: hsla(229, 15%, 80%, 100%);
103
- --kbq-list-states-selected-icon-color: hsla(229, 15%, 80%, 100%);
104
- --kbq-list-states-selected-icon-button-color: hsla(229, 15%, 45%, 100%);
105
- --kbq-list-states-selected-hover-container-background: hsla(216, 100%, 15%, 100%);
106
- --kbq-list-states-selected-hover-text-color: hsla(229, 15%, 80%, 100%);
107
- --kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 80%, 100%);
108
- --kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
109
- --kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
85
+ --kbq-list-default-text-color: var(--kbq-foreground-contrast);
86
+ --kbq-list-default-icon-color: var(--kbq-icon-contrast);
87
+ --kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade);
88
+ --kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary);
89
+ --kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover);
90
+ --kbq-list-states-hover-text-color: var(--kbq-foreground-contrast);
91
+ --kbq-list-states-hover-icon-color: var(--kbq-icon-contrast);
92
+ --kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade);
93
+ --kbq-list-states-selected-container-background: var(--kbq-background-theme-less);
94
+ --kbq-list-states-selected-text-color: var(--kbq-foreground-contrast);
95
+ --kbq-list-states-selected-icon-color: var(--kbq-icon-contrast);
96
+ --kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade);
97
+ --kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover);
98
+ --kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast);
99
+ --kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast);
100
+ --kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade);
101
+ --kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
110
102
  --kbq-list-states-disabled-container-background: transparent;
111
- --kbq-list-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
112
- --kbq-list-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
113
- --kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 30%, 100%);
114
- --kbq-list-states-disabled-caption-color: hsla(229, 15%, 40%, 100%);
103
+ --kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled);
104
+ --kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled);
105
+ --kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
106
+ --kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled);
115
107
  }
@@ -1,140 +1,138 @@
1
+ /* stylelint-disable no-unknown-custom-properties */
2
+
1
3
  .kbq-pseudo-checkbox {
2
- --kbq-checkbox-size-normal-width: 16px;
3
- --kbq-checkbox-size-normal-border-width: 1px;
4
- --kbq-checkbox-size-normal-border-radius: 4px;
5
- --kbq-checkbox-size-normal-horizontal-content-padding: 8px;
6
- --kbq-checkbox-size-normal-vertical-content-padding: 2px;
7
- --kbq-checkbox-size-normal-top: 2px;
8
- --kbq-checkbox-size-big-width: 16px;
9
- --kbq-checkbox-size-big-border-width: 1px;
10
- --kbq-checkbox-size-big-border-radius: 4px;
11
- --kbq-checkbox-size-big-horizontal-content-padding: 8px;
12
- --kbq-checkbox-size-big-vertical-content-padding: 2px;
13
- --kbq-checkbox-size-big-top: 4px;
14
- --kbq-checkbox-font-normal-label-font-size: 14px;
15
- --kbq-checkbox-font-normal-label-line-height: 20px;
16
- --kbq-checkbox-font-normal-label-letter-spacing: -0.006em;
17
- --kbq-checkbox-font-normal-label-font-weight: normal;
18
- --kbq-checkbox-font-normal-label-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
19
- Arial, sans-serif;
20
- --kbq-checkbox-font-normal-label-text-transform: null;
21
- --kbq-checkbox-font-normal-label-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
22
- --kbq-checkbox-font-normal-caption-font-size: 12px;
23
- --kbq-checkbox-font-normal-caption-line-height: 16px;
24
- --kbq-checkbox-font-normal-caption-letter-spacing: normal;
25
- --kbq-checkbox-font-normal-caption-font-weight: normal;
26
- --kbq-checkbox-font-normal-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
27
- 'Helvetica Neue', Arial, sans-serif;
28
- --kbq-checkbox-font-normal-caption-text-transform: null;
29
- --kbq-checkbox-font-normal-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
30
- --kbq-checkbox-font-big-label-font-size: 16px;
31
- --kbq-checkbox-font-big-label-line-height: 24px;
32
- --kbq-checkbox-font-big-label-letter-spacing: -0.011em;
33
- --kbq-checkbox-font-big-label-font-weight: normal;
34
- --kbq-checkbox-font-big-label-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
35
- Arial, sans-serif;
36
- --kbq-checkbox-font-big-label-text-transform: null;
37
- --kbq-checkbox-font-big-label-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
38
- --kbq-checkbox-font-big-caption-font-size: 14px;
39
- --kbq-checkbox-font-big-caption-line-height: 20px;
40
- --kbq-checkbox-font-big-caption-letter-spacing: -0.006em;
41
- --kbq-checkbox-font-big-caption-font-weight: normal;
42
- --kbq-checkbox-font-big-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
43
- Arial, sans-serif;
44
- --kbq-checkbox-font-big-caption-text-transform: null;
45
- --kbq-checkbox-font-big-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
4
+ --kbq-checkbox-size-normal-width: var(--kbq-size-l);
5
+ --kbq-checkbox-size-normal-border-width: var(--kbq-size-border-width);
6
+ --kbq-checkbox-size-normal-border-radius: var(--kbq-size-xxs);
7
+ --kbq-checkbox-size-normal-horizontal-content-padding: var(--kbq-size-s);
8
+ --kbq-checkbox-size-normal-vertical-content-padding: var(--kbq-size-3xs);
9
+ --kbq-checkbox-size-normal-top: var(--kbq-size-3xs);
10
+ --kbq-checkbox-size-big-width: var(--kbq-size-l);
11
+ --kbq-checkbox-size-big-border-width: var(--kbq-size-border-width);
12
+ --kbq-checkbox-size-big-border-radius: var(--kbq-size-xxs);
13
+ --kbq-checkbox-size-big-horizontal-content-padding: var(--kbq-size-s);
14
+ --kbq-checkbox-size-big-vertical-content-padding: var(--kbq-size-3xs);
15
+ --kbq-checkbox-size-big-top: var(--kbq-size-xxs);
16
+ --kbq-checkbox-font-normal-label-font-size: var(--kbq-typography-text-normal-font-size);
17
+ --kbq-checkbox-font-normal-label-line-height: var(--kbq-typography-text-normal-line-height);
18
+ --kbq-checkbox-font-normal-label-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
19
+ --kbq-checkbox-font-normal-label-font-weight: var(--kbq-typography-text-normal-font-weight);
20
+ --kbq-checkbox-font-normal-label-font-family: var(--kbq-typography-text-normal-font-family);
21
+ --kbq-checkbox-font-normal-label-text-transform: var(--kbq-typography-text-normal-text-transform);
22
+ --kbq-checkbox-font-normal-label-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
23
+ --kbq-checkbox-font-normal-caption-font-size: var(--kbq-typography-text-compact-font-size);
24
+ --kbq-checkbox-font-normal-caption-line-height: var(--kbq-typography-text-compact-line-height);
25
+ --kbq-checkbox-font-normal-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
26
+ --kbq-checkbox-font-normal-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
27
+ --kbq-checkbox-font-normal-caption-font-family: var(--kbq-typography-text-compact-font-family);
28
+ --kbq-checkbox-font-normal-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
29
+ --kbq-checkbox-font-normal-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
30
+ --kbq-checkbox-font-big-label-font-size: var(--kbq-typography-text-big-font-size);
31
+ --kbq-checkbox-font-big-label-line-height: var(--kbq-typography-text-big-line-height);
32
+ --kbq-checkbox-font-big-label-letter-spacing: var(--kbq-typography-text-big-letter-spacing);
33
+ --kbq-checkbox-font-big-label-font-weight: var(--kbq-typography-text-big-font-weight);
34
+ --kbq-checkbox-font-big-label-font-family: var(--kbq-typography-text-big-font-family);
35
+ --kbq-checkbox-font-big-label-text-transform: var(--kbq-typography-text-big-text-transform);
36
+ --kbq-checkbox-font-big-label-font-feature-settings: var(--kbq-typography-text-big-font-feature-settings);
37
+ --kbq-checkbox-font-big-caption-font-size: var(--kbq-typography-text-normal-font-size);
38
+ --kbq-checkbox-font-big-caption-line-height: var(--kbq-typography-text-normal-line-height);
39
+ --kbq-checkbox-font-big-caption-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
40
+ --kbq-checkbox-font-big-caption-font-weight: var(--kbq-typography-text-normal-font-weight);
41
+ --kbq-checkbox-font-big-caption-font-family: var(--kbq-typography-text-normal-font-family);
42
+ --kbq-checkbox-font-big-caption-text-transform: var(--kbq-typography-text-normal-text-transform);
43
+ --kbq-checkbox-font-big-caption-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
46
44
  }
47
45
 
48
46
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
49
- --kbq-checkbox-theme-default-border: hsla(229, 15%, 80%, 100%);
50
- --kbq-checkbox-theme-default-color: hsla(0, 0%, 100%, 100%);
51
- --kbq-checkbox-theme-default-text: hsla(229, 15%, 15%, 100%);
52
- --kbq-checkbox-theme-default-background: hsla(0, 0%, 100%, 100%);
53
- --kbq-checkbox-theme-default-caption: hsla(229, 15%, 50%, 100%);
54
- --kbq-checkbox-theme-states-hover-border: hsla(229, 15%, 80%, 100%);
55
- --kbq-checkbox-theme-states-hover-background: hsla(229, 15%, 50%, 8%);
47
+ --kbq-checkbox-theme-default-border: var(--kbq-line-contrast-fade);
48
+ --kbq-checkbox-theme-default-color: var(--kbq-neutral-white);
49
+ --kbq-checkbox-theme-default-text: var(--kbq-foreground-contrast);
50
+ --kbq-checkbox-theme-default-background: var(--kbq-background-bg);
51
+ --kbq-checkbox-theme-default-caption: var(--kbq-foreground-contrast-secondary);
52
+ --kbq-checkbox-theme-states-hover-border: var(--kbq-line-contrast-fade);
53
+ --kbq-checkbox-theme-states-hover-background: var(--kbq-states-background-transparent-hover);
56
54
  --kbq-checkbox-theme-states-checked-border: transparent;
57
- --kbq-checkbox-theme-states-checked-background: hsla(216, 100%, 50%, 100%);
55
+ --kbq-checkbox-theme-states-checked-background: var(--kbq-background-theme);
58
56
  --kbq-checkbox-theme-states-checked-hover-border: transparent;
59
- --kbq-checkbox-theme-states-checked-hover-background: hsla(216, 100%, 45%, 100%);
60
- --kbq-checkbox-theme-states-focused-border: hsla(216, 100%, 60%, 100%);
61
- --kbq-checkbox-theme-states-focused-background: hsla(0, 0%, 100%, 100%);
62
- --kbq-checkbox-theme-states-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
63
- --kbq-checkbox-theme-states-checked-focused-border: hsla(216, 100%, 60%, 100%);
64
- --kbq-checkbox-theme-states-checked-focused-background: hsla(216, 100%, 50%, 100%);
65
- --kbq-checkbox-theme-states-checked-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
66
- --kbq-checkbox-theme-states-disabled-border: hsla(229, 15%, 80%, 100%);
67
- --kbq-checkbox-theme-states-disabled-color: hsla(229, 15%, 15%, 32%);
68
- --kbq-checkbox-theme-states-disabled-text: hsla(229, 15%, 15%, 32%);
69
- --kbq-checkbox-theme-states-disabled-background: hsla(229, 15%, 50%, 16%);
70
- --kbq-checkbox-theme-states-disabled-caption: hsla(229, 15%, 15%, 32%);
71
- --kbq-checkbox-error-default-border: hsla(7, 97%, 45%, 100%);
72
- --kbq-checkbox-error-default-color: hsla(0, 0%, 100%, 100%);
73
- --kbq-checkbox-error-default-text: hsla(229, 15%, 15%, 100%);
74
- --kbq-checkbox-error-default-background: hsla(7, 97%, 99%, 100%);
75
- --kbq-checkbox-error-default-caption: hsla(229, 15%, 50%, 100%);
76
- --kbq-checkbox-error-states-hover-border: hsla(7, 97%, 45%, 100%);
77
- --kbq-checkbox-error-states-hover-background: hsla(7, 97%, 92%, 100%);
57
+ --kbq-checkbox-theme-states-checked-hover-background: var(--kbq-states-background-theme-hover);
58
+ --kbq-checkbox-theme-states-focused-border: var(--kbq-states-line-focus-theme);
59
+ --kbq-checkbox-theme-states-focused-background: var(--kbq-background-bg);
60
+ --kbq-checkbox-theme-states-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
61
+ --kbq-checkbox-theme-states-checked-focused-border: var(--kbq-states-line-focus-theme);
62
+ --kbq-checkbox-theme-states-checked-focused-background: var(--kbq-background-theme);
63
+ --kbq-checkbox-theme-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
64
+ --kbq-checkbox-theme-states-disabled-border: var(--kbq-line-contrast-fade);
65
+ --kbq-checkbox-theme-states-disabled-color: var(--kbq-states-icon-disabled);
66
+ --kbq-checkbox-theme-states-disabled-text: var(--kbq-states-foreground-disabled);
67
+ --kbq-checkbox-theme-states-disabled-background: var(--kbq-states-background-disabled);
68
+ --kbq-checkbox-theme-states-disabled-caption: var(--kbq-states-icon-disabled);
69
+ --kbq-checkbox-error-default-border: var(--kbq-line-error);
70
+ --kbq-checkbox-error-default-color: var(--kbq-neutral-white);
71
+ --kbq-checkbox-error-default-text: var(--kbq-foreground-contrast);
72
+ --kbq-checkbox-error-default-background: var(--kbq-states-background-error-less);
73
+ --kbq-checkbox-error-default-caption: var(--kbq-foreground-contrast-secondary);
74
+ --kbq-checkbox-error-states-hover-border: var(--kbq-line-error);
75
+ --kbq-checkbox-error-states-hover-background: var(--kbq-states-background-error-fade-hover);
78
76
  --kbq-checkbox-error-states-checked-border: transparent;
79
- --kbq-checkbox-error-states-checked-background: hsla(7, 97%, 60%, 100%);
77
+ --kbq-checkbox-error-states-checked-background: var(--kbq-background-error);
80
78
  --kbq-checkbox-error-states-checked-hover-border: transparent;
81
- --kbq-checkbox-error-states-checked-hover-background: hsla(7, 97%, 56%, 100%);
82
- --kbq-checkbox-error-states-focused-border: hsla(7, 97%, 45%, 100%);
83
- --kbq-checkbox-error-states-focused-background: hsla(7, 97%, 99%, 100%);
84
- --kbq-checkbox-error-states-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
85
- --kbq-checkbox-error-states-checked-focused-border: hsla(7, 97%, 45%, 100%);
86
- --kbq-checkbox-error-states-checked-focused-background: hsla(7, 97%, 60%, 100%);
87
- --kbq-checkbox-error-states-checked-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
88
- --kbq-checkbox-error-states-disabled-border: hsla(229, 15%, 80%, 100%);
89
- --kbq-checkbox-error-states-disabled-color: hsla(229, 15%, 15%, 32%);
90
- --kbq-checkbox-error-states-disabled-text: hsla(229, 15%, 15%, 32%);
91
- --kbq-checkbox-error-states-disabled-background: hsla(229, 15%, 50%, 16%);
92
- --kbq-checkbox-error-states-disabled-caption: hsla(229, 15%, 15%, 32%);
79
+ --kbq-checkbox-error-states-checked-hover-background: var(--kbq-states-background-error-hover);
80
+ --kbq-checkbox-error-states-focused-border: var(--kbq-line-error);
81
+ --kbq-checkbox-error-states-focused-background: var(--kbq-states-background-error-less);
82
+ --kbq-checkbox-error-states-focused-outline: 1px solid var(--kbq-states-line-focus-error);
83
+ --kbq-checkbox-error-states-checked-focused-border: var(--kbq-states-line-focus-error);
84
+ --kbq-checkbox-error-states-checked-focused-background: var(--kbq-background-error);
85
+ --kbq-checkbox-error-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-error);
86
+ --kbq-checkbox-error-states-disabled-border: var(--kbq-line-contrast-fade);
87
+ --kbq-checkbox-error-states-disabled-color: var(--kbq-states-icon-disabled);
88
+ --kbq-checkbox-error-states-disabled-text: var(--kbq-states-foreground-disabled);
89
+ --kbq-checkbox-error-states-disabled-background: var(--kbq-states-background-disabled);
90
+ --kbq-checkbox-error-states-disabled-caption: var(--kbq-states-icon-disabled);
93
91
  }
94
92
 
95
93
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
96
- --kbq-checkbox-theme-default-border: hsla(229, 15%, 30%, 100%);
97
- --kbq-checkbox-theme-default-color: hsla(0, 0%, 100%, 100%);
98
- --kbq-checkbox-theme-default-text: hsla(229, 15%, 80%, 100%);
99
- --kbq-checkbox-theme-default-background: hsla(229, 15%, 12%, 100%);
100
- --kbq-checkbox-theme-default-caption: hsla(229, 15%, 60%, 100%);
101
- --kbq-checkbox-theme-states-hover-border: hsla(229, 15%, 30%, 100%);
102
- --kbq-checkbox-theme-states-hover-background: hsla(229, 15%, 50%, 16%);
94
+ --kbq-checkbox-theme-default-border: var(--kbq-line-contrast-fade);
95
+ --kbq-checkbox-theme-default-color: var(--kbq-neutral-white);
96
+ --kbq-checkbox-theme-default-text: var(--kbq-foreground-contrast);
97
+ --kbq-checkbox-theme-default-background: var(--kbq-background-bg);
98
+ --kbq-checkbox-theme-default-caption: var(--kbq-foreground-contrast-secondary);
99
+ --kbq-checkbox-theme-states-hover-border: var(--kbq-line-contrast-fade);
100
+ --kbq-checkbox-theme-states-hover-background: var(--kbq-states-background-transparent-hover);
103
101
  --kbq-checkbox-theme-states-checked-border: transparent;
104
- --kbq-checkbox-theme-states-checked-background: hsla(216, 100%, 50%, 100%);
102
+ --kbq-checkbox-theme-states-checked-background: var(--kbq-background-theme);
105
103
  --kbq-checkbox-theme-states-checked-hover-border: transparent;
106
- --kbq-checkbox-theme-states-checked-hover-background: hsla(216, 100%, 45%, 100%);
107
- --kbq-checkbox-theme-states-focused-border: hsla(216, 100%, 60%, 100%);
108
- --kbq-checkbox-theme-states-focused-background: hsla(229, 15%, 12%, 100%);
109
- --kbq-checkbox-theme-states-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
110
- --kbq-checkbox-theme-states-checked-focused-border: hsla(216, 100%, 60%, 100%);
111
- --kbq-checkbox-theme-states-checked-focused-background: hsla(216, 100%, 50%, 100%);
112
- --kbq-checkbox-theme-states-checked-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
113
- --kbq-checkbox-theme-states-disabled-border: hsla(229, 15%, 30%, 100%);
114
- --kbq-checkbox-theme-states-disabled-color: hsla(229, 15%, 30%, 100%);
115
- --kbq-checkbox-theme-states-disabled-text: hsla(229, 15%, 40%, 100%);
116
- --kbq-checkbox-theme-states-disabled-background: hsla(229, 15%, 50%, 16%);
117
- --kbq-checkbox-theme-states-disabled-caption: hsla(229, 15%, 30%, 100%);
118
- --kbq-checkbox-error-default-border: hsla(7, 97%, 35%, 100%);
119
- --kbq-checkbox-error-default-color: hsla(0, 0%, 100%, 100%);
120
- --kbq-checkbox-error-default-text: hsla(229, 15%, 80%, 100%);
121
- --kbq-checkbox-error-default-background: hsla(7, 97%, 6%, 100%);
122
- --kbq-checkbox-error-default-caption: hsla(229, 15%, 60%, 100%);
123
- --kbq-checkbox-error-states-hover-border: hsla(7, 97%, 35%, 100%);
124
- --kbq-checkbox-error-states-hover-background: hsla(7, 97%, 13%, 100%);
104
+ --kbq-checkbox-theme-states-checked-hover-background: var(--kbq-states-background-theme-hover);
105
+ --kbq-checkbox-theme-states-focused-border: var(--kbq-states-line-focus-theme);
106
+ --kbq-checkbox-theme-states-focused-background: var(--kbq-background-bg);
107
+ --kbq-checkbox-theme-states-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
108
+ --kbq-checkbox-theme-states-checked-focused-border: var(--kbq-states-line-focus-theme);
109
+ --kbq-checkbox-theme-states-checked-focused-background: var(--kbq-background-theme);
110
+ --kbq-checkbox-theme-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
111
+ --kbq-checkbox-theme-states-disabled-border: var(--kbq-line-contrast-fade);
112
+ --kbq-checkbox-theme-states-disabled-color: var(--kbq-states-icon-disabled);
113
+ --kbq-checkbox-theme-states-disabled-text: var(--kbq-states-foreground-disabled);
114
+ --kbq-checkbox-theme-states-disabled-background: var(--kbq-states-background-disabled);
115
+ --kbq-checkbox-theme-states-disabled-caption: var(--kbq-states-icon-disabled);
116
+ --kbq-checkbox-error-default-border: var(--kbq-line-error);
117
+ --kbq-checkbox-error-default-color: var(--kbq-neutral-white);
118
+ --kbq-checkbox-error-default-text: var(--kbq-foreground-contrast);
119
+ --kbq-checkbox-error-default-background: var(--kbq-states-background-error-less);
120
+ --kbq-checkbox-error-default-caption: var(--kbq-foreground-contrast-secondary);
121
+ --kbq-checkbox-error-states-hover-border: var(--kbq-line-error);
122
+ --kbq-checkbox-error-states-hover-background: var(--kbq-states-background-error-fade-hover);
125
123
  --kbq-checkbox-error-states-checked-border: transparent;
126
- --kbq-checkbox-error-states-checked-background: hsla(7, 97%, 41%, 100%);
124
+ --kbq-checkbox-error-states-checked-background: var(--kbq-background-error);
127
125
  --kbq-checkbox-error-states-checked-hover-border: transparent;
128
- --kbq-checkbox-error-states-checked-hover-background: hsla(7, 97%, 42%, 100%);
129
- --kbq-checkbox-error-states-focused-border: hsla(7, 97%, 35%, 100%);
130
- --kbq-checkbox-error-states-focused-background: hsla(7, 97%, 6%, 100%);
131
- --kbq-checkbox-error-states-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
132
- --kbq-checkbox-error-states-checked-focused-border: hsla(7, 97%, 45%, 100%);
133
- --kbq-checkbox-error-states-checked-focused-background: hsla(7, 97%, 41%, 100%);
134
- --kbq-checkbox-error-states-checked-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
135
- --kbq-checkbox-error-states-disabled-border: hsla(229, 15%, 30%, 100%);
136
- --kbq-checkbox-error-states-disabled-color: hsla(229, 15%, 30%, 100%);
137
- --kbq-checkbox-error-states-disabled-text: hsla(229, 15%, 40%, 100%);
138
- --kbq-checkbox-error-states-disabled-background: hsla(229, 15%, 50%, 16%);
139
- --kbq-checkbox-error-states-disabled-caption: hsla(229, 15%, 30%, 100%);
126
+ --kbq-checkbox-error-states-checked-hover-background: var(--kbq-states-background-error-hover);
127
+ --kbq-checkbox-error-states-focused-border: var(--kbq-line-error);
128
+ --kbq-checkbox-error-states-focused-background: var(--kbq-states-background-error-less);
129
+ --kbq-checkbox-error-states-focused-outline: 1px solid var(--kbq-states-line-focus-error);
130
+ --kbq-checkbox-error-states-checked-focused-border: var(--kbq-states-line-focus-error);
131
+ --kbq-checkbox-error-states-checked-focused-background: var(--kbq-background-error);
132
+ --kbq-checkbox-error-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-error);
133
+ --kbq-checkbox-error-states-disabled-border: var(--kbq-line-contrast-fade);
134
+ --kbq-checkbox-error-states-disabled-color: var(--kbq-states-icon-disabled);
135
+ --kbq-checkbox-error-states-disabled-text: var(--kbq-states-foreground-disabled);
136
+ --kbq-checkbox-error-states-disabled-background: var(--kbq-states-background-disabled);
137
+ --kbq-checkbox-error-states-disabled-caption: var(--kbq-states-icon-disabled);
140
138
  }
@@ -13,8 +13,8 @@
13
13
  @use '../forms/forms-theme' as *;
14
14
  @use '../highlight/highlight-theme' as *;
15
15
 
16
- @mixin koobiq-theme($theme) {
17
- @include kbq-core-theme($theme);
16
+ @mixin koobiq-theme($theme: null) {
17
+ @include kbq-core-theme();
18
18
 
19
19
  @include kbq-forms-theme();
20
20
  @include kbq-highlight-theme();
@@ -26,11 +26,7 @@
26
26
  @include kbq-tag-theme();
27
27
  }
28
28
 
29
- @mixin koobiq-typography($tokens, $config: null, $md-config: null) {
30
- @if not $config {
31
- $config: kbq-typography-config($tokens);
32
- }
33
-
29
+ @mixin koobiq-typography($tokens: null, $config: null, $md-config: null) {
34
30
  @include kbq-base-typography();
35
31
  @include kbq-markdown-base-typography();
36
32
  @include kbq-markdown-typography();
@@ -42,13 +42,11 @@
42
42
  }
43
43
 
44
44
  // Mixin that renders all of the core styles that depend on the theme.
45
- @mixin kbq-core-theme($theme) {
45
+ /* stylelint-disable no-unknown-custom-properties */
46
+ @mixin kbq-core-theme($theme: null) {
46
47
  .kbq-app-background {
47
- $background: map.get($theme, background);
48
- $foreground: map.get($theme, foreground);
49
-
50
- background-color: kbq-color($background, bg);
51
- color: kbq-color($foreground, contrast);
48
+ background: var(--kbq-background-bg);
49
+ color: var(--kbq-foreground-contrast);
52
50
  }
53
51
 
54
52
  .kbq-theme-loaded-marker {
@@ -1,17 +1,19 @@
1
+ /* stylelint-disable no-unknown-custom-properties */
2
+
1
3
  .kbq-scrollbar {
2
- --kbq-scrollbar-size-track-dimension: 16px;
3
- --kbq-scrollbar-size-track-padding-vertical: 2px;
4
- --kbq-scrollbar-size-track-padding-horizontal: 2px;
5
- --kbq-scrollbar-size-thumb-width: 8px;
6
- --kbq-scrollbar-size-thumb-min-size: 20px;
7
- --kbq-scrollbar-size-thumb-border-radius: 8px;
4
+ --kbq-scrollbar-size-track-dimension: var(--kbq-size-l);
5
+ --kbq-scrollbar-size-track-padding-vertical: var(--kbq-size-3xs);
6
+ --kbq-scrollbar-size-track-padding-horizontal: var(--kbq-size-3xs);
7
+ --kbq-scrollbar-size-thumb-width: var(--kbq-size-s);
8
+ --kbq-scrollbar-size-thumb-min-size: var(--kbq-size-xl);
9
+ --kbq-scrollbar-size-thumb-border-radius: var(--kbq-size-s);
8
10
  }
9
11
 
10
12
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
11
- --kbq-scrollbar-thumb-default-background: hsla(229, 15%, 60%, 100%);
12
- --kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
13
- --kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
14
- --kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 15%, 32%);
13
+ --kbq-scrollbar-thumb-default-background: var(--kbq-icon-contrast-fade);
14
+ --kbq-scrollbar-thumb-hover-background: var(--kbq-states-icon-contrast-fade-hover);
15
+ --kbq-scrollbar-thumb-active-background: var(--kbq-states-icon-contrast-fade-active);
16
+ --kbq-scrollbar-thumb-disabled-background: var(--kbq-states-icon-disabled);
15
17
  --kbq-scrollbar-track-default-border: transparent;
16
18
  --kbq-scrollbar-track-default-background: transparent;
17
19
  --kbq-scrollbar-track-hover-border: transparent;
@@ -21,10 +23,10 @@
21
23
  }
22
24
 
23
25
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
24
- --kbq-scrollbar-thumb-default-background: hsla(229, 15%, 45%, 100%);
25
- --kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
26
- --kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
27
- --kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 30%, 100%);
26
+ --kbq-scrollbar-thumb-default-background: var(--kbq-icon-contrast-fade);
27
+ --kbq-scrollbar-thumb-hover-background: var(--kbq-states-icon-contrast-fade-hover);
28
+ --kbq-scrollbar-thumb-active-background: var(--kbq-states-icon-contrast-fade-active);
29
+ --kbq-scrollbar-thumb-disabled-background: var(--kbq-states-icon-disabled);
28
30
  --kbq-scrollbar-track-default-border: transparent;
29
31
  --kbq-scrollbar-track-default-background: transparent;
30
32
  --kbq-scrollbar-track-hover-border: transparent;
@@ -4,6 +4,7 @@
4
4
 
5
5
  @use '../common/tokens' as *;
6
6
 
7
+ // TODO: REMOVE
7
8
  @function kbq-typography-config($tokens) {
8
9
  $font-family: map.get($tokens, font-family-base);
9
10
  $typography: map.get(map.get($tokens, koobiq), typography);