@ptsecurity/mosaic 14.6.2 → 14.7.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 (212) hide show
  1. package/_theming.scss +1763 -44
  2. package/_visual.scss +341 -0
  3. package/button/button.component.d.ts +2 -0
  4. package/card/card.component.d.ts +2 -0
  5. package/checkbox/checkbox.d.ts +1 -0
  6. package/code-block/README.md +32 -0
  7. package/code-block/actionbar.component.d.ts +22 -0
  8. package/code-block/code-block.component.d.ts +74 -0
  9. package/code-block/code-block.module.d.ts +14 -0
  10. package/code-block/code-block.types.d.ts +17 -0
  11. package/code-block/index.d.ts +1 -0
  12. package/code-block/public-api.d.ts +3 -0
  13. package/core/formatters/date/formatter.d.ts +55 -1
  14. package/core/option/action.d.ts +2 -0
  15. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +1 -0
  16. package/datepicker/calendar-body.component.d.ts +3 -11
  17. package/datepicker/calendar-header.component.d.ts +45 -0
  18. package/datepicker/calendar.component.d.ts +10 -81
  19. package/datepicker/datepicker-input.directive.d.ts +3 -3
  20. package/datepicker/datepicker-module.d.ts +8 -8
  21. package/datepicker/datepicker.component.d.ts +2 -12
  22. package/datepicker/month-view.component.d.ts +7 -26
  23. package/datepicker/public-api.d.ts +1 -2
  24. package/design-tokens/legacy-2017/tokens/components/code-block.json5 +704 -0
  25. package/design-tokens/legacy-2017/tokens.d.ts +341 -0
  26. package/design-tokens/pt-2022/tokens/components/code-block.json5 +697 -0
  27. package/design-tokens/pt-2022/tokens.d.ts +341 -0
  28. package/design-tokens/style-dictionary/configs/index.js +6 -8
  29. package/dropdown/dropdown-item.component.d.ts +1 -0
  30. package/esm2020/button/button.component.mjs +3 -3
  31. package/esm2020/card/card.component.mjs +3 -3
  32. package/esm2020/checkbox/checkbox.mjs +2 -2
  33. package/esm2020/code-block/actionbar.component.mjs +67 -0
  34. package/esm2020/code-block/code-block.component.mjs +157 -0
  35. package/esm2020/code-block/code-block.module.mjs +60 -0
  36. package/esm2020/code-block/code-block.types.mjs +2 -0
  37. package/esm2020/code-block/index.mjs +2 -0
  38. package/esm2020/code-block/ptsecurity-mosaic-code-block.mjs +5 -0
  39. package/esm2020/code-block/public-api.mjs +4 -0
  40. package/esm2020/core/formatters/date/formatter.mjs +77 -1
  41. package/esm2020/core/formatters/date/templates/en-US.mjs +56 -1
  42. package/esm2020/core/formatters/date/templates/ru-RU.mjs +92 -1
  43. package/esm2020/core/option/action.mjs +3 -2
  44. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  45. package/esm2020/core/version.mjs +2 -2
  46. package/esm2020/datepicker/calendar-body.component.mjs +9 -28
  47. package/esm2020/datepicker/calendar-header.component.mjs +135 -0
  48. package/esm2020/datepicker/calendar.component.mjs +25 -212
  49. package/esm2020/datepicker/datepicker-input.directive.mjs +54 -54
  50. package/esm2020/datepicker/datepicker-module.mjs +13 -17
  51. package/esm2020/datepicker/datepicker.component.mjs +10 -21
  52. package/esm2020/datepicker/month-view.component.mjs +32 -131
  53. package/esm2020/datepicker/public-api.mjs +2 -3
  54. package/esm2020/design-tokens/legacy-2017/tokens.mjs +342 -1
  55. package/esm2020/design-tokens/pt-2022/tokens.mjs +342 -1
  56. package/esm2020/dropdown/dropdown-item.component.mjs +2 -2
  57. package/esm2020/form-field/form-field.mjs +3 -2
  58. package/esm2020/form-field/hint.mjs +3 -2
  59. package/esm2020/icon/icon.component.mjs +3 -2
  60. package/esm2020/input/input-number-validators.mjs +3 -7
  61. package/esm2020/input/input.mjs +3 -2
  62. package/esm2020/link/link.component.mjs +3 -2
  63. package/esm2020/list/list-selection.component.mjs +3 -2
  64. package/esm2020/modal/modal.component.mjs +4 -3
  65. package/esm2020/progress-bar/progress-bar.component.mjs +3 -2
  66. package/esm2020/progress-spinner/progress-spinner.component.mjs +3 -2
  67. package/esm2020/radio/radio.component.mjs +3 -4
  68. package/esm2020/select/select.component.mjs +18 -6
  69. package/esm2020/select/select.module.mjs +6 -2
  70. package/esm2020/tabs/tab-group.component.mjs +2 -2
  71. package/esm2020/tabs/tab-label-wrapper.directive.mjs +2 -2
  72. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +3 -2
  73. package/esm2020/tabs/tab.component.mjs +3 -2
  74. package/esm2020/tags/tag-list.component.mjs +3 -2
  75. package/esm2020/tags/tag.component.mjs +3 -2
  76. package/esm2020/textarea/textarea.component.mjs +3 -2
  77. package/esm2020/timezone/timezone-select.component.mjs +2 -2
  78. package/esm2020/toggle/toggle.component.mjs +3 -2
  79. package/esm2020/tree/control/flat-tree-control.mjs +1 -1
  80. package/esm2020/tree/toggle.mjs +3 -2
  81. package/esm2020/tree/tree-base.mjs +1 -1
  82. package/esm2020/tree-select/tree-select.component.mjs +3 -2
  83. package/fesm2015/ptsecurity-mosaic-button.mjs +2 -2
  84. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  85. package/fesm2015/ptsecurity-mosaic-card.mjs +2 -2
  86. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
  87. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +1 -1
  88. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  89. package/fesm2015/ptsecurity-mosaic-code-block.mjs +280 -0
  90. package/fesm2015/ptsecurity-mosaic-code-block.mjs.map +1 -0
  91. package/fesm2015/ptsecurity-mosaic-core.mjs +226 -3
  92. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  93. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +272 -906
  94. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  95. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +1024 -1
  96. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  97. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +1 -1
  98. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  99. package/fesm2015/ptsecurity-mosaic-form-field.mjs +4 -2
  100. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  101. package/fesm2015/ptsecurity-mosaic-icon.mjs +2 -1
  102. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
  103. package/fesm2015/ptsecurity-mosaic-input.mjs +4 -7
  104. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  105. package/fesm2015/ptsecurity-mosaic-link.mjs +2 -1
  106. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
  107. package/fesm2015/ptsecurity-mosaic-list.mjs +2 -1
  108. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  109. package/fesm2015/ptsecurity-mosaic-modal.mjs +3 -2
  110. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  111. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +2 -1
  112. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  113. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +2 -1
  114. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  115. package/fesm2015/ptsecurity-mosaic-radio.mjs +2 -3
  116. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  117. package/fesm2015/ptsecurity-mosaic-select.mjs +22 -6
  118. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  119. package/fesm2015/ptsecurity-mosaic-tabs.mjs +6 -4
  120. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  121. package/fesm2015/ptsecurity-mosaic-tags.mjs +4 -2
  122. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  123. package/fesm2015/ptsecurity-mosaic-textarea.mjs +2 -1
  124. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  125. package/fesm2015/ptsecurity-mosaic-timezone.mjs +2 -2
  126. package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
  127. package/fesm2015/ptsecurity-mosaic-toggle.mjs +2 -1
  128. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
  129. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +2 -1
  130. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  131. package/fesm2015/ptsecurity-mosaic-tree.mjs +2 -1
  132. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  133. package/fesm2020/ptsecurity-mosaic-button.mjs +2 -2
  134. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  135. package/fesm2020/ptsecurity-mosaic-card.mjs +2 -2
  136. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
  137. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +1 -1
  138. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  139. package/fesm2020/ptsecurity-mosaic-code-block.mjs +278 -0
  140. package/fesm2020/ptsecurity-mosaic-code-block.mjs.map +1 -0
  141. package/fesm2020/ptsecurity-mosaic-core.mjs +226 -3
  142. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  143. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +270 -901
  144. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  145. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +1024 -1
  146. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  147. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +1 -1
  148. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  149. package/fesm2020/ptsecurity-mosaic-form-field.mjs +4 -2
  150. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  151. package/fesm2020/ptsecurity-mosaic-icon.mjs +2 -1
  152. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
  153. package/fesm2020/ptsecurity-mosaic-input.mjs +4 -7
  154. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  155. package/fesm2020/ptsecurity-mosaic-link.mjs +2 -1
  156. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
  157. package/fesm2020/ptsecurity-mosaic-list.mjs +2 -1
  158. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  159. package/fesm2020/ptsecurity-mosaic-modal.mjs +3 -2
  160. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  161. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +2 -1
  162. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  163. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +2 -1
  164. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  165. package/fesm2020/ptsecurity-mosaic-radio.mjs +2 -3
  166. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  167. package/fesm2020/ptsecurity-mosaic-select.mjs +22 -6
  168. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  169. package/fesm2020/ptsecurity-mosaic-tabs.mjs +6 -4
  170. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  171. package/fesm2020/ptsecurity-mosaic-tags.mjs +4 -2
  172. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  173. package/fesm2020/ptsecurity-mosaic-textarea.mjs +2 -1
  174. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  175. package/fesm2020/ptsecurity-mosaic-timezone.mjs +2 -2
  176. package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
  177. package/fesm2020/ptsecurity-mosaic-toggle.mjs +2 -1
  178. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
  179. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +2 -1
  180. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  181. package/fesm2020/ptsecurity-mosaic-tree.mjs +2 -1
  182. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  183. package/form-field/form-field.d.ts +2 -0
  184. package/form-field/hint.d.ts +2 -0
  185. package/icon/icon.component.d.ts +2 -0
  186. package/input/input-number-validators.d.ts +2 -6
  187. package/input/input.d.ts +2 -0
  188. package/link/link.component.d.ts +2 -0
  189. package/list/list-selection.component.d.ts +2 -0
  190. package/package.json +12 -4
  191. package/prebuilt-themes/dark-theme.css +1 -1
  192. package/prebuilt-themes/default-theme.css +1 -1
  193. package/progress-bar/progress-bar.component.d.ts +2 -0
  194. package/progress-spinner/progress-spinner.component.d.ts +2 -0
  195. package/radio/radio.component.d.ts +2 -0
  196. package/select/select.component.d.ts +9 -2
  197. package/select/select.module.d.ts +1 -1
  198. package/tabs/tab-group.component.d.ts +1 -0
  199. package/tabs/tab-label-wrapper.directive.d.ts +1 -0
  200. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -0
  201. package/tabs/tab.component.d.ts +2 -0
  202. package/tags/tag-list.component.d.ts +2 -0
  203. package/tags/tag.component.d.ts +2 -0
  204. package/textarea/textarea.component.d.ts +2 -0
  205. package/toggle/toggle.component.d.ts +2 -0
  206. package/tree/control/flat-tree-control.d.ts +4 -4
  207. package/tree/toggle.d.ts +2 -0
  208. package/tree-select/tree-select.component.d.ts +2 -0
  209. package/datepicker/multi-year-view.component.d.ts +0 -72
  210. package/datepicker/year-view.component.d.ts +0 -90
  211. package/esm2020/datepicker/multi-year-view.component.mjs +0 -218
  212. package/esm2020/datepicker/year-view.component.mjs +0 -253
package/_theming.scss CHANGED
@@ -869,6 +869,347 @@ $checkbox-size-border-width: 1px;
869
869
  $checkbox-size-border-radius: 4px;
870
870
  $checkbox-size-toggle-box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.2);
871
871
  $checkbox-font-default: body;
872
+ $code-block-light-color-scheme-background: white;
873
+ $code-block-light-color-scheme-border: #d7dee4;
874
+ $code-block-light-color-scheme-color: #19252f;
875
+ $code-block-light-color-scheme-actionbar-background: rgba(white, 0.5);
876
+ $code-block-light-color-scheme-actionbar-border: null;
877
+ $code-block-light-color-scheme-line-numbers-background: null;
878
+ $code-block-light-color-scheme-line-numbers-border: null;
879
+ $code-block-light-color-scheme-line-numbers-color: #8c99a5;
880
+ $code-block-light-color-scheme-decoration-less-contrast-background: #f2f5f9;
881
+ $code-block-light-color-scheme-decoration-less-contrast-border: #d7dee4;
882
+ $code-block-light-color-scheme-decoration-less-contrast-actionbar-background: #f2f5f9;
883
+ $code-block-light-color-scheme-decoration-less-contrast-actionbar-border: null;
884
+ $code-block-light-color-scheme-hljs-addition-background: #d2f7db;
885
+ $code-block-light-color-scheme-hljs-addition-color: #103920;
886
+ $code-block-light-color-scheme-hljs-attr-background: null;
887
+ $code-block-light-color-scheme-hljs-attr-color: null;
888
+ $code-block-light-color-scheme-hljs-attribute-background: null;
889
+ $code-block-light-color-scheme-hljs-attribute-color: null;
890
+ $code-block-light-color-scheme-hljs-built-in-background: null;
891
+ $code-block-light-color-scheme-hljs-built-in-color: null;
892
+ $code-block-light-color-scheme-hljs-bullet-background: null;
893
+ $code-block-light-color-scheme-hljs-bullet-color: null;
894
+ $code-block-light-color-scheme-hljs-char-escape-background: null;
895
+ $code-block-light-color-scheme-hljs-char-escape-color: null;
896
+ $code-block-light-color-scheme-hljs-class-background: null;
897
+ $code-block-light-color-scheme-hljs-class-color: null;
898
+ $code-block-light-color-scheme-hljs-code-background: null;
899
+ $code-block-light-color-scheme-hljs-code-color: null;
900
+ $code-block-light-color-scheme-hljs-comment-background: null;
901
+ $code-block-light-color-scheme-hljs-comment-color: #6d7a86;
902
+ $code-block-light-color-scheme-hljs-deletion-background: #ffeaea;
903
+ $code-block-light-color-scheme-hljs-deletion-color: #621420;
904
+ $code-block-light-color-scheme-hljs-doctag-background: null;
905
+ $code-block-light-color-scheme-hljs-doctag-color: null;
906
+ $code-block-light-color-scheme-hljs-emphasis-background: null;
907
+ $code-block-light-color-scheme-hljs-emphasis-color: null;
908
+ $code-block-light-color-scheme-hljs-formula-background: null;
909
+ $code-block-light-color-scheme-hljs-formula-color: null;
910
+ $code-block-light-color-scheme-hljs-function-background: null;
911
+ $code-block-light-color-scheme-hljs-function-color: null;
912
+ $code-block-light-color-scheme-hljs-keyword-background: null;
913
+ $code-block-light-color-scheme-hljs-keyword-color: null;
914
+ $code-block-light-color-scheme-hljs-link-background: null;
915
+ $code-block-light-color-scheme-hljs-link-color: null;
916
+ $code-block-light-color-scheme-hljs-literal-background: null;
917
+ $code-block-light-color-scheme-hljs-literal-color: #864775;
918
+ $code-block-light-color-scheme-hljs-meta-background: null;
919
+ $code-block-light-color-scheme-hljs-meta-color: #0059b8;
920
+ $code-block-light-color-scheme-hljs-meta-keyword-background: null;
921
+ $code-block-light-color-scheme-hljs-meta-keyword-color: null;
922
+ $code-block-light-color-scheme-hljs-meta-string-background: null;
923
+ $code-block-light-color-scheme-hljs-meta-string-color: #0374eb;
924
+ $code-block-light-color-scheme-hljs-meta-prompt-background: null;
925
+ $code-block-light-color-scheme-hljs-meta-prompt-color: null;
926
+ $code-block-light-color-scheme-hljs-name-background: null;
927
+ $code-block-light-color-scheme-hljs-name-color: #0059b8;
928
+ $code-block-light-color-scheme-hljs-number-background: null;
929
+ $code-block-light-color-scheme-hljs-number-color: #864775;
930
+ $code-block-light-color-scheme-hljs-operator-background: null;
931
+ $code-block-light-color-scheme-hljs-operator-color: null;
932
+ $code-block-light-color-scheme-hljs-params-background: null;
933
+ $code-block-light-color-scheme-hljs-params-color: null;
934
+ $code-block-light-color-scheme-hljs-property-background: null;
935
+ $code-block-light-color-scheme-hljs-property-color: null;
936
+ $code-block-light-color-scheme-hljs-punctuation-background: null;
937
+ $code-block-light-color-scheme-hljs-punctuation-color: null;
938
+ $code-block-light-color-scheme-hljs-quote-background: null;
939
+ $code-block-light-color-scheme-hljs-quote-color: null;
940
+ $code-block-light-color-scheme-hljs-regexp-background: null;
941
+ $code-block-light-color-scheme-hljs-regexp-color: #028b49;
942
+ $code-block-light-color-scheme-hljs-section-background: null;
943
+ $code-block-light-color-scheme-hljs-section-color: null;
944
+ $code-block-light-color-scheme-hljs-selector-attr-background: null;
945
+ $code-block-light-color-scheme-hljs-selector-attr-color: null;
946
+ $code-block-light-color-scheme-hljs-selector-class-background: null;
947
+ $code-block-light-color-scheme-hljs-selector-class-color: null;
948
+ $code-block-light-color-scheme-hljs-selector-id-background: null;
949
+ $code-block-light-color-scheme-hljs-selector-id-color: null;
950
+ $code-block-light-color-scheme-hljs-selector-pseudo-background: null;
951
+ $code-block-light-color-scheme-hljs-selector-pseudo-color: null;
952
+ $code-block-light-color-scheme-hljs-selector-tag-background: null;
953
+ $code-block-light-color-scheme-hljs-selector-tag-color: #0059b8;
954
+ $code-block-light-color-scheme-hljs-string-background: null;
955
+ $code-block-light-color-scheme-hljs-string-color: #028b49;
956
+ $code-block-light-color-scheme-hljs-strong-background: null;
957
+ $code-block-light-color-scheme-hljs-strong-color: null;
958
+ $code-block-light-color-scheme-hljs-subst-background: null;
959
+ $code-block-light-color-scheme-hljs-subst-color: null;
960
+ $code-block-light-color-scheme-hljs-symbol-background: null;
961
+ $code-block-light-color-scheme-hljs-symbol-color: #0059b8;
962
+ $code-block-light-color-scheme-hljs-tag-background: null;
963
+ $code-block-light-color-scheme-hljs-tag-color: null;
964
+ $code-block-light-color-scheme-hljs-template-tag-background: null;
965
+ $code-block-light-color-scheme-hljs-template-tag-color: null;
966
+ $code-block-light-color-scheme-hljs-template-variable-background: null;
967
+ $code-block-light-color-scheme-hljs-template-variable-color: null;
968
+ $code-block-light-color-scheme-hljs-title-background: null;
969
+ $code-block-light-color-scheme-hljs-title-color: #0059b8;
970
+ $code-block-light-color-scheme-hljs-title-class-background: null;
971
+ $code-block-light-color-scheme-hljs-title-class-color: null;
972
+ $code-block-light-color-scheme-hljs-title-class-inherited-background: null;
973
+ $code-block-light-color-scheme-hljs-title-class-inherited-color: null;
974
+ $code-block-light-color-scheme-hljs-title-function-background: null;
975
+ $code-block-light-color-scheme-hljs-title-function-color: null;
976
+ $code-block-light-color-scheme-hljs-title-function-invoke-background: null;
977
+ $code-block-light-color-scheme-hljs-title-function-invoke-color: null;
978
+ $code-block-light-color-scheme-hljs-type-background: null;
979
+ $code-block-light-color-scheme-hljs-type-color: null;
980
+ $code-block-light-color-scheme-hljs-variable-background: null;
981
+ $code-block-light-color-scheme-hljs-variable-color: null;
982
+ $code-block-light-color-scheme-hljs-variable-constant-background: null;
983
+ $code-block-light-color-scheme-hljs-variable-constant-color: null;
984
+ $code-block-light-color-scheme-hljs-variable-language-background: null;
985
+ $code-block-light-color-scheme-hljs-variable-language-color: null;
986
+ $code-block-dark-color-scheme-background: #19252f;
987
+ $code-block-dark-color-scheme-border: mix(#515e69, transparent, 50%);
988
+ $code-block-dark-color-scheme-color: #d7dee4;
989
+ $code-block-dark-color-scheme-actionbar-background: #19252f;
990
+ $code-block-dark-color-scheme-actionbar-border: null;
991
+ $code-block-dark-color-scheme-line-numbers-background: null;
992
+ $code-block-dark-color-scheme-line-numbers-border: null;
993
+ $code-block-dark-color-scheme-line-numbers-color: #6d7a86;
994
+ $code-block-dark-color-scheme-decoration-less-contrast-background: #27333e;
995
+ $code-block-dark-color-scheme-decoration-less-contrast-border: mix(#515e69, transparent, 50%);
996
+ $code-block-dark-color-scheme-decoration-less-contrast-actionbar-background: #27333e;
997
+ $code-block-dark-color-scheme-decoration-less-contrast-actionbar-border: null;
998
+ $code-block-dark-color-scheme-hljs-addition-background: #103920;
999
+ $code-block-dark-color-scheme-hljs-addition-color: #8ed5a1;
1000
+ $code-block-dark-color-scheme-hljs-attr-background: null;
1001
+ $code-block-dark-color-scheme-hljs-attr-color: null;
1002
+ $code-block-dark-color-scheme-hljs-attribute-background: null;
1003
+ $code-block-dark-color-scheme-hljs-attribute-color: null;
1004
+ $code-block-dark-color-scheme-hljs-built-in-background: null;
1005
+ $code-block-dark-color-scheme-hljs-built-in-color: null;
1006
+ $code-block-dark-color-scheme-hljs-bullet-background: null;
1007
+ $code-block-dark-color-scheme-hljs-bullet-color: null;
1008
+ $code-block-dark-color-scheme-hljs-char-escape-background: null;
1009
+ $code-block-dark-color-scheme-hljs-char-escape-color: null;
1010
+ $code-block-dark-color-scheme-hljs-class-background: null;
1011
+ $code-block-dark-color-scheme-hljs-class-color: null;
1012
+ $code-block-dark-color-scheme-hljs-code-background: null;
1013
+ $code-block-dark-color-scheme-hljs-code-color: null;
1014
+ $code-block-dark-color-scheme-hljs-comment-background: null;
1015
+ $code-block-dark-color-scheme-hljs-comment-color: #6d7a86;
1016
+ $code-block-dark-color-scheme-hljs-deletion-background: #621420;
1017
+ $code-block-dark-color-scheme-hljs-deletion-color: #fcb2b4;
1018
+ $code-block-dark-color-scheme-hljs-doctag-background: null;
1019
+ $code-block-dark-color-scheme-hljs-doctag-color: null;
1020
+ $code-block-dark-color-scheme-hljs-emphasis-background: null;
1021
+ $code-block-dark-color-scheme-hljs-emphasis-color: null;
1022
+ $code-block-dark-color-scheme-hljs-formula-background: null;
1023
+ $code-block-dark-color-scheme-hljs-formula-color: null;
1024
+ $code-block-dark-color-scheme-hljs-function-background: null;
1025
+ $code-block-dark-color-scheme-hljs-function-color: null;
1026
+ $code-block-dark-color-scheme-hljs-keyword-background: null;
1027
+ $code-block-dark-color-scheme-hljs-keyword-color: null;
1028
+ $code-block-dark-color-scheme-hljs-link-background: null;
1029
+ $code-block-dark-color-scheme-hljs-link-color: null;
1030
+ $code-block-dark-color-scheme-hljs-literal-background: null;
1031
+ $code-block-dark-color-scheme-hljs-literal-color: #c692b5;
1032
+ $code-block-dark-color-scheme-hljs-meta-background: null;
1033
+ $code-block-dark-color-scheme-hljs-meta-color: #5697ff;
1034
+ $code-block-dark-color-scheme-hljs-meta-keyword-background: null;
1035
+ $code-block-dark-color-scheme-hljs-meta-keyword-color: null;
1036
+ $code-block-dark-color-scheme-hljs-meta-string-background: null;
1037
+ $code-block-dark-color-scheme-hljs-meta-string-color: #4ba96c;
1038
+ $code-block-dark-color-scheme-hljs-meta-prompt-background: null;
1039
+ $code-block-dark-color-scheme-hljs-meta-prompt-color: null;
1040
+ $code-block-dark-color-scheme-hljs-name-background: null;
1041
+ $code-block-dark-color-scheme-hljs-name-color: #5697ff;
1042
+ $code-block-dark-color-scheme-hljs-number-background: null;
1043
+ $code-block-dark-color-scheme-hljs-number-color: #c692b5;
1044
+ $code-block-dark-color-scheme-hljs-operator-background: null;
1045
+ $code-block-dark-color-scheme-hljs-operator-color: null;
1046
+ $code-block-dark-color-scheme-hljs-params-background: null;
1047
+ $code-block-dark-color-scheme-hljs-params-color: null;
1048
+ $code-block-dark-color-scheme-hljs-property-background: null;
1049
+ $code-block-dark-color-scheme-hljs-property-color: null;
1050
+ $code-block-dark-color-scheme-hljs-punctuation-background: null;
1051
+ $code-block-dark-color-scheme-hljs-punctuation-color: null;
1052
+ $code-block-dark-color-scheme-hljs-quote-background: null;
1053
+ $code-block-dark-color-scheme-hljs-quote-color: null;
1054
+ $code-block-dark-color-scheme-hljs-regexp-background: null;
1055
+ $code-block-dark-color-scheme-hljs-regexp-color: #4ba96c;
1056
+ $code-block-dark-color-scheme-hljs-section-background: null;
1057
+ $code-block-dark-color-scheme-hljs-section-color: null;
1058
+ $code-block-dark-color-scheme-hljs-selector-attr-background: null;
1059
+ $code-block-dark-color-scheme-hljs-selector-attr-color: null;
1060
+ $code-block-dark-color-scheme-hljs-selector-class-background: null;
1061
+ $code-block-dark-color-scheme-hljs-selector-class-color: null;
1062
+ $code-block-dark-color-scheme-hljs-selector-id-background: null;
1063
+ $code-block-dark-color-scheme-hljs-selector-id-color: null;
1064
+ $code-block-dark-color-scheme-hljs-selector-pseudo-background: null;
1065
+ $code-block-dark-color-scheme-hljs-selector-pseudo-color: null;
1066
+ $code-block-dark-color-scheme-hljs-selector-tag-background: null;
1067
+ $code-block-dark-color-scheme-hljs-selector-tag-color: #5697ff;
1068
+ $code-block-dark-color-scheme-hljs-string-background: null;
1069
+ $code-block-dark-color-scheme-hljs-string-color: #4ba96c;
1070
+ $code-block-dark-color-scheme-hljs-strong-background: null;
1071
+ $code-block-dark-color-scheme-hljs-strong-color: null;
1072
+ $code-block-dark-color-scheme-hljs-subst-background: null;
1073
+ $code-block-dark-color-scheme-hljs-subst-color: null;
1074
+ $code-block-dark-color-scheme-hljs-symbol-background: null;
1075
+ $code-block-dark-color-scheme-hljs-symbol-color: #5697ff;
1076
+ $code-block-dark-color-scheme-hljs-tag-background: null;
1077
+ $code-block-dark-color-scheme-hljs-tag-color: null;
1078
+ $code-block-dark-color-scheme-hljs-template-tag-background: null;
1079
+ $code-block-dark-color-scheme-hljs-template-tag-color: null;
1080
+ $code-block-dark-color-scheme-hljs-template-variable-background: null;
1081
+ $code-block-dark-color-scheme-hljs-template-variable-color: null;
1082
+ $code-block-dark-color-scheme-hljs-title-background: null;
1083
+ $code-block-dark-color-scheme-hljs-title-color: #5697ff;
1084
+ $code-block-dark-color-scheme-hljs-title-class-background: null;
1085
+ $code-block-dark-color-scheme-hljs-title-class-color: null;
1086
+ $code-block-dark-color-scheme-hljs-title-class-inherited-background: null;
1087
+ $code-block-dark-color-scheme-hljs-title-class-inherited-color: null;
1088
+ $code-block-dark-color-scheme-hljs-title-function-background: null;
1089
+ $code-block-dark-color-scheme-hljs-title-function-color: null;
1090
+ $code-block-dark-color-scheme-hljs-title-function-invoke-background: null;
1091
+ $code-block-dark-color-scheme-hljs-title-function-invoke-color: null;
1092
+ $code-block-dark-color-scheme-hljs-type-background: null;
1093
+ $code-block-dark-color-scheme-hljs-type-color: null;
1094
+ $code-block-dark-color-scheme-hljs-variable-background: null;
1095
+ $code-block-dark-color-scheme-hljs-variable-color: null;
1096
+ $code-block-dark-color-scheme-hljs-variable-constant-background: null;
1097
+ $code-block-dark-color-scheme-hljs-variable-constant-color: null;
1098
+ $code-block-dark-color-scheme-hljs-variable-language-background: null;
1099
+ $code-block-dark-color-scheme-hljs-variable-language-color: null;
1100
+ $code-block-size-border-radius: 4px;
1101
+ $code-block-size-padding: 12px;
1102
+ $code-block-size-actionbar-border-radius: 4px;
1103
+ $code-block-size-actionbar-gap: 0;
1104
+ $code-block-size-actionbar-header-gap: 8px;
1105
+ $code-block-size-actionbar-margin-top: 6px;
1106
+ $code-block-size-actionbar-margin-right: 6px;
1107
+ $code-block-size-actionbar-padding: 8px;
1108
+ $code-block-size-line-numbers-padding: 2px 12px 0 0 ;
1109
+ $code-block-size-line-numbers-border-width: 0;
1110
+ $code-block-font-default: body-mono;
1111
+ $code-block-font-hljs-addition-font-style: null;
1112
+ $code-block-font-hljs-addition-font-weight: null;
1113
+ $code-block-font-hljs-attr-font-style: null;
1114
+ $code-block-font-hljs-attr-font-weight: null;
1115
+ $code-block-font-hljs-attribute-font-style: null;
1116
+ $code-block-font-hljs-attribute-font-weight: null;
1117
+ $code-block-font-hljs-built-in-font-style: null;
1118
+ $code-block-font-hljs-built-in-font-weight: null;
1119
+ $code-block-font-hljs-bullet-font-style: null;
1120
+ $code-block-font-hljs-bullet-font-weight: null;
1121
+ $code-block-font-hljs-char-escape-font-style: null;
1122
+ $code-block-font-hljs-char-escape-font-weight: null;
1123
+ $code-block-font-hljs-class-font-style: null;
1124
+ $code-block-font-hljs-class-font-weight: null;
1125
+ $code-block-font-hljs-code-font-style: null;
1126
+ $code-block-font-hljs-code-font-weight: null;
1127
+ $code-block-font-hljs-comment-font-style: null;
1128
+ $code-block-font-hljs-comment-font-weight: null;
1129
+ $code-block-font-hljs-deletion-font-style: null;
1130
+ $code-block-font-hljs-deletion-font-weight: null;
1131
+ $code-block-font-hljs-doctag-font-style: null;
1132
+ $code-block-font-hljs-doctag-font-weight: null;
1133
+ $code-block-font-hljs-emphasis-font-style: null;
1134
+ $code-block-font-hljs-emphasis-font-weight: null;
1135
+ $code-block-font-hljs-formula-font-style: null;
1136
+ $code-block-font-hljs-formula-font-weight: null;
1137
+ $code-block-font-hljs-function-font-style: null;
1138
+ $code-block-font-hljs-function-font-weight: null;
1139
+ $code-block-font-hljs-keyword-font-style: null;
1140
+ $code-block-font-hljs-keyword-font-weight: null;
1141
+ $code-block-font-hljs-link-font-style: null;
1142
+ $code-block-font-hljs-link-font-weight: null;
1143
+ $code-block-font-hljs-literal-font-style: null;
1144
+ $code-block-font-hljs-literal-font-weight: null;
1145
+ $code-block-font-hljs-meta-font-style: null;
1146
+ $code-block-font-hljs-meta-font-weight: null;
1147
+ $code-block-font-hljs-meta-keyword-font-style: null;
1148
+ $code-block-font-hljs-meta-keyword-font-weight: null;
1149
+ $code-block-font-hljs-meta-string-font-style: null;
1150
+ $code-block-font-hljs-meta-string-font-weight: null;
1151
+ $code-block-font-hljs-meta-prompt-font-style: null;
1152
+ $code-block-font-hljs-meta-prompt-font-weight: null;
1153
+ $code-block-font-hljs-name-font-style: null;
1154
+ $code-block-font-hljs-name-font-weight: null;
1155
+ $code-block-font-hljs-number-font-style: null;
1156
+ $code-block-font-hljs-number-font-weight: null;
1157
+ $code-block-font-hljs-operator-font-style: null;
1158
+ $code-block-font-hljs-operator-font-weight: null;
1159
+ $code-block-font-hljs-params-font-style: null;
1160
+ $code-block-font-hljs-params-font-weight: null;
1161
+ $code-block-font-hljs-property-font-style: null;
1162
+ $code-block-font-hljs-property-font-weight: null;
1163
+ $code-block-font-hljs-punctuation-font-style: null;
1164
+ $code-block-font-hljs-punctuation-font-weight: null;
1165
+ $code-block-font-hljs-quote-font-style: null;
1166
+ $code-block-font-hljs-quote-font-weight: null;
1167
+ $code-block-font-hljs-regexp-font-style: null;
1168
+ $code-block-font-hljs-regexp-font-weight: null;
1169
+ $code-block-font-hljs-section-font-style: null;
1170
+ $code-block-font-hljs-section-font-weight: null;
1171
+ $code-block-font-hljs-selector-attr-font-style: null;
1172
+ $code-block-font-hljs-selector-attr-font-weight: null;
1173
+ $code-block-font-hljs-selector-class-font-style: null;
1174
+ $code-block-font-hljs-selector-class-font-weight: null;
1175
+ $code-block-font-hljs-selector-id-font-style: null;
1176
+ $code-block-font-hljs-selector-id-font-weight: null;
1177
+ $code-block-font-hljs-selector-pseudo-font-style: null;
1178
+ $code-block-font-hljs-selector-pseudo-font-weight: null;
1179
+ $code-block-font-hljs-selector-tag-font-style: null;
1180
+ $code-block-font-hljs-selector-tag-font-weight: null;
1181
+ $code-block-font-hljs-string-font-style: null;
1182
+ $code-block-font-hljs-string-font-weight: null;
1183
+ $code-block-font-hljs-strong-font-style: null;
1184
+ $code-block-font-hljs-strong-font-weight: null;
1185
+ $code-block-font-hljs-subst-font-style: null;
1186
+ $code-block-font-hljs-subst-font-weight: null;
1187
+ $code-block-font-hljs-symbol-font-style: null;
1188
+ $code-block-font-hljs-symbol-font-weight: null;
1189
+ $code-block-font-hljs-tag-font-style: null;
1190
+ $code-block-font-hljs-tag-font-weight: null;
1191
+ $code-block-font-hljs-template-tag-font-style: null;
1192
+ $code-block-font-hljs-template-tag-font-weight: null;
1193
+ $code-block-font-hljs-template-variable-font-style: null;
1194
+ $code-block-font-hljs-template-variable-font-weight: null;
1195
+ $code-block-font-hljs-title-font-style: null;
1196
+ $code-block-font-hljs-title-font-weight: null;
1197
+ $code-block-font-hljs-title-class-font-style: normal;
1198
+ $code-block-font-hljs-title-class-font-weight: 500;
1199
+ $code-block-font-hljs-title-class-inherited-font-style: null;
1200
+ $code-block-font-hljs-title-class-inherited-font-weight: null;
1201
+ $code-block-font-hljs-title-function-font-style: null;
1202
+ $code-block-font-hljs-title-function-font-weight: null;
1203
+ $code-block-font-hljs-title-function-invoke-font-style: null;
1204
+ $code-block-font-hljs-title-function-invoke-font-weight: null;
1205
+ $code-block-font-hljs-type-font-style: null;
1206
+ $code-block-font-hljs-type-font-weight: null;
1207
+ $code-block-font-hljs-variable-font-style: null;
1208
+ $code-block-font-hljs-variable-font-weight: null;
1209
+ $code-block-font-hljs-variable-constant-font-style: null;
1210
+ $code-block-font-hljs-variable-constant-font-weight: null;
1211
+ $code-block-font-hljs-variable-language-font-style: null;
1212
+ $code-block-font-hljs-variable-language-font-weight: null;
872
1213
  $datepicker-toggle-size-width: 30px;
873
1214
  $datepicker-toggle-size-height: 30px;
874
1215
  $datepicker-body-light-color-scheme-states-today-color: #0374eb;
@@ -3286,6 +3627,124 @@ $md-typography: (
3286
3627
  )
3287
3628
  );
3288
3629
 
3630
+ $code-block: (
3631
+ main-background: $code-block-light-color-scheme-background,
3632
+ border: $code-block-light-color-scheme-border,
3633
+ main-background-less-contrast: $code-block-light-color-scheme-decoration-less-contrast-background,
3634
+ line-numbers-color: $code-block-light-color-scheme-line-numbers-color,
3635
+ main-code-color: $code-block-light-color-scheme-color,
3636
+
3637
+ actionbar: (
3638
+ bg: $code-block-light-color-scheme-actionbar-background,
3639
+ bg-less-contrast: $code-block-light-color-scheme-decoration-less-contrast-actionbar-background,
3640
+ ),
3641
+
3642
+ hljs: (
3643
+ addition-background: $code-block-light-color-scheme-hljs-addition-background,
3644
+ addition-color: $code-block-light-color-scheme-hljs-addition-color,
3645
+ attr-background: $code-block-light-color-scheme-hljs-attr-background,
3646
+ attr-color: $code-block-light-color-scheme-hljs-attr-color,
3647
+ attribute-background: $code-block-light-color-scheme-hljs-attribute-background,
3648
+ attribute-color: $code-block-light-color-scheme-hljs-attribute-color,
3649
+ built-in-background: $code-block-light-color-scheme-hljs-built-in-background,
3650
+ built-in-color: $code-block-light-color-scheme-hljs-built-in-color,
3651
+ bullet-background: $code-block-light-color-scheme-hljs-bullet-background,
3652
+ bullet-color: $code-block-light-color-scheme-hljs-bullet-color,
3653
+ char-escape-background: $code-block-light-color-scheme-hljs-char-escape-background,
3654
+ char-escape-color: $code-block-light-color-scheme-hljs-char-escape-color,
3655
+ class-background: $code-block-light-color-scheme-hljs-class-background,
3656
+ class-color: $code-block-light-color-scheme-hljs-class-color,
3657
+ code-background: $code-block-light-color-scheme-hljs-code-background,
3658
+ code-color: $code-block-light-color-scheme-hljs-code-color,
3659
+ comment-background: $code-block-light-color-scheme-hljs-comment-background,
3660
+ comment-color: $code-block-light-color-scheme-hljs-comment-color,
3661
+ deletion-background: $code-block-light-color-scheme-hljs-deletion-background,
3662
+ deletion-color: $code-block-light-color-scheme-hljs-deletion-color,
3663
+ doctag-background: $code-block-light-color-scheme-hljs-doctag-background,
3664
+ doctag-color: $code-block-light-color-scheme-hljs-doctag-color,
3665
+ emphasis-background: $code-block-light-color-scheme-hljs-emphasis-background,
3666
+ emphasis-color: $code-block-light-color-scheme-hljs-emphasis-color,
3667
+ formula-background: $code-block-light-color-scheme-hljs-formula-background,
3668
+ formula-color: $code-block-light-color-scheme-hljs-formula-color,
3669
+ function-background: $code-block-light-color-scheme-hljs-function-background,
3670
+ function-color: $code-block-light-color-scheme-hljs-function-color,
3671
+ keyword-background: $code-block-light-color-scheme-hljs-keyword-background,
3672
+ keyword-color: $code-block-light-color-scheme-hljs-keyword-color,
3673
+ link-background: $code-block-light-color-scheme-hljs-link-background,
3674
+ link-color: $code-block-light-color-scheme-hljs-link-color,
3675
+ literal-background: $code-block-light-color-scheme-hljs-literal-background,
3676
+ literal-color: $code-block-light-color-scheme-hljs-literal-color,
3677
+ meta-background: $code-block-light-color-scheme-hljs-meta-background,
3678
+ meta-color: $code-block-light-color-scheme-hljs-meta-color,
3679
+ meta-keyword-background: $code-block-light-color-scheme-hljs-meta-keyword-background,
3680
+ meta-keyword-color: $code-block-light-color-scheme-hljs-meta-keyword-color,
3681
+ meta-string-background: $code-block-light-color-scheme-hljs-meta-string-background,
3682
+ meta-string-color: $code-block-light-color-scheme-hljs-meta-string-color,
3683
+ meta-prompt-background: $code-block-light-color-scheme-hljs-meta-prompt-background,
3684
+ meta-prompt-color: $code-block-light-color-scheme-hljs-meta-prompt-color,
3685
+ name-background: $code-block-light-color-scheme-hljs-name-background,
3686
+ name-color: $code-block-light-color-scheme-hljs-name-color,
3687
+ number-background: $code-block-light-color-scheme-hljs-number-background,
3688
+ number-color: $code-block-light-color-scheme-hljs-number-color,
3689
+ operator-background: $code-block-light-color-scheme-hljs-operator-background,
3690
+ operator-color: $code-block-light-color-scheme-hljs-operator-color,
3691
+ params-background: $code-block-light-color-scheme-hljs-params-background,
3692
+ params-color: $code-block-light-color-scheme-hljs-params-color,
3693
+ property-background: $code-block-light-color-scheme-hljs-property-background,
3694
+ property-color: $code-block-light-color-scheme-hljs-property-color,
3695
+ punctuation-background: $code-block-light-color-scheme-hljs-punctuation-background,
3696
+ punctuation-color: $code-block-light-color-scheme-hljs-punctuation-color,
3697
+ quote-background: $code-block-light-color-scheme-hljs-quote-background,
3698
+ quote-color: $code-block-light-color-scheme-hljs-quote-color,
3699
+ regexp-background: $code-block-light-color-scheme-hljs-regexp-background,
3700
+ regexp-color: $code-block-light-color-scheme-hljs-regexp-color,
3701
+ section-background: $code-block-light-color-scheme-hljs-section-background,
3702
+ section-color: $code-block-light-color-scheme-hljs-section-color,
3703
+ selector-attr-background: $code-block-light-color-scheme-hljs-selector-attr-background,
3704
+ selector-attr-color: $code-block-light-color-scheme-hljs-selector-attr-color,
3705
+ selector-class-background: $code-block-light-color-scheme-hljs-selector-class-background,
3706
+ selector-class-color: $code-block-light-color-scheme-hljs-selector-class-color,
3707
+ selector-id-background: $code-block-light-color-scheme-hljs-selector-id-background,
3708
+ selector-id-color: $code-block-light-color-scheme-hljs-selector-id-color,
3709
+ selector-pseudo-background: $code-block-light-color-scheme-hljs-selector-pseudo-background,
3710
+ selector-pseudo-color: $code-block-light-color-scheme-hljs-selector-pseudo-color,
3711
+ selector-tag-background: $code-block-light-color-scheme-hljs-selector-tag-background,
3712
+ selector-tag-color: $code-block-light-color-scheme-hljs-selector-tag-color,
3713
+ string-background: $code-block-light-color-scheme-hljs-string-background,
3714
+ string-color: $code-block-light-color-scheme-hljs-string-color,
3715
+ strong-background: $code-block-light-color-scheme-hljs-strong-background,
3716
+ strong-color: $code-block-light-color-scheme-hljs-strong-color,
3717
+ subst-background: $code-block-light-color-scheme-hljs-subst-background,
3718
+ subst-color: $code-block-light-color-scheme-hljs-subst-color,
3719
+ symbol-background: $code-block-light-color-scheme-hljs-symbol-background,
3720
+ symbol-color: $code-block-light-color-scheme-hljs-symbol-color,
3721
+ tag-background: $code-block-light-color-scheme-hljs-tag-background,
3722
+ tag-color: $code-block-light-color-scheme-hljs-tag-color,
3723
+ template-tag-background: $code-block-light-color-scheme-hljs-template-tag-background,
3724
+ template-tag-color: $code-block-light-color-scheme-hljs-template-tag-color,
3725
+ template-variable-background: $code-block-light-color-scheme-hljs-template-variable-background,
3726
+ template-variable-color: $code-block-light-color-scheme-hljs-template-variable-color,
3727
+ title-background: $code-block-light-color-scheme-hljs-title-background,
3728
+ title-color: $code-block-light-color-scheme-hljs-title-color,
3729
+ title-class-background: $code-block-light-color-scheme-hljs-title-class-background,
3730
+ title-class-color: $code-block-light-color-scheme-hljs-title-class-color,
3731
+ title-class-inherited-background: $code-block-light-color-scheme-hljs-title-class-inherited-background,
3732
+ title-class-inherited-color: $code-block-light-color-scheme-hljs-title-class-inherited-color,
3733
+ title-function-background: $code-block-light-color-scheme-hljs-title-function-background,
3734
+ title-function-color: $code-block-light-color-scheme-hljs-title-function-color,
3735
+ title-function-invoke-background: $code-block-light-color-scheme-hljs-title-function-invoke-background,
3736
+ title-function-invoke-color: $code-block-light-color-scheme-hljs-title-function-invoke-color,
3737
+ type-background: $code-block-light-color-scheme-hljs-type-background,
3738
+ type-color: $code-block-light-color-scheme-hljs-type-color,
3739
+ variable-background: $code-block-light-color-scheme-hljs-variable-background,
3740
+ variable-color: $code-block-light-color-scheme-hljs-variable-color,
3741
+ variable-constant-background: $code-block-light-color-scheme-hljs-variable-constant-background,
3742
+ variable-constant-color: $code-block-light-color-scheme-hljs-variable-constant-color,
3743
+ variable-language-background: $code-block-light-color-scheme-hljs-variable-language-background,
3744
+ variable-language-color: $code-block-light-color-scheme-hljs-variable-language-color
3745
+ )
3746
+ );
3747
+
3289
3748
  $datepicker: (
3290
3749
  state-today-color: $datepicker-body-light-color-scheme-states-today-color,
3291
3750
  state-selected-color: $datepicker-body-light-color-scheme-states-selected-color,
@@ -3640,6 +4099,7 @@ $md-typography: (
3640
4099
  button: $button,
3641
4100
  card: $card,
3642
4101
  checkbox: $checkbox,
4102
+ code-block: $code-block,
3643
4103
  datepicker: $datepicker,
3644
4104
  divider: $divider,
3645
4105
  dl: $dl,
@@ -3880,6 +4340,124 @@ $md-typography: (
3880
4340
  )
3881
4341
  );
3882
4342
 
4343
+ $code-block: (
4344
+ main-background: $code-block-dark-color-scheme-background,
4345
+ border: $code-block-dark-color-scheme-border,
4346
+ main-background-less-contrast: $code-block-dark-color-scheme-decoration-less-contrast-background,
4347
+ line-numbers-color: $code-block-dark-color-scheme-line-numbers-color,
4348
+ main-code-color: $code-block-dark-color-scheme-color,
4349
+
4350
+ actionbar: (
4351
+ bg: $code-block-dark-color-scheme-actionbar-background,
4352
+ bg-less-contrast: $code-block-dark-color-scheme-decoration-less-contrast-actionbar-background,
4353
+ ),
4354
+
4355
+ hljs: (
4356
+ addition-background: $code-block-dark-color-scheme-hljs-addition-background,
4357
+ addition-color: $code-block-dark-color-scheme-hljs-addition-color,
4358
+ attr-background: $code-block-dark-color-scheme-hljs-attr-background,
4359
+ attr-color: $code-block-dark-color-scheme-hljs-attr-color,
4360
+ attribute-background: $code-block-dark-color-scheme-hljs-attribute-background,
4361
+ attribute-color: $code-block-dark-color-scheme-hljs-attribute-color,
4362
+ built-in-background: $code-block-dark-color-scheme-hljs-built-in-background,
4363
+ built-in-color: $code-block-dark-color-scheme-hljs-built-in-color,
4364
+ bullet-background: $code-block-dark-color-scheme-hljs-bullet-background,
4365
+ bullet-color: $code-block-dark-color-scheme-hljs-bullet-color,
4366
+ char-escape-background: $code-block-dark-color-scheme-hljs-char-escape-background,
4367
+ char-escape-color: $code-block-dark-color-scheme-hljs-char-escape-color,
4368
+ class-background: $code-block-dark-color-scheme-hljs-class-background,
4369
+ class-color: $code-block-dark-color-scheme-hljs-class-color,
4370
+ code-background: $code-block-dark-color-scheme-hljs-code-background,
4371
+ code-color: $code-block-dark-color-scheme-hljs-code-color,
4372
+ comment-background: $code-block-dark-color-scheme-hljs-comment-background,
4373
+ comment-color: $code-block-dark-color-scheme-hljs-comment-color,
4374
+ deletion-background: $code-block-dark-color-scheme-hljs-deletion-background,
4375
+ deletion-color: $code-block-dark-color-scheme-hljs-deletion-color,
4376
+ doctag-background: $code-block-dark-color-scheme-hljs-doctag-background,
4377
+ doctag-color: $code-block-dark-color-scheme-hljs-doctag-color,
4378
+ emphasis-background: $code-block-dark-color-scheme-hljs-emphasis-background,
4379
+ emphasis-color: $code-block-dark-color-scheme-hljs-emphasis-color,
4380
+ formula-background: $code-block-dark-color-scheme-hljs-formula-background,
4381
+ formula-color: $code-block-dark-color-scheme-hljs-formula-color,
4382
+ function-background: $code-block-dark-color-scheme-hljs-function-background,
4383
+ function-color: $code-block-dark-color-scheme-hljs-function-color,
4384
+ keyword-background: $code-block-dark-color-scheme-hljs-keyword-background,
4385
+ keyword-color: $code-block-dark-color-scheme-hljs-keyword-color,
4386
+ link-background: $code-block-dark-color-scheme-hljs-link-background,
4387
+ link-color: $code-block-dark-color-scheme-hljs-link-color,
4388
+ literal-background: $code-block-dark-color-scheme-hljs-literal-background,
4389
+ literal-color: $code-block-dark-color-scheme-hljs-literal-color,
4390
+ meta-background: $code-block-dark-color-scheme-hljs-meta-background,
4391
+ meta-color: $code-block-dark-color-scheme-hljs-meta-color,
4392
+ meta-keyword-background: $code-block-dark-color-scheme-hljs-meta-keyword-background,
4393
+ meta-keyword-color: $code-block-dark-color-scheme-hljs-meta-keyword-color,
4394
+ meta-string-background: $code-block-dark-color-scheme-hljs-meta-string-background,
4395
+ meta-string-color: $code-block-dark-color-scheme-hljs-meta-string-color,
4396
+ meta-prompt-background: $code-block-dark-color-scheme-hljs-meta-prompt-background,
4397
+ meta-prompt-color: $code-block-dark-color-scheme-hljs-meta-prompt-color,
4398
+ name-background: $code-block-dark-color-scheme-hljs-name-background,
4399
+ name-color: $code-block-dark-color-scheme-hljs-name-color,
4400
+ number-background: $code-block-dark-color-scheme-hljs-number-background,
4401
+ number-color: $code-block-dark-color-scheme-hljs-number-color,
4402
+ operator-background: $code-block-dark-color-scheme-hljs-operator-background,
4403
+ operator-color: $code-block-dark-color-scheme-hljs-operator-color,
4404
+ params-background: $code-block-dark-color-scheme-hljs-params-background,
4405
+ params-color: $code-block-dark-color-scheme-hljs-params-color,
4406
+ property-background: $code-block-dark-color-scheme-hljs-property-background,
4407
+ property-color: $code-block-dark-color-scheme-hljs-property-color,
4408
+ punctuation-background: $code-block-dark-color-scheme-hljs-punctuation-background,
4409
+ punctuation-color: $code-block-dark-color-scheme-hljs-punctuation-color,
4410
+ quote-background: $code-block-dark-color-scheme-hljs-quote-background,
4411
+ quote-color: $code-block-dark-color-scheme-hljs-quote-color,
4412
+ regexp-background: $code-block-dark-color-scheme-hljs-regexp-background,
4413
+ regexp-color: $code-block-dark-color-scheme-hljs-regexp-color,
4414
+ section-background: $code-block-dark-color-scheme-hljs-section-background,
4415
+ section-color: $code-block-dark-color-scheme-hljs-section-color,
4416
+ selector-attr-background: $code-block-dark-color-scheme-hljs-selector-attr-background,
4417
+ selector-attr-color: $code-block-dark-color-scheme-hljs-selector-attr-color,
4418
+ selector-class-background: $code-block-dark-color-scheme-hljs-selector-class-background,
4419
+ selector-class-color: $code-block-dark-color-scheme-hljs-selector-class-color,
4420
+ selector-id-background: $code-block-dark-color-scheme-hljs-selector-id-background,
4421
+ selector-id-color: $code-block-dark-color-scheme-hljs-selector-id-color,
4422
+ selector-pseudo-background: $code-block-dark-color-scheme-hljs-selector-pseudo-background,
4423
+ selector-pseudo-color: $code-block-dark-color-scheme-hljs-selector-pseudo-color,
4424
+ selector-tag-background: $code-block-dark-color-scheme-hljs-selector-tag-background,
4425
+ selector-tag-color: $code-block-dark-color-scheme-hljs-selector-tag-color,
4426
+ string-background: $code-block-dark-color-scheme-hljs-string-background,
4427
+ string-color: $code-block-dark-color-scheme-hljs-string-color,
4428
+ strong-background: $code-block-dark-color-scheme-hljs-strong-background,
4429
+ strong-color: $code-block-dark-color-scheme-hljs-strong-color,
4430
+ subst-background: $code-block-dark-color-scheme-hljs-subst-background,
4431
+ subst-color: $code-block-dark-color-scheme-hljs-subst-color,
4432
+ symbol-background: $code-block-dark-color-scheme-hljs-symbol-background,
4433
+ symbol-color: $code-block-dark-color-scheme-hljs-symbol-color,
4434
+ tag-background: $code-block-dark-color-scheme-hljs-tag-background,
4435
+ tag-color: $code-block-dark-color-scheme-hljs-tag-color,
4436
+ template-tag-background: $code-block-dark-color-scheme-hljs-template-tag-background,
4437
+ template-tag-color: $code-block-dark-color-scheme-hljs-template-tag-color,
4438
+ template-variable-background: $code-block-dark-color-scheme-hljs-template-variable-background,
4439
+ template-variable-color: $code-block-dark-color-scheme-hljs-template-variable-color,
4440
+ title-background: $code-block-dark-color-scheme-hljs-title-background,
4441
+ title-color: $code-block-dark-color-scheme-hljs-title-color,
4442
+ title-class-background: $code-block-dark-color-scheme-hljs-title-class-background,
4443
+ title-class-color: $code-block-dark-color-scheme-hljs-title-class-color,
4444
+ title-class-inherited-background: $code-block-dark-color-scheme-hljs-title-class-inherited-background,
4445
+ title-class-inherited-color: $code-block-dark-color-scheme-hljs-title-class-inherited-color,
4446
+ title-function-background: $code-block-dark-color-scheme-hljs-title-function-background,
4447
+ title-function-color: $code-block-dark-color-scheme-hljs-title-function-color,
4448
+ title-function-invoke-background: $code-block-dark-color-scheme-hljs-title-function-invoke-background,
4449
+ title-function-invoke-color: $code-block-dark-color-scheme-hljs-title-function-invoke-color,
4450
+ type-background: $code-block-dark-color-scheme-hljs-type-background,
4451
+ type-color: $code-block-dark-color-scheme-hljs-type-color,
4452
+ variable-background: $code-block-dark-color-scheme-hljs-variable-background,
4453
+ variable-color: $code-block-dark-color-scheme-hljs-variable-color,
4454
+ variable-constant-background: $code-block-dark-color-scheme-hljs-variable-constant-background,
4455
+ variable-constant-color: $code-block-dark-color-scheme-hljs-variable-constant-color,
4456
+ variable-language-background: $code-block-dark-color-scheme-hljs-variable-language-background,
4457
+ variable-language-color: $code-block-dark-color-scheme-hljs-variable-language-color
4458
+ )
4459
+ );
4460
+
3883
4461
  $datepicker: (
3884
4462
  state-selected-today-color: $datepicker-body-dark-color-scheme-states-today-color,
3885
4463
  state-selected-color: $datepicker-body-dark-color-scheme-states-selected-color,
@@ -4234,17 +4812,740 @@ $md-typography: (
4234
4812
  button: $button,
4235
4813
  card: $card,
4236
4814
  checkbox: $checkbox,
4815
+ code-block: $code-block,
4816
+ datepicker: $datepicker,
4817
+ divider: $divider,
4818
+ dl: $dl,
4819
+ icon: $icon,
4820
+ form-field: $form-field,
4821
+ form-field-password-hint: $form-field-password-hint,
4822
+ forms: $forms,
4823
+ link: $link,
4824
+ loader-overlay: $loader-overlay,
4825
+ markdown: $markdown,
4826
+ modal: $modal,
4827
+ navbar: $navbar,
4828
+ navbar-item: $navbar-item,
4829
+ popover: $popover,
4830
+ progress-bar: $progress-bar,
4831
+ radio: $radio,
4832
+ sidepanel: $sidepanel,
4833
+ tabs: $tabs,
4834
+ vertical-tabs: $vertical-tabs,
4835
+ tags: $tags,
4836
+ timezone: $timezone,
4837
+ toast: $toast,
4838
+ toggle: $toggle,
4839
+ tooltip: $tooltip,
4840
+ scrollbar: $scrollbar
4841
+ );
4842
+ }
4843
+
4844
+ @function mc-components-theme($tokens, $scheme) {
4845
+ $alert: (
4846
+ error: (
4847
+ background: map-get($tokens, 'alert-#{$scheme}-error-background'),
4848
+ border: map-get($tokens, 'alert-#{$scheme}-error-border'),
4849
+ icon: map-get($tokens, 'alert-#{$scheme}-error-icon')
4850
+ ),
4851
+ warning: (
4852
+ background: map-get($tokens, 'alert-#{$scheme}-warning-background'),
4853
+ border: map-get($tokens, 'alert-#{$scheme}-warning-border'),
4854
+ icon: map-get($tokens, 'alert-#{$scheme}-warning-icon')
4855
+ ),
4856
+ success: (
4857
+ background: map-get($tokens, 'alert-#{$scheme}-success-background'),
4858
+ border: map-get($tokens, 'alert-#{$scheme}-success-border'),
4859
+ icon: map-get($tokens, 'alert-#{$scheme}-success-icon')
4860
+ ),
4861
+ info: (
4862
+ background: map-get($tokens, 'alert-#{$scheme}-info-background'),
4863
+ border: map-get($tokens, 'alert-#{$scheme}-info-border'),
4864
+ icon: map-get($tokens, 'alert-#{$scheme}-info-icon')
4865
+ ),
4866
+ default: (
4867
+ background: map-get($tokens, 'alert-#{$scheme}-default-background'),
4868
+ border: map-get($tokens, 'alert-#{$scheme}-default-border'),
4869
+ icon: map-get($tokens, 'alert-#{$scheme}-default-icon')
4870
+ ),
4871
+ );
4872
+
4873
+ $popup: (
4874
+ shadow: map-get($tokens, 'popup-#{$scheme}-shadow'),
4875
+ border: map-get($tokens, 'popup-#{$scheme}-border'),
4876
+
4877
+ background: map-get($tokens, 'popup-#{$scheme}-background'),
4878
+ footer-background: map-get($tokens, 'popup-#{$scheme}-footer-background')
4879
+ );
4880
+
4881
+ $badge: (
4882
+ primary_solid: (
4883
+ color: map-get($tokens, 'badge-#{$scheme}-solid-primary-color'),
4884
+ background: map-get($tokens, 'badge-#{$scheme}-solid-primary-background'),
4885
+ border: map-get($tokens, 'badge-#{$scheme}-solid-primary-border')
4886
+ ),
4887
+ second_solid: (
4888
+ color: map-get($tokens, 'badge-#{$scheme}-solid-second-color'),
4889
+ background: map-get($tokens, 'badge-#{$scheme}-solid-second-background'),
4890
+ border: map-get($tokens, 'badge-#{$scheme}-solid-second-border')
4891
+ ),
4892
+ light_solid: (
4893
+ color: map-get($tokens, 'badge-#{$scheme}-solid-light-color'),
4894
+ background: map-get($tokens, 'badge-#{$scheme}-solid-light-background'),
4895
+ border: map-get($tokens, 'badge-#{$scheme}-solid-light-background')
4896
+ ),
4897
+ info_solid: (
4898
+ color: map-get($tokens, 'badge-#{$scheme}-solid-info-color'),
4899
+ background: map-get($tokens, 'badge-#{$scheme}-solid-info-background'),
4900
+ border: map-get($tokens, 'badge-#{$scheme}-solid-info-border')
4901
+ ),
4902
+ success_solid: (
4903
+ color: map-get($tokens, 'badge-#{$scheme}-solid-success-color'),
4904
+ background: map-get($tokens, 'badge-#{$scheme}-solid-success-background'),
4905
+ border: map-get($tokens, 'badge-#{$scheme}-solid-success-border')
4906
+ ),
4907
+ warning_solid: (
4908
+ color: map-get($tokens, 'badge-#{$scheme}-solid-warning-color'),
4909
+ background: map-get($tokens, 'badge-#{$scheme}-solid-warning-background'),
4910
+ border: map-get($tokens, 'badge-#{$scheme}-solid-warning-border')
4911
+ ),
4912
+ error_solid: (
4913
+ color: map-get($tokens, 'badge-#{$scheme}-solid-error-color'),
4914
+ background: map-get($tokens, 'badge-#{$scheme}-solid-error-background'),
4915
+ border: map-get($tokens, 'badge-#{$scheme}-solid-error-border')
4916
+ ),
4917
+ transparent_solid: (
4918
+ color: map-get($tokens, 'badge-#{$scheme}-solid-transparent-color'),
4919
+ border: map-get($tokens, 'badge-#{$scheme}-solid-transparent-border'),
4920
+ background: map-get($tokens, 'badge-#{$scheme}-solid-transparent-background')
4921
+ ),
4922
+ primary_pastel: (
4923
+ color: map-get($tokens, 'badge-#{$scheme}-pastel-primary-color'),
4924
+ background: map-get($tokens, 'badge-#{$scheme}-pastel-primary-background'),
4925
+ border: map-get($tokens, 'badge-#{$scheme}-pastel-primary-border')
4926
+ ),
4927
+ info_pastel: (
4928
+ color: map-get($tokens, 'badge-#{$scheme}-pastel-info-color'),
4929
+ background: map-get($tokens, 'badge-#{$scheme}-pastel-info-background'),
4930
+ border: map-get($tokens, 'badge-#{$scheme}-pastel-info-border')
4931
+ ),
4932
+ success_pastel: (
4933
+ color: map-get($tokens, 'badge-#{$scheme}-pastel-success-color'),
4934
+ background: map-get($tokens, 'badge-#{$scheme}-pastel-success-background'),
4935
+ border: map-get($tokens, 'badge-#{$scheme}-pastel-success-border')
4936
+ ),
4937
+ warning_pastel: (
4938
+ color: map-get($tokens, 'badge-#{$scheme}-pastel-warning-color'),
4939
+ background: map-get($tokens, 'badge-#{$scheme}-pastel-warning-background'),
4940
+ border: map-get($tokens, 'badge-#{$scheme}-pastel-warning-border')
4941
+ ),
4942
+ error_pastel: (
4943
+ color: map-get($tokens, 'badge-#{$scheme}-pastel-error-color'),
4944
+ background: map-get($tokens, 'badge-#{$scheme}-pastel-error-background'),
4945
+ border: map-get($tokens, 'badge-#{$scheme}-pastel-error-border')
4946
+ ),
4947
+ );
4948
+
4949
+ $button: (
4950
+ state-active_shadow: map-get($tokens, 'button-#{$scheme}-active-shadow'),
4951
+
4952
+ primary: (
4953
+ color: map-get($tokens, 'button-#{$scheme}-primary-color'),
4954
+ border: map-get($tokens, 'button-#{$scheme}-primary-border'),
4955
+ background: map-get($tokens, 'button-#{$scheme}-primary-background'),
4956
+ icon: map-get($tokens, 'button-#{$scheme}-primary-icon'),
4957
+
4958
+ active_border: map-get($tokens, 'button-#{$scheme}-primary-states-active-border'),
4959
+ active_background: map-get($tokens, 'button-#{$scheme}-primary-states-active-background')
4960
+ ),
4961
+
4962
+ primary_transparent: (
4963
+ color: map-get($tokens, 'button-#{$scheme}-primary-transparent-color'),
4964
+ icon: map-get($tokens, 'button-#{$scheme}-primary-transparent-icon'),
4965
+
4966
+ hover_color: map-get($tokens, 'button-#{$scheme}-primary-transparent-states-hover-color'),
4967
+ hover_icon: map-get($tokens, 'button-#{$scheme}-primary-transparent-states-hover-icon'),
4968
+
4969
+ active_color: map-get($tokens, 'button-#{$scheme}-primary-transparent-states-active-color'),
4970
+ active_icon: map-get($tokens, 'button-#{$scheme}-primary-transparent-states-active-icon')
4971
+ ),
4972
+
4973
+ second: (
4974
+ color: map-get($tokens, 'button-#{$scheme}-second-color'),
4975
+ border: map-get($tokens, 'button-#{$scheme}-second-border'),
4976
+ background: map-get($tokens, 'button-#{$scheme}-second-background'),
4977
+ icon: map-get($tokens, 'button-#{$scheme}-second-icon'),
4978
+
4979
+ active_border: map-get($tokens, 'button-#{$scheme}-second-states-active-border'),
4980
+ active_background: map-get($tokens, 'button-#{$scheme}-second-states-active-background')
4981
+ ),
4982
+
4983
+ error: (
4984
+ color: map-get($tokens, 'button-#{$scheme}-error-color'),
4985
+ border: map-get($tokens, 'button-#{$scheme}-error-border'),
4986
+ background: map-get($tokens, 'button-#{$scheme}-error-background'),
4987
+ icon: map-get($tokens, 'button-#{$scheme}-error-icon'),
4988
+
4989
+ active_border: map-get($tokens, 'button-#{$scheme}-error-states-active-border'),
4990
+ active_background: map-get($tokens, 'button-#{$scheme}-error-states-active-background')
4991
+ )
4992
+ );
4993
+
4994
+ $card: (
4995
+ error: (
4996
+ vertical-line: map-get($tokens, 'card-#{$scheme}-error-vertical-line'),
4997
+ background: map-get($tokens, 'card-#{$scheme}-error-background'),
4998
+ shadow: map-get($tokens, 'card-#{$scheme}-error-shadow')
4999
+ ),
5000
+ warning: (
5001
+ vertical-line: map-get($tokens, 'card-#{$scheme}-warning-vertical-line'),
5002
+ background: map-get($tokens, 'card-#{$scheme}-warning-background'),
5003
+ shadow: map-get($tokens, 'card-#{$scheme}-warning-shadow')
5004
+ ),
5005
+ success: (
5006
+ vertical-line: map-get($tokens, 'card-#{$scheme}-success-vertical-line'),
5007
+ background: map-get($tokens, 'card-#{$scheme}-success-background'),
5008
+ shadow: map-get($tokens, 'card-#{$scheme}-success-shadow')
5009
+ ),
5010
+ info: (
5011
+ vertical-line: map-get($tokens, 'card-#{$scheme}-info-vertical-line'),
5012
+ background: map-get($tokens, 'card-#{$scheme}-info-background'),
5013
+ shadow: map-get($tokens, 'card-#{$scheme}-info-shadow')
5014
+ )
5015
+ );
5016
+
5017
+ $checkbox: (
5018
+ default: (
5019
+ border: map-get($tokens, 'checkbox-#{$scheme}-default-border'),
5020
+ color: map-get($tokens, 'checkbox-#{$scheme}-default-color'),
5021
+ background: map-get($tokens, 'checkbox-#{$scheme}-default-background'),
5022
+
5023
+ checked: (
5024
+ border: map-get($tokens, 'checkbox-#{$scheme}-default-states-checked-border'),
5025
+ background: map-get($tokens, 'checkbox-#{$scheme}-default-states-checked-background')
5026
+ ),
5027
+ focused: (
5028
+ border: map-get($tokens, 'checkbox-#{$scheme}-default-states-focused-border'),
5029
+ shadow: map-get($tokens, 'checkbox-#{$scheme}-default-states-focused-shadow')
5030
+ ),
5031
+ checked-focused: (
5032
+ border: map-get($tokens, 'checkbox-#{$scheme}-default-states-checked-focused-border'),
5033
+ background: map-get($tokens, 'checkbox-#{$scheme}-default-states-checked-focused-background'),
5034
+ shadow: map-get($tokens, 'checkbox-#{$scheme}-default-states-checked-focused-shadow'),
5035
+ outline: map-get($tokens, 'checkbox-#{$scheme}-default-states-checked-focused-outline')
5036
+ )
5037
+ ),
5038
+ error: (
5039
+ border: map-get($tokens, 'checkbox-#{$scheme}-error-border'),
5040
+ color: map-get($tokens, 'checkbox-#{$scheme}-error-color'),
5041
+ background: map-get($tokens, 'checkbox-#{$scheme}-error-background'),
5042
+
5043
+ checked: (
5044
+ border: map-get($tokens, 'checkbox-#{$scheme}-error-states-checked-border'),
5045
+ background: map-get($tokens, 'checkbox-#{$scheme}-error-states-checked-background'),
5046
+ ),
5047
+ focused: (
5048
+ border: map-get($tokens, 'checkbox-#{$scheme}-error-states-focused-border'),
5049
+ shadow: map-get($tokens, 'checkbox-#{$scheme}-error-states-focused-shadow'),
5050
+ ),
5051
+ checked-focused: (
5052
+ border: map-get($tokens, 'checkbox-#{$scheme}-error-states-checked-focused-border'),
5053
+ background: map-get($tokens, 'checkbox-#{$scheme}-error-states-checked-focused-background'),
5054
+ shadow: map-get($tokens, 'checkbox-#{$scheme}-error-states-checked-focused-shadow'),
5055
+ outline: map-get($tokens, 'checkbox-#{$scheme}-error-states-checked-focused-outline')
5056
+ )
5057
+ )
5058
+ );
5059
+
5060
+ $code-block: (
5061
+ main-background: map-get($tokens, 'code-block-#{$scheme}-background'),
5062
+ actionbar-background: map-get($tokens, 'code-block-#{$scheme}-actionbar-background'),
5063
+ border: map-get($tokens, 'code-block-#{$scheme}-border'),
5064
+ main-background-less-contrast: map-get($tokens, 'code-block-#{$scheme}-decoration-less-contrast-background'),
5065
+ line-numbers-color: map-get($tokens, 'code-block-#{$scheme}-line-numbers-color'),
5066
+ main-code-color: map-get($tokens, 'code-block-#{$scheme}-color'),
5067
+
5068
+ actionbar: (
5069
+ bg: map-get($tokens, 'code-block-#{$scheme}-actionbar-background'),
5070
+ bg-less-contrast: map-get($tokens, 'code-block-#{$scheme}-decoration-less-contrast-actionbar-background'),
5071
+ ),
5072
+
5073
+ hljs: (
5074
+ addition-background: map-get($tokens, 'code-block-#{$scheme}-hljs-addition-background'),
5075
+ addition-color: map-get($tokens, 'code-block-#{$scheme}-hljs-addition-color'),
5076
+ attr-background: map-get($tokens, 'code-block-#{$scheme}-hljs-attr-background'),
5077
+ attr-color: map-get($tokens, 'code-block-#{$scheme}-hljs-attr-color'),
5078
+ attribute-background: map-get($tokens, 'code-block-#{$scheme}-hljs-attribute-background'),
5079
+ attribute-color: map-get($tokens, 'code-block-#{$scheme}-hljs-attribute-color'),
5080
+ built-in-background: map-get($tokens, 'code-block-#{$scheme}-hljs-built-in-background'),
5081
+ built-in-color: map-get($tokens, 'code-block-#{$scheme}-hljs-built-in-color'),
5082
+ bullet-background: map-get($tokens, 'code-block-#{$scheme}-hljs-bullet-background'),
5083
+ bullet-color: map-get($tokens, 'code-block-#{$scheme}-hljs-bullet-color'),
5084
+ char-escape-background: map-get($tokens, 'code-block-#{$scheme}-hljs-char-escape-background'),
5085
+ char-escape-color: map-get($tokens, 'code-block-#{$scheme}-hljs-char-escape-color'),
5086
+ class-background: map-get($tokens, 'code-block-#{$scheme}-hljs-class-background'),
5087
+ class-color: map-get($tokens, 'code-block-#{$scheme}-hljs-class-color'),
5088
+ code-background: map-get($tokens, 'code-block-#{$scheme}-hljs-code-background'),
5089
+ code-color: map-get($tokens, 'code-block-#{$scheme}-hljs-code-color'),
5090
+ comment-background: map-get($tokens, 'code-block-#{$scheme}-hljs-comment-background'),
5091
+ comment-color: map-get($tokens, 'code-block-#{$scheme}-hljs-comment-color'),
5092
+ deletion-background: map-get($tokens, 'code-block-#{$scheme}-hljs-deletion-background'),
5093
+ deletion-color: map-get($tokens, 'code-block-#{$scheme}-hljs-deletion-color'),
5094
+ doctag-background: map-get($tokens, 'code-block-#{$scheme}-hljs-doctag-background'),
5095
+ doctag-color: map-get($tokens, 'code-block-#{$scheme}-hljs-doctag-color'),
5096
+ emphasis-background: map-get($tokens, 'code-block-#{$scheme}-hljs-emphasis-background'),
5097
+ emphasis-color: map-get($tokens, 'code-block-#{$scheme}-hljs-emphasis-color'),
5098
+ formula-background: map-get($tokens, 'code-block-#{$scheme}-hljs-formula-background'),
5099
+ formula-color: map-get($tokens, 'code-block-#{$scheme}-hljs-formula-color'),
5100
+ function-background: map-get($tokens, 'code-block-#{$scheme}-hljs-function-background'),
5101
+ function-color: map-get($tokens, 'code-block-#{$scheme}-hljs-function-color'),
5102
+ keyword-background: map-get($tokens, 'code-block-#{$scheme}-hljs-keyword-background'),
5103
+ keyword-color: map-get($tokens, 'code-block-#{$scheme}-hljs-keyword-color'),
5104
+ link-background: map-get($tokens, 'code-block-#{$scheme}-hljs-link-background'),
5105
+ link-color: map-get($tokens, 'code-block-#{$scheme}-hljs-link-color'),
5106
+ literal-background: map-get($tokens, 'code-block-#{$scheme}-hljs-literal-background'),
5107
+ literal-color: map-get($tokens, 'code-block-#{$scheme}-hljs-literal-color'),
5108
+ meta-background: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-background'),
5109
+ meta-color: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-color'),
5110
+ meta-keyword-background: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-keyword-background'),
5111
+ meta-keyword-color: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-keyword-color'),
5112
+ meta-string-background: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-string-background'),
5113
+ meta-string-color: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-string-color'),
5114
+ meta-prompt-background: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-prompt-background'),
5115
+ meta-prompt-color: map-get($tokens, 'code-block-#{$scheme}-hljs-meta-prompt-color'),
5116
+ name-background: map-get($tokens, 'code-block-#{$scheme}-hljs-name-background'),
5117
+ name-color: map-get($tokens, 'code-block-#{$scheme}-hljs-name-color'),
5118
+ number-background: map-get($tokens, 'code-block-#{$scheme}-hljs-number-background'),
5119
+ number-color: map-get($tokens, 'code-block-#{$scheme}-hljs-number-color'),
5120
+ operator-background: map-get($tokens, 'code-block-#{$scheme}-hljs-operator-background'),
5121
+ operator-color: map-get($tokens, 'code-block-#{$scheme}-hljs-operator-color'),
5122
+ params-background: map-get($tokens, 'code-block-#{$scheme}-hljs-params-background'),
5123
+ params-color: map-get($tokens, 'code-block-#{$scheme}-hljs-params-color'),
5124
+ property-background: map-get($tokens, 'code-block-#{$scheme}-hljs-property-background'),
5125
+ property-color: map-get($tokens, 'code-block-#{$scheme}-hljs-property-color'),
5126
+ punctuation-background: map-get($tokens, 'code-block-#{$scheme}-hljs-punctuation-background'),
5127
+ punctuation-color: map-get($tokens, 'code-block-#{$scheme}-hljs-punctuation-color'),
5128
+ quote-background: map-get($tokens, 'code-block-#{$scheme}-hljs-quote-background'),
5129
+ quote-color: map-get($tokens, 'code-block-#{$scheme}-hljs-quote-color'),
5130
+ regexp-background: map-get($tokens, 'code-block-#{$scheme}-hljs-regexp-background'),
5131
+ regexp-color: map-get($tokens, 'code-block-#{$scheme}-hljs-regexp-color'),
5132
+ section-background: map-get($tokens, 'code-block-#{$scheme}-hljs-section-background'),
5133
+ section-color: map-get($tokens, 'code-block-#{$scheme}-hljs-section-color'),
5134
+ selector-attr-background: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-attr-background'),
5135
+ selector-attr-color: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-attr-color'),
5136
+ selector-class-background: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-class-background'),
5137
+ selector-class-color: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-class-color'),
5138
+ selector-id-background: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-id-background'),
5139
+ selector-id-color: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-id-color'),
5140
+ selector-pseudo-background: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-pseudo-background'),
5141
+ selector-pseudo-color: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-pseudo-color'),
5142
+ selector-tag-background: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-tag-background'),
5143
+ selector-tag-color: map-get($tokens, 'code-block-#{$scheme}-hljs-selector-tag-color'),
5144
+ string-background: map-get($tokens, 'code-block-#{$scheme}-hljs-string-background'),
5145
+ string-color: map-get($tokens, 'code-block-#{$scheme}-hljs-string-color'),
5146
+ strong-background: map-get($tokens, 'code-block-#{$scheme}-hljs-strong-background'),
5147
+ strong-color: map-get($tokens, 'code-block-#{$scheme}-hljs-strong-color'),
5148
+ subst-background: map-get($tokens, 'code-block-#{$scheme}-hljs-subst-background'),
5149
+ subst-color: map-get($tokens, 'code-block-#{$scheme}-hljs-subst-color'),
5150
+ symbol-background: map-get($tokens, 'code-block-#{$scheme}-hljs-symbol-background'),
5151
+ symbol-color: map-get($tokens, 'code-block-#{$scheme}-hljs-symbol-color'),
5152
+ tag-background: map-get($tokens, 'code-block-#{$scheme}-hljs-tag-background'),
5153
+ tag-color: map-get($tokens, 'code-block-#{$scheme}-hljs-tag-color'),
5154
+ template-tag-background: map-get($tokens, 'code-block-#{$scheme}-hljs-template-tag-background'),
5155
+ template-tag-color: map-get($tokens, 'code-block-#{$scheme}-hljs-template-tag-color'),
5156
+ template-variable-background: map-get($tokens, 'code-block-#{$scheme}-hljs-template-variable-background'),
5157
+ template-variable-color: map-get($tokens, 'code-block-#{$scheme}-hljs-template-variable-color'),
5158
+ title-background: map-get($tokens, 'code-block-#{$scheme}-hljs-title-background'),
5159
+ title-color: map-get($tokens, 'code-block-#{$scheme}-hljs-title-color'),
5160
+ title-class-background: map-get($tokens, 'code-block-#{$scheme}-hljs-title-class-background'),
5161
+ title-class-color: map-get($tokens, 'code-block-#{$scheme}-hljs-title-class-color'),
5162
+ title-class-inherited-background: map-get(
5163
+ $tokens, 'code-block-#{$scheme}-hljs-title-class-inherited-background'
5164
+ ),
5165
+ title-class-inherited-color: map-get($tokens, 'code-block-#{$scheme}-hljs-title-class-inherited-color'),
5166
+ title-function-background: map-get($tokens, 'code-block-#{$scheme}-hljs-title-function-background'),
5167
+ title-function-color: map-get($tokens, 'code-block-#{$scheme}-hljs-title-function-color'),
5168
+ title-function-invoke-background: map-get(
5169
+ $tokens, 'code-block-#{$scheme}-hljs-title-function-invoke-background'
5170
+ ),
5171
+ title-function-invoke-color: map-get($tokens, 'code-block-#{$scheme}-hljs-title-function-invoke-color'),
5172
+ type-background: map-get($tokens, 'code-block-#{$scheme}-hljs-type-background'),
5173
+ type-color: map-get($tokens, 'code-block-#{$scheme}-hljs-type-color'),
5174
+ variable-background: map-get($tokens, 'code-block-#{$scheme}-hljs-variable-background'),
5175
+ variable-color: map-get($tokens, 'code-block-#{$scheme}-hljs-variable-color'),
5176
+ variable-constant-background: map-get($tokens, 'code-block-#{$scheme}-hljs-variable-constant-background'),
5177
+ variable-constant-color: map-get($tokens, 'code-block-#{$scheme}-hljs-variable-constant-color'),
5178
+ variable-language-background: map-get($tokens, 'code-block-#{$scheme}-hljs-variable-language-background'),
5179
+ variable-language-color: map-get($tokens, 'code-block-#{$scheme}-hljs-variable-language-color')r
5180
+ )
5181
+ );
5182
+
5183
+ $datepicker: (
5184
+ state-selected-today-color: map-get($tokens, 'datepicker-body-#{$scheme}-states-selected-today-color'),
5185
+ state-selected-color: map-get($tokens, 'datepicker-body-#{$scheme}-states-selected-color'),
5186
+ state-selected-background: map-get($tokens, 'datepicker-body-#{$scheme}-states-selected-background')
5187
+ );
5188
+
5189
+ $divider: (
5190
+ color: map-get($tokens, 'divider-#{$scheme}-color')
5191
+ );
5192
+
5193
+ $dl: (
5194
+ dt: map-get($tokens, 'description-list-#{$scheme}-dt'),
5195
+ dd: map-get($tokens, 'description-list-#{$scheme}-dd')
5196
+ );
5197
+
5198
+ $form-field: (
5199
+ border: map-get($tokens, 'form-field-#{$scheme}-border'),
5200
+ background: map-get($tokens, 'form-field-#{$scheme}-background'),
5201
+
5202
+ state-hover-border: map-get($tokens, 'form-field-#{$scheme}-states-hover-border'),
5203
+ state-invalid-border: map-get($tokens, 'form-field-#{$scheme}-states-invalid-border'),
5204
+ state-invalid-background: map-get($tokens, 'form-field-#{$scheme}-states-invalid-background')
5205
+ );
5206
+
5207
+ $form-field-password-hint: (
5208
+ text-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-text-color'),
5209
+ icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-text-color'),
5210
+
5211
+ state-invalid-text-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-invalid-text-color'),
5212
+ state-invalid-icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-invalid-icon-color'),
5213
+
5214
+ state-valid-text-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-valid-text-color'),
5215
+ state-valid-icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-valid-icon-color')
5216
+ );
5217
+
5218
+ $forms: (
5219
+ label: map-get($tokens, 'forms-#{$scheme}-label'),
5220
+ legend: map-get($tokens, 'forms-#{$scheme}-legend'),
5221
+ );
5222
+
5223
+ $icon: (
5224
+ primary: (
5225
+ default: map-get($tokens, 'icon-#{$scheme}-primary-default'),
5226
+ state-hover: map-get($tokens, 'icon-#{$scheme}-primary-states-hover'),
5227
+ state-active: map-get($tokens, 'icon-#{$scheme}-primary-states-active'),
5228
+ state-disabled: map-get($tokens, 'icon-#{$scheme}-primary-states-disabled')
5229
+ ),
5230
+ secondary: (
5231
+ default: map-get($tokens, 'icon-#{$scheme}-secondary-default'),
5232
+ state-hover: map-get($tokens, 'icon-#{$scheme}-secondary-states-hover'),
5233
+ state-active: map-get($tokens, 'icon-#{$scheme}-secondary-states-active'),
5234
+ state-disabled: map-get($tokens, 'icon-#{$scheme}-secondary-states-disabled')
5235
+ ),
5236
+ error: (
5237
+ default: map-get($tokens, 'icon-#{$scheme}-error-default'),
5238
+ state-hover: map-get($tokens, 'icon-#{$scheme}-error-states-hover'),
5239
+ state-active: map-get($tokens, 'icon-#{$scheme}-error-states-active'),
5240
+ state-disabled: map-get($tokens, 'icon-#{$scheme}-error-states-disabled')
5241
+ ),
5242
+ warning: (
5243
+ default: map-get($tokens, 'icon-#{$scheme}-warning-default'),
5244
+ state-hover: map-get($tokens, 'icon-#{$scheme}-warning-states-hover'),
5245
+ state-active: map-get($tokens, 'icon-#{$scheme}-warning-states-active'),
5246
+ state-disabled: map-get($tokens, 'icon-#{$scheme}-warning-states-disabled')
5247
+ ),
5248
+ info: (
5249
+ default: map-get($tokens, 'icon-#{$scheme}-info-default'),
5250
+ state-hover: map-get($tokens, 'icon-#{$scheme}-info-states-hover'),
5251
+ state-active: map-get($tokens, 'icon-#{$scheme}-info-states-active'),
5252
+ state-disabled: map-get($tokens, 'icon-#{$scheme}-info-states-disabled')
5253
+ ),
5254
+ success: (
5255
+ default: map-get($tokens, 'icon-#{$scheme}-success-default'),
5256
+ state-hover: map-get($tokens, 'icon-#{$scheme}-success-states-hover'),
5257
+ state-active: map-get($tokens, 'icon-#{$scheme}-success-states-active'),
5258
+ state-disabled: map-get($tokens, 'icon-#{$scheme}-success-states-disabled')
5259
+ )
5260
+ );
5261
+
5262
+ $link: (
5263
+ text: map-get($tokens, 'link-#{$scheme}-text'),
5264
+ border-bottom: map-get($tokens, 'link-#{$scheme}-border-bottom'),
5265
+
5266
+ state-visited-text: map-get($tokens, 'link-#{$scheme}-state-visited-text'),
5267
+ state-visited-border-bottom: map-get($tokens, 'link-#{$scheme}-state-visited-border-bottom'),
5268
+
5269
+ state-hover-text: map-get($tokens, 'link-#{$scheme}-state-hover-text'),
5270
+ state-hover-border-bottom: map-get($tokens, 'link-#{$scheme}-state-hover-border-bottom'),
5271
+
5272
+ state-active-text: map-get($tokens, 'link-#{$scheme}-state-active'),
5273
+
5274
+ state-focused-outline: map-get($tokens, 'link-#{$scheme}-state-focused-outline')
5275
+ );
5276
+
5277
+ $loader-overlay: (
5278
+ background: map-get($tokens, 'loader-overlay-#{$scheme}-background'),
5279
+
5280
+ text: map-get($tokens, 'loader-overlay-#{$scheme}-text'),
5281
+ caption: map-get($tokens, 'loader-overlay-#{$scheme}-caption'),
5282
+ );
5283
+
5284
+ $modal: (
5285
+ background-mask: map-get($tokens, 'modal-#{$scheme}-background-mask'),
5286
+ shadow: map-get($tokens, 'modal-#{$scheme}-shadow'),
5287
+ header-border: map-get($tokens, 'modal-header-#{$scheme}-border'),
5288
+ body-top-shadow: map-get($tokens, 'modal-#{$scheme}-body-top-shadow'),
5289
+ body-bottom-shadow: map-get($tokens, 'modal-#{$scheme}-body-bottom-shadow'),
5290
+ footer-border: map-get($tokens, 'modal-footer-#{$scheme}-border')
5291
+ );
5292
+
5293
+ $markdown: (
5294
+ h1-color: map-get($tokens, 'markdown-h1-#{$scheme}-color'),
5295
+ h2-color: map-get($tokens, 'markdown-h2-#{$scheme}-color'),
5296
+ h3-color: map-get($tokens, 'markdown-h3-#{$scheme}-color'),
5297
+ h4-color: map-get($tokens, 'markdown-h4-#{$scheme}-color'),
5298
+ h5-color: map-get($tokens, 'markdown-h5-#{$scheme}-color'),
5299
+ h6-color: map-get($tokens, 'markdown-h6-#{$scheme}-color'),
5300
+
5301
+ p-color: map-get($tokens, 'markdown-p-#{$scheme}-color'),
5302
+
5303
+ list-color: map-get($tokens, 'markdown-list-#{$scheme}-color'),
5304
+
5305
+ blockquote-text: map-get($tokens, 'markdown-blockquote-#{$scheme}-text'),
5306
+ blockquote-line: map-get($tokens, 'markdown-blockquote-#{$scheme}-line'),
5307
+ blockquote-background: map-get($tokens, 'markdown-blockquote-#{$scheme}-background'),
5308
+ blockquote-border: map-get($tokens, 'markdown-blockquote-#{$scheme}-border'),
5309
+
5310
+ code-text: map-get($tokens, 'markdown-code-#{$scheme}-text'),
5311
+ code-background: map-get($tokens, 'markdown-code-#{$scheme}-background'),
5312
+ code-border: map-get($tokens, 'markdown-code-#{$scheme}-border'),
5313
+
5314
+ link-text: map-get($tokens, 'markdown-link-#{$scheme}-text'),
5315
+ link-border-bottom: map-get($tokens, 'markdown-link-#{$scheme}-border-bottom'),
5316
+
5317
+ link-state-visited-text: map-get($tokens, 'markdown-link-#{$scheme}-state-visited-text'),
5318
+ link-state-visited-border-bottom: map-get($tokens, 'markdown-link-#{$scheme}-state-visited-border-bottom'),
5319
+
5320
+ link-state-hover-text: map-get($tokens, 'markdown-link-#{$scheme}-state-hover-text'),
5321
+ link-state-hover-border-bottom: map-get($tokens, 'markdown-link-#{$scheme}-state-hover-border-bottom'),
5322
+
5323
+ link-state-active-text: map-get($tokens, 'markdown-link-#{$scheme}-state-active'),
5324
+
5325
+ link-state-focused-outline: map-get($tokens, 'markdown-link-#{$scheme}-state-focused-outline'),
5326
+
5327
+ image-caption-text: map-get($tokens, 'markdown-image-#{$scheme}-caption-text'),
5328
+
5329
+ hr-color: map-get($tokens, 'markdown-hr-#{$scheme}-color'),
5330
+
5331
+ table-header: map-get($tokens, 'markdown-table-#{$scheme}-header'),
5332
+ table-body: map-get($tokens, 'markdown-table-#{$scheme}-body'),
5333
+ table-border: map-get($tokens, 'markdown-table-#{$scheme}-border')
5334
+ );
5335
+
5336
+ $navbar: (
5337
+ background: map-get($tokens, 'navbar-#{$scheme}-background'),
5338
+
5339
+ divider-background: map-get($tokens, 'navbar-#{$scheme}-divider-background')
5340
+ );
5341
+
5342
+ $navbar-item: (
5343
+ color: map-get($tokens, 'navbar-item-#{$scheme}-text'),
5344
+ icon-color: map-get($tokens, 'navbar-item-#{$scheme}-icon'),
5345
+
5346
+ state-active: map-get($tokens, 'navbar-item-#{$scheme}-states-active'),
5347
+ state-selected: map-get($tokens, 'navbar-item-#{$scheme}-states-selected'),
5348
+ state-hover: map-get($tokens, 'navbar-item-#{$scheme}-states-hover'),
5349
+ state-progress: map-get($tokens, 'navbar-item-#{$scheme}-states-progress'),
5350
+ state-disabled-opacity: map-get($tokens, 'navbar-item-#{$scheme}-states-disabled-opacity'),
5351
+ );
5352
+
5353
+ $popover: (
5354
+ background: map-get($tokens, 'popover-#{$scheme}-background'),
5355
+ text: map-get($tokens, 'popover-#{$scheme}-text'),
5356
+ shadow: map-get($tokens, 'popover-#{$scheme}-shadow'),
5357
+ border: map-get($tokens, 'popover-#{$scheme}-border'),
5358
+
5359
+ footer: (
5360
+ background: map-get($tokens, 'popover-footer-#{$scheme}-background'),
5361
+ border: map-get($tokens, 'popover-footer-#{$scheme}-border'),
5362
+ ),
5363
+
5364
+ header: (
5365
+ text: map-get($tokens, 'popover-header-#{$scheme}-text'),
5366
+ background: map-get($tokens, 'popover-header-#{$scheme}-background'),
5367
+ border: map-get($tokens, 'popover-header-#{$scheme}-border'),
5368
+ )
5369
+ );
5370
+
5371
+ $progress-bar: (
5372
+ background: map-get($tokens, 'progress-bar-#{$scheme}-background')
5373
+ );
5374
+
5375
+ $radio: (
5376
+ outer-circle_border: map-get($tokens, 'radio-#{$scheme}-outer-circle-border'),
5377
+ inner-circle_border: map-get($tokens, 'radio-#{$scheme}-inner-circle-border'),
5378
+ cap-color: map-get($tokens, 'radio-#{$scheme}-cap-color'),
5379
+
5380
+ outer-circle_checked-state_border: map-get($tokens, 'radio-#{$scheme}-states-checked-outer-circle-border'),
5381
+ outer-circle_focused-state_border: map-get($tokens, 'radio-#{$scheme}-states-focused-outer-circle-border'),
5382
+ outer-circle_focused-state_shadow: map-get($tokens, 'radio-#{$scheme}-states-focused-outer-circle-shadow'),
5383
+
5384
+ inner-circle_checked-state_border: map-get($tokens, 'radio-#{$scheme}-states-checked-inner-circle-border'),
5385
+ inner-circle_focused-state_shadow: map-get($tokens, 'radio-#{$scheme}-states-focused-inner-circle-shadow')
5386
+ );
5387
+
5388
+ $sidepanel: (
5389
+ border: map-get($tokens, 'sidepanel-#{$scheme}-border'),
5390
+ header-border: map-get($tokens, 'sidepanel-header-#{$scheme}-border'),
5391
+ footer-border: map-get($tokens, 'sidepanel-footer-#{$scheme}-border')
5392
+ );
5393
+
5394
+ $tabs: (
5395
+ border: map-get($tokens, 'tabs-#{$scheme}-border'),
5396
+ state-normal-icon: map-get($tokens, 'tabs-#{$scheme}-state-normal-icon'),
5397
+ state-normal-text: map-get($tokens, 'tabs-#{$scheme}-state-normal-text'),
5398
+
5399
+ state-hover-icon: map-get($tokens, 'tabs-#{$scheme}-state-hover-icon'),
5400
+ state-hover-text: map-get($tokens, 'tabs-#{$scheme}-state-hover-text'),
5401
+
5402
+ state-active-marker: map-get($tokens, 'tabs-#{$scheme}-state-active-marker-color'),
5403
+
5404
+ state-empty-icon: map-get($tokens, 'tabs-#{$scheme}-state-empty-icon'),
5405
+ state-empty-text: map-get($tokens, 'tabs-#{$scheme}-state-empty-text'),
5406
+
5407
+ state-disabled-icon: map-get($tokens, 'tabs-#{$scheme}-state-disabled-icon'),
5408
+ state-disabled-text: map-get($tokens, 'tabs-#{$scheme}-state-disabled-text'),
5409
+ state-disabled-marker-opacity: map-get($tokens, 'tabs-#{$scheme}-state-disabled-marker-opacity')
5410
+ );
5411
+
5412
+ $vertical-tabs: (
5413
+ state-normal-background: map-get($tokens, 'vertical-tabs-#{$scheme}-state-normal-background'),
5414
+ state-selected-background: map-get($tokens, 'vertical-tabs-#{$scheme}-state-selected-background'),
5415
+ state-hover-background: map-get($tokens, 'vertical-tabs-#{$scheme}-state-hover-background'),
5416
+ state-hover-selected-background: map-get($tokens, 'vertical-tabs-#{$scheme}-state-hover-selected-background')
5417
+ );
5418
+
5419
+ $tags: (
5420
+ primary: (
5421
+ border: map-get($tokens, 'tags-#{$scheme}-primary-border'),
5422
+ text: map-get($tokens, 'tags-#{$scheme}-primary-text'),
5423
+ background: map-get($tokens, 'tags-#{$scheme}-primary-background'),
5424
+ background_disabled: map-get($tokens, 'tags-#{$scheme}-primary-states-disabled-background'),
5425
+ border_disabled: map-get($tokens, 'tags-#{$scheme}-primary-states-disabled-border'),
5426
+ icon: map-get($tokens, 'tags-#{$scheme}-primary-icon'),
5427
+ icon_hovered: map-get($tokens, 'tags-#{$scheme}-primary-states-hover-icon'),
5428
+ focused: map-get($tokens, 'tags-#{$scheme}-primary-states-focused'),
5429
+ disabled: map-get($tokens, 'tags-#{$scheme}-primary-states-disabled-text')
5430
+ ),
5431
+ second: (
5432
+ border: map-get($tokens, 'tags-#{$scheme}-second-border'),
5433
+ text: map-get($tokens, 'tags-#{$scheme}-second-text'),
5434
+ background: map-get($tokens, 'tags-#{$scheme}-second-background'),
5435
+ background_disabled: map-get($tokens, 'tags-#{$scheme}-second-states-disabled-background'),
5436
+ border_disabled: map-get($tokens, 'tags-#{$scheme}-second-states-disabled-border'),
5437
+ icon: map-get($tokens, 'tags-#{$scheme}-second-icon'),
5438
+ icon_hovered: map-get($tokens, 'tags-#{$scheme}-second-states-hover-icon'),
5439
+ focused: map-get($tokens, 'tags-#{$scheme}-second-states-focused'),
5440
+ disabled: map-get($tokens, 'tags-#{$scheme}-second-states-disabled-text')
5441
+ ),
5442
+ error: (
5443
+ border: map-get($tokens, 'tags-#{$scheme}-error-border'),
5444
+ text: map-get($tokens, 'tags-#{$scheme}-error-text'),
5445
+ background: map-get($tokens, 'tags-#{$scheme}-error-background'),
5446
+ background_disabled: map-get($tokens, 'tags-#{$scheme}-error-states-disabled-background'),
5447
+ border_disabled: map-get($tokens, 'tags-#{$scheme}-error-states-disabled-border'),
5448
+ icon: map-get($tokens, 'tags-#{$scheme}-error-icon'),
5449
+ icon_hovered: map-get($tokens, 'tags-#{$scheme}-error-states-hover-icon'),
5450
+ focused: map-get($tokens, 'tags-#{$scheme}-error-states-focused'),
5451
+ disabled: map-get($tokens, 'tags-#{$scheme}-error-states-disabled-text')
5452
+ )
5453
+ );
5454
+
5455
+ $toggle: (
5456
+ border: map-get($tokens, 'toggle-#{$scheme}-border'),
5457
+ background: map-get($tokens, 'toggle-#{$scheme}-background'),
5458
+
5459
+ circle_border: map-get($tokens, 'toggle-#{$scheme}-circle-border'),
5460
+ circle_background: map-get($tokens, 'toggle-#{$scheme}-circle-background'),
5461
+
5462
+ focused: map-get($tokens, 'toggle-#{$scheme}-states-focused-shadow'),
5463
+
5464
+ primary: (
5465
+ checked_border: map-get($tokens, 'toggle-#{$scheme}-primary-checked-border-color'),
5466
+ checked_background: map-get($tokens, 'toggle-#{$scheme}-primary-checked-background')
5467
+ ),
5468
+ error: (
5469
+ checked_border: map-get($tokens, 'toggle-#{$scheme}-error-checked-border-color'),
5470
+ checked_background: map-get($tokens, 'toggle-#{$scheme}-error-checked-background')
5471
+ )
5472
+ );
5473
+
5474
+ $timezone: (
5475
+ text: map-get($tokens, 'timezone-option-#{$scheme}-text'),
5476
+ caption: map-get($tokens, 'timezone-option-#{$scheme}-caption')
5477
+ );
5478
+
5479
+ $toast: (
5480
+ background: map-get($tokens, 'toast-#{$scheme}-background'),
5481
+ border: map-get($tokens, 'toast-#{$scheme}-border'),
5482
+ text: map-get($tokens, 'toast-#{$scheme}-text'),
5483
+ text-caption: map-get($tokens, 'toast-#{$scheme}-text-caption'),
5484
+ shadow: map-get($tokens, 'toast-#{$scheme}-shadow'),
5485
+
5486
+ icon_info: map-get($tokens, 'toast-#{$scheme}-icon-info'),
5487
+ icon_error: map-get($tokens, 'toast-#{$scheme}-icon-error'),
5488
+ icon_success: map-get($tokens, 'toast-#{$scheme}-icon-success'),
5489
+ icon_warning: map-get($tokens, 'toast-#{$scheme}-icon-warning')
5490
+ );
5491
+
5492
+ $tooltip: (
5493
+ background: map-get($tokens, 'tooltip-#{$scheme}-background'),
5494
+ color: map-get($tokens, 'tooltip-#{$scheme}-text'),
5495
+ shadow: map-get($tokens, 'tooltip-#{$scheme}-shadow'),
5496
+
5497
+ warning: (
5498
+ background: map-get($tokens, 'tooltip-#{$scheme}-warning-background'),
5499
+ color: map-get($tokens, 'tooltip-#{$scheme}-warning-text'),
5500
+ border-color: map-get($tokens, 'tooltip-#{$scheme}-warning-border')
5501
+ ),
5502
+ extended: (
5503
+ background: map-get($tokens, 'extended-tooltip-#{$scheme}-background'),
5504
+ color: map-get($tokens, 'extended-tooltip-#{$scheme}-text'),
5505
+ border-color: map-get($tokens, 'extended-tooltip-#{$scheme}-border'),
5506
+
5507
+ header-background: map-get($tokens, 'extended-tooltip-header-#{$scheme}-background'),
5508
+ header-color: map-get($tokens, 'extended-tooltip-header-#{$scheme}-text'),
5509
+ header-border-color: map-get($tokens, 'extended-tooltip-header-#{$scheme}-border')
5510
+ )
5511
+ );
5512
+
5513
+ $scrollbar: (
5514
+ track: map-get($tokens, 'scrollbar-#{$scheme}-track'),
5515
+ thumb: (
5516
+ normal: map-get($tokens, 'scrollbar-#{$scheme}-thumb-normal'),
5517
+ hover: map-get($tokens, 'scrollbar-#{$scheme}-thumb-hover'),
5518
+ active: map-get($tokens, 'scrollbar-#{$scheme}-thumb-active'),
5519
+ disabled: map-get($tokens, 'scrollbar-#{$scheme}-thumb-disabled')
5520
+ ),
5521
+ arrow: (
5522
+ normal: map-get($tokens, 'scrollbar-#{$scheme}-arrow-normal'),
5523
+ disabled: map-get($tokens, 'scrollbar-#{$scheme}-arrow-disabled'),
5524
+ background: map-get($tokens, 'scrollbar-#{$scheme}-arrow-background')
5525
+ ),
5526
+ corner-background: map-get($tokens, 'scrollbar-#{$scheme}-corner-background'),
5527
+ resizer-background: map-get($tokens, 'scrollbar-#{$scheme}-resizer-background')
5528
+ );
5529
+
5530
+ @return (
5531
+ alert: $alert,
5532
+ popup: $popup,
5533
+ badge: $badge,
5534
+ button: $button,
5535
+ card: $card,
5536
+ checkbox: $checkbox,
5537
+ code-block: $code-block,
4237
5538
  datepicker: $datepicker,
4238
5539
  divider: $divider,
4239
5540
  dl: $dl,
4240
- icon: $icon,
4241
5541
  form-field: $form-field,
4242
5542
  form-field-password-hint: $form-field-password-hint,
4243
5543
  forms: $forms,
5544
+ icon: $icon,
4244
5545
  link: $link,
4245
5546
  loader-overlay: $loader-overlay,
4246
- markdown: $markdown,
4247
5547
  modal: $modal,
5548
+ markdown: $markdown,
4248
5549
  navbar: $navbar,
4249
5550
  navbar-item: $navbar-item,
4250
5551
  popover: $popover,
@@ -4264,6 +5565,34 @@ $md-typography: (
4264
5565
 
4265
5566
 
4266
5567
 
5568
+ @function mc-contrast($palette, $hue) {
5569
+ @return map-get(map-get($palette, contrast), $hue);
5570
+ }
5571
+
5572
+ @function mc-palette($base-palette, $default) {
5573
+ $result: map_merge($base-palette, (default: $default));
5574
+
5575
+ // For each hue in the palette, add a "-contrast" color to the map.
5576
+ @each $hue, $color in $base-palette {
5577
+ $result: map_merge($result, ('#{$hue}-contrast': mc-contrast($base-palette, $hue)));
5578
+ }
5579
+
5580
+ @return $result;
5581
+ }
5582
+
5583
+ @function mc-color($palette, $hue: default, $opacity: null) {
5584
+ // If hueKey is a number between zero and one, then it actually contains an
5585
+ // opacity value, so recall this function with the default hue and that given opacity.
5586
+ @if type-of($hue) == number and $hue >= 0 and $hue <= 1 {
5587
+ @return mc-color($palette, default, $hue);
5588
+ }
5589
+
5590
+ $color: map-get($palette, $hue);
5591
+ $opacity: if($opacity == null, opacity($color), $opacity);
5592
+
5593
+ @return rgba($color, $opacity);
5594
+ }
5595
+
4267
5596
  // Mixin that renders all of the core styles that depend on the theme.
4268
5597
  @mixin mc-core-theme($theme) {
4269
5598
  .mc-app-background {
@@ -4299,33 +5628,6 @@ $md-typography: (
4299
5628
  }
4300
5629
  }
4301
5630
 
4302
- @function mc-contrast($palette, $hue) {
4303
- @return map-get(map-get($palette, contrast), $hue);
4304
- }
4305
-
4306
- @function mc-palette($base-palette, $default) {
4307
- $result: map_merge($base-palette, (default: $default));
4308
-
4309
- // For each hue in the palette, add a "-contrast" color to the map.
4310
- @each $hue, $color in $base-palette {
4311
- $result: map_merge($result, ('#{$hue}-contrast': mc-contrast($base-palette, $hue)));
4312
- }
4313
-
4314
- @return $result;
4315
- }
4316
-
4317
- @function mc-color($palette, $hue: default, $opacity: null) {
4318
- // If hueKey is a number between zero and one, then it actually contains an
4319
- // opacity value, so recall this function with the default hue and that given opacity.
4320
- @if type-of($hue) == number and $hue >= 0 and $hue <= 1 {
4321
- @return mc-color($palette, default, $hue);
4322
- }
4323
-
4324
- $color: map-get($palette, $hue);
4325
- $opacity: if($opacity == null, opacity($color), $opacity);
4326
-
4327
- @return rgba($color, $opacity);
4328
- }
4329
5631
 
4330
5632
  $light-primary: mc-palette($light-color-scheme-primary-palette, $light-color-scheme-primary-default);
4331
5633
  $light-second: mc-palette($light-color-scheme-second-palette, $light-color-scheme-second-default);
@@ -4335,7 +5637,7 @@ $light-info: mc-palette($light-color-scheme-info-palette, $light-color-scheme-in
4335
5637
  $light-success: mc-palette($light-color-scheme-success-palette, $light-color-scheme-success-default);
4336
5638
  $light-warning: mc-palette($light-color-scheme-warning-palette, $light-color-scheme-warning-default);
4337
5639
 
4338
- @function mc-light-theme(
5640
+ @function mc-light-theme_import(
4339
5641
  $primary: $light-primary,
4340
5642
  $second: $light-second,
4341
5643
  $error: $light-error,
@@ -4401,7 +5703,7 @@ $dark-info: mc-palette($dark-color-scheme-info-palette, $dark-color-scheme-info-
4401
5703
  $dark-success: mc-palette($dark-color-scheme-success-palette, $dark-color-scheme-success-default);
4402
5704
  $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme-warning-default);
4403
5705
 
4404
- @function mc-dark-theme(
5706
+ @function mc-dark-theme_import(
4405
5707
  $primary: $dark-primary,
4406
5708
  $second: $dark-second,
4407
5709
  $error: $dark-error,
@@ -4460,6 +5762,95 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
4460
5762
  }
4461
5763
 
4462
5764
 
5765
+ @function _theme_states($tokens, $scheme) {
5766
+ @return (
5767
+ focused-color: map-get($tokens, '#{$scheme}-states-focused-color'),
5768
+ selected-color: map-get($tokens, '#{$scheme}-states-selected-color'),
5769
+ pressed-shadow: map-get($tokens, '#{$scheme}-states-pressed-shadow'),
5770
+ disabled-opacity: map-get($tokens, '#{$scheme}-states-disabled-opacity')
5771
+ );
5772
+ }
5773
+
5774
+ @function _theme_foreground($tokens, $scheme) {
5775
+ @return (
5776
+ text: map-get($tokens, '#{$scheme}-foreground-text'),
5777
+ text-less-contrast: map-get($tokens, '#{$scheme}-foreground-text-less-contrast'),
5778
+ text-disabled: map-get($tokens, '#{$scheme}-foreground-text-disabled'),
5779
+ text-error: map-get($tokens, '#{$scheme}-foreground-text-error'),
5780
+ text-success: map-get($tokens, '#{$scheme}-foreground-text-success'),
5781
+
5782
+ divider: map-get($tokens, '#{$scheme}-foreground-divider'),
5783
+ border: map-get($tokens, '#{$scheme}-foreground-border'),
5784
+ icon: map-get($tokens, '#{$scheme}-foreground-icon'),
5785
+ );
5786
+ }
5787
+
5788
+ @function _theme_background($tokens, $scheme) {
5789
+ @return (
5790
+ background: map-get($tokens, '#{$scheme}-background-background'),
5791
+ background-disabled: map-get($tokens, '#{$scheme}-background-background-disabled'),
5792
+ background-less-contrast: map-get($tokens, '#{$scheme}-background-background-less-contrast'),
5793
+ background-under: map-get($tokens, '#{$scheme}-background-background-under'),
5794
+
5795
+ overlay-hover: map-get($tokens, '#{$scheme}-background-overlay-hover'),
5796
+ overlay-active: map-get($tokens, '#{$scheme}-background-overlay-active'),
5797
+ overlay-disabled: map-get($tokens, '#{$scheme}-background-overlay-disabled')
5798
+ );
5799
+ }
5800
+
5801
+ @function _theme_palette($tokens, $scheme, $name) {
5802
+ @return mc-palette(
5803
+ map-get($tokens, '#{$scheme}-#{$name}-palette'), map-get($tokens, '#{$scheme}-#{$name}-default')
5804
+ )
5805
+ }
5806
+
5807
+ @function mc-light-theme($tokens) {
5808
+ $scheme: 'light-color-scheme';
5809
+
5810
+ @return (
5811
+ is-dark: false,
5812
+
5813
+ background: _theme_background($tokens, $scheme),
5814
+ foreground: _theme_foreground($tokens, $scheme),
5815
+
5816
+ primary: _theme_palette($tokens, $scheme, primary),
5817
+ second: _theme_palette($tokens, $scheme, second),
5818
+ error: _theme_palette($tokens, $scheme, error),
5819
+
5820
+ warning: _theme_palette($tokens, $scheme, warning),
5821
+ success: _theme_palette($tokens, $scheme, success),
5822
+ info: _theme_palette($tokens, $scheme, info),
5823
+
5824
+ states: _theme_states($tokens, $scheme),
5825
+
5826
+ components: mc-components-theme($tokens, $scheme)
5827
+ );
5828
+ }
5829
+
5830
+ @function mc-dark-theme($tokens) {
5831
+ $scheme: 'dark-color-scheme';
5832
+
5833
+ @return (
5834
+ is-dark: true,
5835
+
5836
+ background: _theme_background($tokens, $scheme),
5837
+ foreground: _theme_foreground($tokens, $scheme),
5838
+
5839
+ primary: _theme_palette($tokens, $scheme, primary),
5840
+ second: _theme_palette($tokens, $scheme, second),
5841
+ error: _theme_palette($tokens, $scheme, error),
5842
+
5843
+ warning: _theme_palette($tokens, $scheme, warning),
5844
+ success: _theme_palette($tokens, $scheme, success),
5845
+ info: _theme_palette($tokens, $scheme, info),
5846
+
5847
+ states: _theme_states($tokens, $scheme),
5848
+
5849
+ components: mc-components-theme($tokens, $scheme)
5850
+ );
5851
+ }
5852
+
5853
+
4463
5854
  @function mc-typography-level(
4464
5855
  $font-size,
4465
5856
  $line-height: $font-size,
@@ -5317,6 +6708,335 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
5317
6708
 
5318
6709
 
5319
6710
 
6711
+ @mixin mc-code-block-theme($theme) {
6712
+ $code-block: map-get(map-get($theme, components), code-block);
6713
+
6714
+ .mc-code-block {
6715
+ background-color: map-get($code-block, main-background);
6716
+ border-color: map-get($code-block, border);
6717
+
6718
+ .hljs {
6719
+ $hljs: map-get($code-block, hljs);
6720
+
6721
+ display: block;
6722
+ overflow-x: auto;
6723
+
6724
+ &-addition {
6725
+ background-color: map-get($hljs, addition-background);
6726
+ color: map-get($hljs, addition-color);
6727
+ }
6728
+
6729
+ &-attr {
6730
+ background-color: map-get($hljs, attr-background);
6731
+ color: map-get($hljs, attr-color);
6732
+ }
6733
+
6734
+ &-attribute {
6735
+ background-color: map-get($hljs, attribute-background);
6736
+ color: map-get($hljs, attribute-color);
6737
+ }
6738
+
6739
+ &-built_in {
6740
+ background-color: map-get($hljs, built_in-background);
6741
+ color: map-get($hljs, built_in-color);
6742
+ }
6743
+
6744
+ &-bullet {
6745
+ background-color: map-get($hljs, bullet-background);
6746
+ color: map-get($hljs, bullet-color);
6747
+ }
6748
+
6749
+ &-char-escape {
6750
+ background-color: map-get($hljs, char-escape-background);
6751
+ color: map-get($hljs, char-escape-color);
6752
+ }
6753
+
6754
+ &-class {
6755
+ background-color: map-get($hljs, class-background);
6756
+ color: map-get($hljs, class-color);
6757
+ }
6758
+
6759
+ &-code {
6760
+ background-color: map-get($hljs, code-background);
6761
+ color: map-get($hljs, code-color);
6762
+ }
6763
+
6764
+ &-comment {
6765
+ background-color: map-get($hljs, comment-background);
6766
+ color: map-get($hljs, comment-color);
6767
+ }
6768
+
6769
+ &-deletion {
6770
+ background-color: map-get($hljs, deletion-background);
6771
+ color: map-get($hljs, deletion-color);
6772
+ }
6773
+
6774
+ &-doctag {
6775
+ background-color: map-get($hljs, doctag-background);
6776
+ color: map-get($hljs, doctag-color);
6777
+ }
6778
+
6779
+ &-emphasis {
6780
+ background-color: map-get($hljs, emphasis-background);
6781
+ color: map-get($hljs, emphasis-color);
6782
+ }
6783
+
6784
+ &-formula {
6785
+ background-color: map-get($hljs, formula-background);
6786
+ color: map-get($hljs, formula-color);
6787
+ }
6788
+
6789
+ &-function {
6790
+ background-color: map-get($hljs, function-background);
6791
+ color: map-get($hljs, function-color);
6792
+ }
6793
+
6794
+ &-keyword {
6795
+ background-color: map-get($hljs, keyword-background);
6796
+ color: map-get($hljs, keyword-color);
6797
+ }
6798
+
6799
+ &-link {
6800
+ background-color: map-get($hljs, link-background);
6801
+ color: map-get($hljs, link-color);
6802
+ }
6803
+
6804
+ &-literal {
6805
+ background-color: map-get($hljs, literal-background);
6806
+ color: map-get($hljs, literal-color);
6807
+ }
6808
+
6809
+ &-meta {
6810
+ background-color: map-get($hljs, meta-background);
6811
+ color: map-get($hljs, meta-color);
6812
+ }
6813
+
6814
+ &-meta-keyword {
6815
+ background-color: map-get($hljs, meta-keyword-background);
6816
+ color: map-get($hljs, meta-keyword-color);
6817
+ }
6818
+
6819
+ &-meta-string {
6820
+ background-color: map-get($hljs, meta-string-background);
6821
+ color: map-get($hljs, meta-string-color);
6822
+ }
6823
+
6824
+ &-meta-prompt {
6825
+ background-color: map-get($hljs, meta-prompt-background);
6826
+ color: map-get($hljs, meta-prompt-color);
6827
+ }
6828
+
6829
+ &-name {
6830
+ background-color: map-get($hljs, name-background);
6831
+ color: map-get($hljs, name-color);
6832
+ }
6833
+
6834
+ &-number {
6835
+ background-color: map-get($hljs, number-background);
6836
+ color: map-get($hljs, number-color);
6837
+ }
6838
+
6839
+ &-operator {
6840
+ background-color: map-get($hljs, operator-background);
6841
+ color: map-get($hljs, operator-color);
6842
+ }
6843
+
6844
+ &-params {
6845
+ background-color: map-get($hljs, params-background);
6846
+ color: map-get($hljs, params-color);
6847
+ }
6848
+
6849
+ &-property {
6850
+ background-color: map-get($hljs, property-background);
6851
+ color: map-get($hljs, property-color);
6852
+ }
6853
+
6854
+ &-punctuation {
6855
+ background-color: map-get($hljs, punctuation-background);
6856
+ color: map-get($hljs, punctuation-color);
6857
+ }
6858
+
6859
+ &-quote {
6860
+ background-color: map-get($hljs, quote-background);
6861
+ color: map-get($hljs, quote-color);
6862
+ }
6863
+
6864
+ &-regexp {
6865
+ background-color: map-get($hljs, regexp-background);
6866
+ color: map-get($hljs, regexp-color);
6867
+ }
6868
+
6869
+ &-section {
6870
+ background-color: map-get($hljs, section-background);
6871
+ color: map-get($hljs, section-color);
6872
+ }
6873
+
6874
+ &-selector-attr {
6875
+ background-color: map-get($hljs, selector-attr-background);
6876
+ color: map-get($hljs, selector-attr-color);
6877
+ }
6878
+
6879
+ &-selector-class {
6880
+ background-color: map-get($hljs, selector-class-background);
6881
+ color: map-get($hljs, selector-class-color);
6882
+ }
6883
+
6884
+ &-selector-id {
6885
+ background-color: map-get($hljs, selector-id-background);
6886
+ color: map-get($hljs, selector-id-color);
6887
+ }
6888
+
6889
+ &-selector-pseudo {
6890
+ background-color: map-get($hljs, selector-pseudo-background);
6891
+ color: map-get($hljs, selector-pseudo-color);
6892
+ }
6893
+
6894
+ &-selector-tag {
6895
+ background-color: map-get($hljs, selector-tag-background);
6896
+ color: map-get($hljs, selector-tag-color);
6897
+ }
6898
+
6899
+ &-string {
6900
+ background-color: map-get($hljs, string-background);
6901
+ color: map-get($hljs, string-color);
6902
+ }
6903
+
6904
+ &-strong {
6905
+ background-color: map-get($hljs, strong-background);
6906
+ color: map-get($hljs, strong-color);
6907
+ }
6908
+
6909
+ &-subst {
6910
+ background-color: map-get($hljs, subst-background);
6911
+ color: map-get($hljs, subst-color);
6912
+ }
6913
+
6914
+ &-symbol {
6915
+ background-color: map-get($hljs, symbol-background);
6916
+ color: map-get($hljs, symbol-color);
6917
+ }
6918
+
6919
+ &-tag {
6920
+ background-color: map-get($hljs, tag-background);
6921
+ color: map-get($hljs, tag-color);
6922
+ }
6923
+
6924
+ &-template-tag {
6925
+ background-color: map-get($hljs, template-tag-background);
6926
+ color: map-get($hljs, template-tag-color);
6927
+ }
6928
+
6929
+ &-template-variable {
6930
+ background-color: map-get($hljs, template-variable-background);
6931
+ color: map-get($hljs, template-variable-color);
6932
+ }
6933
+
6934
+ &-title {
6935
+ background-color: map-get($hljs, title-background);
6936
+ color: map-get($hljs, title-color);
6937
+ }
6938
+
6939
+ &-title-class {
6940
+ background-color: map-get($hljs, title-class-background);
6941
+ color: map-get($hljs, title-class-color);
6942
+ }
6943
+
6944
+ &-title-class-inherited {
6945
+ background-color: map-get($hljs, title-class-inherited-background);
6946
+ color: map-get($hljs, title-class-inherited-color);
6947
+ }
6948
+
6949
+ &-title-function {
6950
+ background-color: map-get($hljs, title-function-background);
6951
+ color: map-get($hljs, title-function-color);
6952
+ }
6953
+
6954
+ &-title-function-invoke {
6955
+ background-color: map-get($hljs, title-function-invoke-background);
6956
+ color: map-get($hljs, title-function-invoke-color);
6957
+ }
6958
+
6959
+ &-type {
6960
+ background-color: map-get($hljs, type-background);
6961
+ color: map-get($hljs, type-color);
6962
+ }
6963
+
6964
+ &-variable {
6965
+ background-color: map-get($hljs, variable-background);
6966
+ color: map-get($hljs, variable-color);
6967
+ }
6968
+
6969
+ &-variable-constant {
6970
+ background-color: map-get($hljs, variable-constant-background);
6971
+ color: map-get($hljs, variable-constant-color);
6972
+ }
6973
+
6974
+ &-variable-language {
6975
+ background-color: map-get($hljs, variable-language-background);
6976
+ color: map-get($hljs, variable-language-color);
6977
+ }
6978
+
6979
+ &-ln-n {
6980
+ color: map-get($code-block, line-numbers-color);
6981
+ }
6982
+
6983
+ &-line-numbers {
6984
+ color: map-get($code-block, main-code-color);
6985
+ }
6986
+ }
6987
+
6988
+ &.mc-code-block_less-contrast {
6989
+ background-color: map-get($code-block, main-background-less-contrast);
6990
+ }
6991
+
6992
+ &.mc-code-block_single-file {
6993
+ .mc-tab-label {
6994
+ user-select: text !important;
6995
+ color: inherit !important;
6996
+ }
6997
+ }
6998
+
6999
+ .mc-tab-group:after {
7000
+ background: map-get($code-block, border);
7001
+ }
7002
+
7003
+ .mc-tab-header {
7004
+ & .mc-tab-label.mc-tab-label_horizontal,
7005
+ & .mc-tab-header__pagination {
7006
+ border-bottom-color: transparent;
7007
+ }
7008
+ }
7009
+
7010
+ .mc-code-block__show-more {
7011
+ border-top-color: map-get($code-block, border) !important;
7012
+ }
7013
+ }
7014
+
7015
+ .mc-code-block-actionbar {
7016
+ .mc-code-block-actionbar_less-contrast {
7017
+ background-color: map-get($code-block, actionbar, bg-less-contrast);
7018
+ }
7019
+
7020
+ &.mc-actionbar-block_floating {
7021
+ background-color: map-get($code-block, actionbar, bg);
7022
+ }
7023
+ }
7024
+ }
7025
+
7026
+ @mixin mc-code-block-typography($config) {
7027
+ .mc-code-block {
7028
+ @include mc-typography-level-to-styles($config, $code-block-font-default);
7029
+
7030
+ & .hljs-ln-numbers {
7031
+ @include mc-typography-level-to-styles($config, caption-mono);
7032
+ }
7033
+ }
7034
+ }
7035
+
7036
+
7037
+
7038
+
7039
+
5320
7040
 
5321
7041
 
5322
7042
 
@@ -5351,10 +7071,6 @@ $mc-datepicker-today-fade-amount: 0.2;
5351
7071
  background: map-get($foreground, divider);
5352
7072
  }
5353
7073
 
5354
- .mc-calendar__body-label {
5355
- color: map-get($foreground, text);
5356
- }
5357
-
5358
7074
  .mc-calendar__body-cell-content {
5359
7075
  color: map-get($foreground, text);
5360
7076
  border-color: transparent;
@@ -5384,7 +7100,6 @@ $mc-datepicker-today-fade-amount: 0.2;
5384
7100
  }
5385
7101
 
5386
7102
  .mc-calendar__body_disabled > .mc-calendar__body-today:not(.mc-selected) {
5387
- // todo border-color: fade-out(map-get($foreground, text), $mc-datepicker-today-fade-amount);
5388
7103
  border-color: map-get($background, background-disabled);
5389
7104
  }
5390
7105
 
@@ -5413,10 +7128,6 @@ $mc-datepicker-today-fade-amount: 0.2;
5413
7128
  @include mc-typography-level-to-styles($config, $datepicker-calendar-font-header);
5414
7129
  }
5415
7130
 
5416
- .mc-calendar__body-label {
5417
- @include mc-typography-level-to-styles($config, $datepicker-body-font-label);
5418
- }
5419
-
5420
7131
  .mc-calendar__body-today {
5421
7132
  @include mc-typography-level-to-styles($config, $datepicker-body-font-today);
5422
7133
  }
@@ -5611,6 +7322,7 @@ $mc-datepicker-today-fade-amount: 0.2;
5611
7322
  .mc-input,
5612
7323
  .mc-textarea {
5613
7324
  color: map-get($foreground, text-disabled);
7325
+ -webkit-text-fill-color: map-get($foreground, text-disabled);
5614
7326
  }
5615
7327
  }
5616
7328
  /* stylelint-enable no-descending-specificity */
@@ -6656,7 +8368,8 @@ button {
6656
8368
  border-left-color: map-get($foreground, divider);
6657
8369
  }
6658
8370
 
6659
- &[disabled] {
8371
+ &[disabled],
8372
+ &.mc-disabled {
6660
8373
  pointer-events: none;
6661
8374
 
6662
8375
  & .mc-icon {
@@ -6702,7 +8415,8 @@ button {
6702
8415
  }
6703
8416
  }
6704
8417
 
6705
- &[disabled] {
8418
+ &[disabled],
8419
+ &.mc-disabled {
6706
8420
  cursor: default;
6707
8421
 
6708
8422
  color: map-get($tabs, state-disabled-text);
@@ -6760,7 +8474,8 @@ button {
6760
8474
  }
6761
8475
  }
6762
8476
 
6763
- &[disabled] {
8477
+ &[disabled],
8478
+ &.mc-disabled {
6764
8479
  cursor: default;
6765
8480
 
6766
8481
  color: map-get($tabs, state-disabled-text);
@@ -6826,7 +8541,8 @@ button {
6826
8541
  }
6827
8542
  }
6828
8543
 
6829
- &[disabled] {
8544
+ &[disabled],
8545
+ &.mc-disabled {
6830
8546
  cursor: default;
6831
8547
  background: map-get($vertical-tabs, state-normal-background);
6832
8548
 
@@ -7584,6 +9300,7 @@ button {
7584
9300
  @include mc-badge-typography($config);
7585
9301
  @include mc-button-typography($config);
7586
9302
  @include mc-checkbox-typography($config);
9303
+ @include mc-code-block-typography($config);
7587
9304
  @include mc-datepicker-typography($config);
7588
9305
  @include mc-dropdown-typography($config);
7589
9306
  @include mc-dl-typography($config);
@@ -7870,6 +9587,7 @@ button {
7870
9587
 
7871
9588
 
7872
9589
 
9590
+
7873
9591
  @mixin mc-divider-theme($theme) {
7874
9592
  $divider: map-get(map-get($theme, components), divider);
7875
9593
 
@@ -8310,6 +10028,7 @@ button {
8310
10028
  @include mc-button-theme($theme);
8311
10029
  @include mc-card-theme($theme);
8312
10030
  @include mc-checkbox-theme($theme);
10031
+ @include mc-code-block-theme($theme);
8313
10032
  @include mc-datepicker-theme($theme);
8314
10033
  @include mc-dl-theme($theme);
8315
10034
  @include mc-divider-theme($theme);