igniteui-theming 25.0.0 → 25.0.2

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 (281) hide show
  1. package/README.md +2 -2
  2. package/dist/mcp/generators/css.js +1 -8
  3. package/dist/mcp/generators/sass.d.ts +1 -1
  4. package/dist/mcp/generators/sass.js +26 -3
  5. package/dist/mcp/index.js +3 -3
  6. package/dist/mcp/json/components/themes.json.js +17 -17
  7. package/dist/mcp/knowledge/docs/setup/platform.md.js +4 -0
  8. package/dist/mcp/knowledge/index.d.ts +1 -1
  9. package/dist/mcp/knowledge/index.js +1 -4
  10. package/dist/mcp/knowledge/platform-setup.d.ts +2 -0
  11. package/dist/mcp/knowledge/platforms/index.d.ts +8 -11
  12. package/dist/mcp/knowledge/platforms/index.js +22 -14
  13. package/dist/mcp/knowledge/platforms/react.d.ts +2 -2
  14. package/dist/mcp/knowledge/platforms/react.js +3 -3
  15. package/dist/mcp/knowledge/sass-api.d.ts +2 -2
  16. package/dist/mcp/resources/presets.d.ts +12 -0
  17. package/dist/mcp/resources/presets.js +44 -1
  18. package/dist/mcp/tools/descriptions.d.ts +8 -8
  19. package/dist/mcp/tools/descriptions.js +25 -7
  20. package/dist/mcp/tools/handlers/component-theme.js +23 -5
  21. package/dist/mcp/tools/handlers/custom-palette.js +2 -1
  22. package/dist/mcp/tools/handlers/elevations.js +2 -1
  23. package/dist/mcp/tools/handlers/layout.js +1 -1
  24. package/dist/mcp/tools/handlers/palette.js +2 -3
  25. package/dist/mcp/tools/handlers/platform.js +247 -86
  26. package/dist/mcp/tools/handlers/theme.js +3 -0
  27. package/dist/mcp/tools/handlers/typography.js +2 -1
  28. package/dist/mcp/tools/schemas.d.ts +31 -31
  29. package/dist/mcp/utils/sass.d.ts +20 -0
  30. package/dist/mcp/utils/sass.js +16 -0
  31. package/dist/mcp/utils/types.d.ts +2 -1
  32. package/dist/mcp/utils/types.js +2 -1
  33. package/json/components/bootstrap.json +1 -1
  34. package/json/components/fluent.json +1 -1
  35. package/json/components/indigo.json +1 -1
  36. package/json/components/material.json +1 -1
  37. package/json/components/themes.json +53 -28
  38. package/package.json +15 -7
  39. package/sass/animations/_easings.scss +24 -24
  40. package/sass/bem/_index.scss +16 -14
  41. package/sass/color/_charts.scss +20 -20
  42. package/sass/color/_functions.scss +18 -18
  43. package/sass/color/_mixins.scss +1 -1
  44. package/sass/elevations/_functions.scss +4 -4
  45. package/sass/elevations/_mixins.scss +2 -2
  46. package/sass/elevations/presets/_index.scss +3 -3
  47. package/sass/elevations/presets/_indigo.scss +16 -16
  48. package/sass/elevations/presets/_material.scss +3 -3
  49. package/sass/tailwind/utilities/_common.scss +1 -1
  50. package/sass/themes/_functions.scss +15 -15
  51. package/sass/themes/_mixins.scss +9 -9
  52. package/sass/themes/charts/_category-chart-theme.scss +2 -9
  53. package/sass/themes/charts/_data-chart-theme.scss +1 -1
  54. package/sass/themes/charts/_doughnut-chart-theme.scss +1 -1
  55. package/sass/themes/charts/_financial-chart-theme.scss +2 -9
  56. package/sass/themes/charts/_funnel-chart-theme.scss +1 -1
  57. package/sass/themes/charts/_gauge-theme.scss +2 -2
  58. package/sass/themes/charts/_geo-map-theme.scss +1 -1
  59. package/sass/themes/charts/_graph-theme.scss +1 -1
  60. package/sass/themes/charts/_pie-chart-theme.scss +1 -1
  61. package/sass/themes/charts/_shape-chart-theme.scss +2 -9
  62. package/sass/themes/charts/_sparkline-theme.scss +2 -2
  63. package/sass/themes/components/action-strip/_action-strip-theme.scss +1 -1
  64. package/sass/themes/components/avatar/_avatar-theme.scss +2 -2
  65. package/sass/themes/components/badge/_badge-theme.scss +2 -2
  66. package/sass/themes/components/banner/_banner-theme.scss +1 -1
  67. package/sass/themes/components/bottom-nav/_bottom-nav-theme.scss +2 -2
  68. package/sass/themes/components/button/_button-theme.scss +5 -5
  69. package/sass/themes/components/button/_contained-button-theme.scss +5 -5
  70. package/sass/themes/components/button/_fab-button-theme.scss +5 -5
  71. package/sass/themes/components/button/_flat-button-theme.scss +17 -17
  72. package/sass/themes/components/button/_outlined-button-theme.scss +17 -17
  73. package/sass/themes/components/button-group/_button-group-theme.scss +5 -5
  74. package/sass/themes/components/calendar/_calendar-theme.scss +18 -20
  75. package/sass/themes/components/card/_card-theme.scss +3 -3
  76. package/sass/themes/components/carousel/_carousel-theme.scss +8 -8
  77. package/sass/themes/components/chat/_chat-theme.scss +1 -1
  78. package/sass/themes/components/checkbox/_checkbox-theme.scss +6 -6
  79. package/sass/themes/components/chip/_chip-theme.scss +5 -5
  80. package/sass/themes/components/column-actions/_column-actions-theme.scss +1 -1
  81. package/sass/themes/components/combo/_combo-theme.scss +3 -3
  82. package/sass/themes/components/dialog/_dialog-theme.scss +4 -4
  83. package/sass/themes/components/divider/_divider-theme.scss +1 -1
  84. package/sass/themes/components/dock-manager/_dock-manager-theme.scss +1 -1
  85. package/sass/themes/components/drop-down/_drop-down-theme.scss +10 -10
  86. package/sass/themes/components/expansion-panel/_expansion-panel-theme.scss +4 -4
  87. package/sass/themes/components/grid/_grid-summary-theme.scss +3 -3
  88. package/sass/themes/components/grid/_grid-theme.scss +56 -17
  89. package/sass/themes/components/grid/_grid-toolbar-theme.scss +1 -1
  90. package/sass/themes/components/highlight/_highlight-theme.scss +1 -1
  91. package/sass/themes/components/icon/_icon-theme.scss +1 -1
  92. package/sass/themes/components/icon-button/_contained-icon-button-theme.scss +8 -8
  93. package/sass/themes/components/icon-button/_flat-icon-button-theme.scss +12 -12
  94. package/sass/themes/components/icon-button/_icon-button-theme.scss +4 -4
  95. package/sass/themes/components/icon-button/_outlined-icon-button-theme.scss +13 -13
  96. package/sass/themes/components/input/_file-input-theme.scss +1 -1
  97. package/sass/themes/components/input/_input-theme.scss +23 -23
  98. package/sass/themes/components/list/_list-theme.scss +6 -6
  99. package/sass/themes/components/navbar/_navbar-theme.scss +4 -4
  100. package/sass/themes/components/navdrawer/_navdrawer-theme.scss +3 -3
  101. package/sass/themes/components/overlay/_overlay-theme.scss +1 -1
  102. package/sass/themes/components/paginator/_paginator-theme.scss +1 -1
  103. package/sass/themes/components/progress/_circular-theme.scss +1 -1
  104. package/sass/themes/components/progress/_linear-theme.scss +1 -1
  105. package/sass/themes/components/query-builder/_query-builder-theme.scss +2 -2
  106. package/sass/themes/components/radio/_radio-theme.scss +5 -5
  107. package/sass/themes/components/rating/_rating-theme.scss +1 -1
  108. package/sass/themes/components/ripple/_ripple-theme.scss +1 -1
  109. package/sass/themes/components/scrollbar/_scrollbar-theme.scss +1 -1
  110. package/sass/themes/components/select/_select-theme.scss +1 -1
  111. package/sass/themes/components/slider/_slider-theme.scss +7 -7
  112. package/sass/themes/components/snackbar/_snackbar-theme.scss +2 -2
  113. package/sass/themes/components/splitter/_splitter-theme.scss +1 -1
  114. package/sass/themes/components/stepper/_stepper-theme.scss +2 -2
  115. package/sass/themes/components/switch/_switch-theme.scss +13 -13
  116. package/sass/themes/components/tabs/_tabs-theme.scss +8 -8
  117. package/sass/themes/components/time-picker/_time-picker-theme.scss +8 -8
  118. package/sass/themes/components/toast/_toast-theme.scss +3 -3
  119. package/sass/themes/components/tooltip/_tooltip-theme.scss +2 -2
  120. package/sass/themes/components/tree/_tree-theme.scss +17 -17
  121. package/sass/themes/components/watermark/_watermark-theme.scss +1 -1
  122. package/sass/themes/schemas/charts/dark/_category-chart.scss +5 -5
  123. package/sass/themes/schemas/charts/dark/_data-chart.scss +5 -5
  124. package/sass/themes/schemas/charts/dark/_doughnut-chart.scss +5 -5
  125. package/sass/themes/schemas/charts/dark/_financial-chart.scss +5 -5
  126. package/sass/themes/schemas/charts/dark/_funnel-chart.scss +5 -5
  127. package/sass/themes/schemas/charts/dark/_gauge.scss +9 -9
  128. package/sass/themes/schemas/charts/dark/_geo-map.scss +5 -5
  129. package/sass/themes/schemas/charts/dark/_graph.scss +5 -5
  130. package/sass/themes/schemas/charts/dark/_pie-chart.scss +5 -5
  131. package/sass/themes/schemas/charts/dark/_shape-chart.scss +5 -5
  132. package/sass/themes/schemas/charts/dark/_sparkline.scss +5 -5
  133. package/sass/themes/schemas/charts/light/_category-chart.scss +8 -8
  134. package/sass/themes/schemas/charts/light/_data-chart.scss +8 -8
  135. package/sass/themes/schemas/charts/light/_doughnut-chart.scss +8 -8
  136. package/sass/themes/schemas/charts/light/_financial-chart.scss +8 -8
  137. package/sass/themes/schemas/charts/light/_funnel-chart.scss +8 -8
  138. package/sass/themes/schemas/charts/light/_gauge.scss +19 -19
  139. package/sass/themes/schemas/charts/light/_geo-map.scss +8 -8
  140. package/sass/themes/schemas/charts/light/_graph.scss +8 -8
  141. package/sass/themes/schemas/charts/light/_pie-chart.scss +8 -8
  142. package/sass/themes/schemas/charts/light/_shape-chart.scss +8 -8
  143. package/sass/themes/schemas/charts/light/_sparkline.scss +9 -9
  144. package/sass/themes/schemas/components/dark/_action-strip.scss +5 -5
  145. package/sass/themes/schemas/components/dark/_avatar.scss +5 -5
  146. package/sass/themes/schemas/components/dark/_badge.scss +5 -5
  147. package/sass/themes/schemas/components/dark/_banner.scss +5 -5
  148. package/sass/themes/schemas/components/dark/_bottom-nav.scss +5 -5
  149. package/sass/themes/schemas/components/dark/_button-group.scss +6 -6
  150. package/sass/themes/schemas/components/dark/_button.scss +65 -65
  151. package/sass/themes/schemas/components/dark/_calendar.scss +24 -24
  152. package/sass/themes/schemas/components/dark/_card.scss +5 -5
  153. package/sass/themes/schemas/components/dark/_carousel.scss +5 -5
  154. package/sass/themes/schemas/components/dark/_chat.scss +5 -5
  155. package/sass/themes/schemas/components/dark/_checkbox.scss +5 -5
  156. package/sass/themes/schemas/components/dark/_chip.scss +7 -7
  157. package/sass/themes/schemas/components/dark/_column-actions.scss +5 -5
  158. package/sass/themes/schemas/components/dark/_combo.scss +6 -6
  159. package/sass/themes/schemas/components/dark/_date-picker.scss +8 -8
  160. package/sass/themes/schemas/components/dark/_date-range-picker.scss +5 -5
  161. package/sass/themes/schemas/components/dark/_dialog.scss +5 -5
  162. package/sass/themes/schemas/components/dark/_divider.scss +5 -5
  163. package/sass/themes/schemas/components/dark/_dock-manager.scss +5 -5
  164. package/sass/themes/schemas/components/dark/_drop-down.scss +5 -5
  165. package/sass/themes/schemas/components/dark/_expansion-panel.scss +5 -5
  166. package/sass/themes/schemas/components/dark/_file-input.scss +5 -5
  167. package/sass/themes/schemas/components/dark/_grid-filtering.scss +5 -5
  168. package/sass/themes/schemas/components/dark/_grid-summary.scss +9 -9
  169. package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
  170. package/sass/themes/schemas/components/dark/_grid.scss +57 -14
  171. package/sass/themes/schemas/components/dark/_highlight.scss +7 -7
  172. package/sass/themes/schemas/components/dark/_icon-button.scss +46 -46
  173. package/sass/themes/schemas/components/dark/_icon.scss +5 -5
  174. package/sass/themes/schemas/components/dark/_input-group.scss +6 -6
  175. package/sass/themes/schemas/components/dark/_label.scss +5 -5
  176. package/sass/themes/schemas/components/dark/_list.scss +5 -5
  177. package/sass/themes/schemas/components/dark/_navbar.scss +5 -5
  178. package/sass/themes/schemas/components/dark/_navdrawer.scss +5 -5
  179. package/sass/themes/schemas/components/dark/_overlay.scss +5 -5
  180. package/sass/themes/schemas/components/dark/_pagination.scss +5 -5
  181. package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +9 -9
  182. package/sass/themes/schemas/components/dark/_progress.scss +10 -10
  183. package/sass/themes/schemas/components/dark/_query-builder.scss +3 -3
  184. package/sass/themes/schemas/components/dark/_radio.scss +5 -5
  185. package/sass/themes/schemas/components/dark/_rating.scss +5 -5
  186. package/sass/themes/schemas/components/dark/_resize-indicator.scss +9 -9
  187. package/sass/themes/schemas/components/dark/_ripple.scss +5 -5
  188. package/sass/themes/schemas/components/dark/_scrollbar.scss +5 -5
  189. package/sass/themes/schemas/components/dark/_select.scss +5 -5
  190. package/sass/themes/schemas/components/dark/_slider.scss +5 -5
  191. package/sass/themes/schemas/components/dark/_snackbar.scss +6 -6
  192. package/sass/themes/schemas/components/dark/_splitter.scss +13 -7
  193. package/sass/themes/schemas/components/dark/_stepper.scss +5 -5
  194. package/sass/themes/schemas/components/dark/_switch.scss +5 -5
  195. package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
  196. package/sass/themes/schemas/components/dark/_tile-manager.scss +11 -11
  197. package/sass/themes/schemas/components/dark/_time-picker.scss +5 -5
  198. package/sass/themes/schemas/components/dark/_toast.scss +4 -4
  199. package/sass/themes/schemas/components/dark/_tooltip.scss +7 -7
  200. package/sass/themes/schemas/components/dark/_tree.scss +5 -5
  201. package/sass/themes/schemas/components/dark/_validator.scss +5 -5
  202. package/sass/themes/schemas/components/dark/_watermark.scss +5 -5
  203. package/sass/themes/schemas/components/dark/calendar/_base.scss +9 -9
  204. package/sass/themes/schemas/components/dark/calendar/_days-view.scss +11 -11
  205. package/sass/themes/schemas/components/dark/calendar/_picker.scss +8 -8
  206. package/sass/themes/schemas/components/dark/calendar/_year-month-view.scss +11 -11
  207. package/sass/themes/schemas/components/elevation/_button-group.scss +3 -3
  208. package/sass/themes/schemas/components/elevation/_carousel.scss +2 -2
  209. package/sass/themes/schemas/components/light/_action-strip.scss +9 -9
  210. package/sass/themes/schemas/components/light/_avatar.scss +9 -9
  211. package/sass/themes/schemas/components/light/_badge.scss +12 -12
  212. package/sass/themes/schemas/components/light/_banner.scss +9 -9
  213. package/sass/themes/schemas/components/light/_bottom-nav.scss +12 -12
  214. package/sass/themes/schemas/components/light/_button-group.scss +14 -14
  215. package/sass/themes/schemas/components/light/_button.scss +103 -103
  216. package/sass/themes/schemas/components/light/_calendar.scss +28 -28
  217. package/sass/themes/schemas/components/light/_card.scss +14 -42
  218. package/sass/themes/schemas/components/light/_carousel.scss +12 -12
  219. package/sass/themes/schemas/components/light/_chat.scss +9 -9
  220. package/sass/themes/schemas/components/light/_checkbox.scss +9 -9
  221. package/sass/themes/schemas/components/light/_chip.scss +27 -27
  222. package/sass/themes/schemas/components/light/_column-actions.scss +9 -9
  223. package/sass/themes/schemas/components/light/_combo.scss +11 -11
  224. package/sass/themes/schemas/components/light/_date-picker.scss +8 -8
  225. package/sass/themes/schemas/components/light/_date-range-picker.scss +9 -9
  226. package/sass/themes/schemas/components/light/_dialog.scss +14 -23
  227. package/sass/themes/schemas/components/light/_divider.scss +7 -7
  228. package/sass/themes/schemas/components/light/_dock-manager.scss +9 -9
  229. package/sass/themes/schemas/components/light/_drop-down.scss +16 -24
  230. package/sass/themes/schemas/components/light/_expansion-panel.scss +12 -24
  231. package/sass/themes/schemas/components/light/_file-input.scss +1 -1
  232. package/sass/themes/schemas/components/light/_grid-filtering.scss +9 -9
  233. package/sass/themes/schemas/components/light/_grid-summary.scss +13 -26
  234. package/sass/themes/schemas/components/light/_grid-toolbar.scss +9 -9
  235. package/sass/themes/schemas/components/light/_grid.scss +162 -68
  236. package/sass/themes/schemas/components/light/_highlight.scss +10 -10
  237. package/sass/themes/schemas/components/light/_icon-button.scss +48 -48
  238. package/sass/themes/schemas/components/light/_icon.scss +9 -9
  239. package/sass/themes/schemas/components/light/_input-group.scss +17 -26
  240. package/sass/themes/schemas/components/light/_label.scss +8 -8
  241. package/sass/themes/schemas/components/light/_list.scss +13 -33
  242. package/sass/themes/schemas/components/light/_navbar.scss +12 -12
  243. package/sass/themes/schemas/components/light/_navdrawer.scss +14 -26
  244. package/sass/themes/schemas/components/light/_overlay.scss +9 -9
  245. package/sass/themes/schemas/components/light/_pagination.scss +9 -9
  246. package/sass/themes/schemas/components/light/_pivot-data-selector.scss +9 -9
  247. package/sass/themes/schemas/components/light/_progress.scss +13 -13
  248. package/sass/themes/schemas/components/light/_query-builder.scss +10 -10
  249. package/sass/themes/schemas/components/light/_radio.scss +9 -9
  250. package/sass/themes/schemas/components/light/_rating.scss +9 -9
  251. package/sass/themes/schemas/components/light/_resize-indicator.scss +8 -8
  252. package/sass/themes/schemas/components/light/_ripple.scss +9 -9
  253. package/sass/themes/schemas/components/light/_scrollbar.scss +9 -9
  254. package/sass/themes/schemas/components/light/_select.scss +9 -9
  255. package/sass/themes/schemas/components/light/_slider.scss +11 -17
  256. package/sass/themes/schemas/components/light/_snackbar.scss +9 -9
  257. package/sass/themes/schemas/components/light/_splitter.scss +9 -9
  258. package/sass/themes/schemas/components/light/_stepper.scss +8 -8
  259. package/sass/themes/schemas/components/light/_switch.scss +9 -9
  260. package/sass/themes/schemas/components/light/_tabs.scss +9 -9
  261. package/sass/themes/schemas/components/light/_tile-manager.scss +10 -10
  262. package/sass/themes/schemas/components/light/_time-picker.scss +10 -19
  263. package/sass/themes/schemas/components/light/_toast.scss +11 -11
  264. package/sass/themes/schemas/components/light/_tooltip.scss +10 -10
  265. package/sass/themes/schemas/components/light/_tree.scss +8 -8
  266. package/sass/themes/schemas/components/light/_validator.scss +9 -9
  267. package/sass/themes/schemas/components/light/_watermark.scss +9 -9
  268. package/sass/themes/schemas/components/light/calendar/_base.scss +9 -29
  269. package/sass/themes/schemas/components/light/calendar/_days-view.scss +8 -17
  270. package/sass/themes/schemas/components/light/calendar/_picker.scss +9 -17
  271. package/sass/themes/schemas/components/light/calendar/_year-month-view.scss +9 -17
  272. package/sass/typography/_functions.scss +14 -14
  273. package/sass/typography/_mixins.scss +7 -7
  274. package/sass/utils/_css.scss +1 -1
  275. package/sass/utils/_map.scss +5 -5
  276. package/sass/utils/_math.scss +6 -5
  277. package/sass/utils/_meta.scss +4 -4
  278. package/tailwind/utilities/bootstrap.css +1 -1
  279. package/tailwind/utilities/fluent.css +1 -1
  280. package/tailwind/utilities/indigo.css +1 -1
  281. package/tailwind/utilities/material.css +1 -1
@@ -56,7 +56,7 @@
56
56
  /// @param {String} $y-axis-title-alignment [null] - Sets Horizontal alignment of the Y-axis title.
57
57
  /// @param {Color} $y-axis-title-color [null] - Sets color of title on the Y-axis.
58
58
  /// @param {List} $y-axis-title-margin [null] - Sets the margin around the title on the Y-axis.
59
- /// @requires extend
59
+ /// @requires {function} extend
60
60
  ///
61
61
  /// @example scss
62
62
  /// $my-chart-theme: shape-chart-theme($brushes: (orange, blue, pink));
@@ -216,14 +216,7 @@
216
216
  /// category from the typographic scale.
217
217
  /// @group typography
218
218
  /// @param {Map} $type-scale - A typographic scale as produced by igx-type-scale.
219
- /// @param {Map} $categories [(
220
- /// 'title': 'h6',
221
- /// 'subtitle': 'subtitle-1,
222
- /// 'x-axis-label-text-style': 'h4',
223
- /// 'y-axis-label-text-style': 'h4',
224
- /// 'x-axis-title-text-style': 'h3',
225
- /// 'y-axis-title-text-style': 'h3',
226
- /// )] - The categories from the typographic scale used for type styles.
219
+ /// @param {Map} $categories - The categories from the typographic scale used for type styles.
227
220
  /// @requires {mixin} type-style
228
221
  @mixin shape-chart-typography(
229
222
  $type-scale,
@@ -29,13 +29,13 @@
29
29
  /// @param {Number} $high-marker-size [null] - Sets the high marker size of the sparkline.
30
30
  /// @param {Color} $negative-brush [null] - Sets the negative brush of the sparkline.
31
31
  /// @param {Color} $negative-marker-brush [null] - Sets the negative marker brush of the sparkline.
32
- /// @param {Number} $negative marker-size [null] - Sets the negative marker size of the sparkline.
32
+ /// @param {Number} $negative-marker-size [null] - Sets the negative marker size of the sparkline.
33
33
  /// @param {Color} $trend-line-brush [null] - Sets the trendline brush of the sparkline.
34
34
  /// @param {Color} $trend-line-thickness [null] - Sets the thickness of the sparkline's trendline.
35
35
  /// @param {Color} $horizontal-axis-brush [null] - Sets the horizontal axis line brush of the sparkline.
36
36
  /// @param {Color} $vertical-axis-brush [null] - Sets the vertical axis line brush of the sparkline.
37
37
  /// @param {Color} $normal-range-fill [null] - Sets the normal range brush of the sparkline.
38
- /// @requires extend
38
+ /// @requires {function} extend
39
39
  ///
40
40
  /// @example scss
41
41
  /// $my-sparkline-theme: sparkline-theme($brushes: (orange, blue, pink));
@@ -27,7 +27,7 @@
27
27
  /// @param {Color} $delete-action [null] - The color used for the delete icon in action strip component.
28
28
  /// @param {List} $actions-border-radius [null] - The border radius used for actions container inside action strip component.
29
29
  ///
30
- /// @example scss Change the background and icon colors in action strip
30
+ /// @example scss - Change the background and icon colors in action strip
31
31
  /// $my-action-strip-theme: action-strip-theme($background: black);
32
32
  /// // Pass the theme to the css-vars() mixin
33
33
  /// @include css-vars($my-action-strip-theme);
@@ -27,9 +27,9 @@
27
27
  /// @param {Color} $icon-color [null] - The icon color used of the avatar. Auto-derived from background.
28
28
  /// @param {Number} $border-radius [null] - The border-radius used of the avatar.
29
29
  /// @param {Number} $size [null] - The size of the avatar.
30
- /// @requires $light-material-schema
30
+ /// @requires {variable} $light-material-schema
31
31
  ///
32
- /// @example scss Change the background and icon colors in icon avatars
32
+ /// @example scss - Change the background and icon colors in icon avatars
33
33
  /// $my-avatar-theme: avatar-theme($icon-background: black, $icon-color: white);
34
34
  /// // Pass the theme to the css-vars() mixin
35
35
  /// @include css-vars($my-avatar-theme);
@@ -26,13 +26,13 @@
26
26
  /// @param {Color} $text-color [null] - The text color used. Auto-derived from background-color.
27
27
  /// @param {Color} $border-color [null] - The border color used.
28
28
  /// @param {Color} $background-color [null] - The background color used. PRIMARY - derives icon-color and text-color.
29
- /// @param {box-shadow} $shadow [null] - Sets a shadow to be used for the badge.
29
+ /// @param {List} $shadow [null] - Sets a shadow to be used for the badge.
30
30
  /// @param {Number} $border-radius [null] - The border radius used for badge component.
31
31
  /// @param {Number} $size [null] - The size of the badge component.
32
32
  /// @param {Number} $dot-size [null] - The size of the dot type badge.
33
33
  /// @requires $light-material-schema
34
34
  ///
35
- /// @example scss Change the text and icon colors in a badge
35
+ /// @example scss - Change the text and icon colors in a badge
36
36
  /// $my-badge-theme: badge-theme($icon-color: black, $background-color: white);
37
37
  /// // Pass the theme to the css-vars() mixin
38
38
  /// @include css-vars($my-badge-theme);
@@ -29,7 +29,7 @@
29
29
  ///
30
30
  /// @requires $light-material-schema
31
31
  ///
32
- /// @example scss Change the background in banner
32
+ /// @example scss - Change the background in banner
33
33
  /// $my-banner-theme: banner-theme($banner-background: #000);
34
34
  /// // Pass the theme to the css-vars() mixin
35
35
  /// @include css-vars($my-banner-theme);
@@ -32,9 +32,9 @@
32
32
  /// @param {Color} $icon-disabled-color [null] - The disabled color of the icon. Auto-derived from label-disabled-color if not set.
33
33
  /// @param {Color} $label-disabled-color [null] - The disabled color of the label. Auto-derived from label-color.
34
34
  /// @param {Color} $border-color [null] - The border color of the bottom navigation.
35
- /// @param {box-shadow} $shadow [null] - Sets a shadow to be used for the bar.
35
+ /// @param {List | Number} $shadow [null] - Sets a shadow to be used for the bar.
36
36
  /// @requires $light-material-schema
37
- /// @example scss Set a custom background color
37
+ /// @example scss - Set a custom background color
38
38
  /// $my-bottom-nav-theme: bottom-nav-theme($background: black);
39
39
  /// // Pass the theme to the css-vars() mixin
40
40
  /// @include css-vars($my-bottom-nav-theme);
@@ -61,17 +61,17 @@
61
61
  ///
62
62
  /// @requires $light-material-schema
63
63
  ///
64
- /// @example scss Change the background and text colors in contained buttons
64
+ /// @example scss - Change the background and text colors in contained buttons
65
65
  /// $my-button-theme: button-theme(
66
66
  /// $foreground: white,
67
67
  /// $background: black
68
68
  /// );
69
69
  /// // Pass the theme to the css-vars() mixin
70
70
  /// @include css-vars($my-button-theme);
71
- /// @see flat-button-theme
72
- /// @see contained-button-theme
73
- /// @see outlined-button-theme
74
- /// @see fab-button-theme
71
+ /// @see {function} flat-button-theme
72
+ /// @see {function} contained-button-theme
73
+ /// @see {function} outlined-button-theme
74
+ /// @see {function} fab-button-theme
75
75
  @function button-theme(
76
76
  $schema: $light-material-schema,
77
77
 
@@ -55,7 +55,7 @@
55
55
  ///
56
56
  /// @requires $light-material-schema
57
57
  ///
58
- /// @example scss Change the background and text colors in contained buttons
58
+ /// @example scss - Change the background and text colors in contained buttons
59
59
  /// $my-button-theme: contained-button-theme(
60
60
  /// $foreground: white,
61
61
  /// $background: black
@@ -232,11 +232,11 @@
232
232
 
233
233
  @if $variant == 'bootstrap' or $variant == 'indigo' {
234
234
  @if not($shadow-color) and $focus-visible-background {
235
- $shadow-color: hsla(from var(--focus-visible-background) h s l / 0.5);
235
+ $shadow-color: hsl(from var(--focus-visible-background) h s l / 0.5);
236
236
  }
237
237
 
238
238
  @if not($disabled-background) and $background {
239
- $disabled-background: hsla(from var(--background) h s l / 0.5);
239
+ $disabled-background: hsl(from var(--background) h s l / 0.5);
240
240
  }
241
241
 
242
242
  @if not($disabled-icon-color) and $disabled-foreground {
@@ -244,11 +244,11 @@
244
244
  }
245
245
 
246
246
  @if not($disabled-foreground) and $disabled-background {
247
- $disabled-foreground: hsla(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
247
+ $disabled-foreground: hsl(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
248
248
  }
249
249
 
250
250
  @if not($disabled-icon-color) and $disabled-background {
251
- $disabled-icon-color: hsla(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
251
+ $disabled-icon-color: hsl(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
252
252
  }
253
253
  }
254
254
 
@@ -56,7 +56,7 @@
56
56
  ///
57
57
  /// @requires $light-material-schema
58
58
  ///
59
- /// @example scss Change the background and text colors in fab buttons
59
+ /// @example scss - Change the background and text colors in fab buttons
60
60
  /// $my-button-theme: fab-button-theme(
61
61
  /// $foreground: white,
62
62
  /// $background: black
@@ -209,11 +209,11 @@
209
209
 
210
210
  @if $variant == 'bootstrap' or $variant == 'indigo' {
211
211
  @if not($shadow-color) and $focus-visible-background {
212
- $shadow-color: hsla(from var(--focus-visible-background) h s l / 0.5);
212
+ $shadow-color: hsl(from var(--focus-visible-background) h s l / 0.5);
213
213
  }
214
214
 
215
215
  @if not($disabled-background) and $background {
216
- $disabled-background: hsla(from var(--background) h s l / 0.5);
216
+ $disabled-background: hsl(from var(--background) h s l / 0.5);
217
217
  }
218
218
 
219
219
  @if not($disabled-icon-color) and $disabled-foreground {
@@ -221,11 +221,11 @@
221
221
  }
222
222
 
223
223
  @if not($disabled-foreground) and $disabled-background {
224
- $disabled-foreground: hsla(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
224
+ $disabled-foreground: hsl(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
225
225
  }
226
226
 
227
227
  @if not($disabled-icon-color) and $disabled-background {
228
- $disabled-icon-color: hsla(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
228
+ $disabled-icon-color: hsl(from adaptive-contrast(var(--disabled-background)) h s l / 0.5);
229
229
  }
230
230
  }
231
231
 
@@ -53,7 +53,7 @@
53
53
  ///
54
54
  /// @requires $light-material-schema
55
55
  ///
56
- /// @example scss Change the text colors in flat buttons
56
+ /// @example scss - Change the text colors in flat buttons
57
57
  /// $my-button-theme: flat-button-theme(
58
58
  /// $foreground: black,
59
59
  /// );
@@ -152,23 +152,23 @@
152
152
 
153
153
  @if $variant == 'material' or $variant == 'fluent' {
154
154
  @if not($hover-background) and $foreground {
155
- $hover-background: hsla(from var(--foreground) h s l / 0.08);
155
+ $hover-background: hsl(from var(--foreground) h s l / 0.08);
156
156
  }
157
157
 
158
158
  @if not($focus-background) and $foreground {
159
- $focus-background: hsla(from var(--foreground) h s l / 0.32);
159
+ $focus-background: hsl(from var(--foreground) h s l / 0.32);
160
160
  }
161
161
 
162
162
  @if not($focus-hover-background) and $foreground {
163
- $focus-hover-background: hsla(from var(--foreground) h s l / 0.24);
163
+ $focus-hover-background: hsl(from var(--foreground) h s l / 0.24);
164
164
  }
165
165
 
166
166
  @if not($active-background) and $foreground {
167
- $active-background: hsla(from var(--foreground) h s l / 0.16);
167
+ $active-background: hsl(from var(--foreground) h s l / 0.16);
168
168
  }
169
169
 
170
170
  @if not($hover-foreground) and $hover-background {
171
- $hover-foreground: hsla(from var(--hover-background) h s l / 1);
171
+ $hover-foreground: hsl(from var(--hover-background) h s l / 1);
172
172
  }
173
173
 
174
174
  @if not($icon-color-hover) and $hover-foreground {
@@ -176,24 +176,24 @@
176
176
  }
177
177
 
178
178
  @if not($focus-foreground) and $focus-background {
179
- $focus-foreground: hsla(from var(--focus-background) h s l / 1);
179
+ $focus-foreground: hsl(from var(--focus-background) h s l / 1);
180
180
  }
181
181
 
182
182
  @if not($focus-hover-foreground) and $focus-hover-background {
183
- $focus-hover-foreground: hsla(from var(--focus-hover-background) h s l / 1);
183
+ $focus-hover-foreground: hsl(from var(--focus-hover-background) h s l / 1);
184
184
  }
185
185
 
186
186
  @if not($active-foreground) and $active-background {
187
- $active-foreground: hsla(from var(--active-background) h s l / 1);
187
+ $active-foreground: hsl(from var(--active-background) h s l / 1);
188
188
  }
189
189
 
190
190
  @if $variant == 'material' {
191
191
  @if not($focus-visible-background) and $foreground {
192
- $focus-visible-background: hsla(from var(--foreground) h s l / 0.16);
192
+ $focus-visible-background: hsl(from var(--foreground) h s l / 0.16);
193
193
  }
194
194
 
195
195
  @if not($focus-visible-foreground) and $focus-visible-background {
196
- $focus-visible-foreground: hsla(from var(--focus-visible-background) h s l / 1);
196
+ $focus-visible-foreground: hsl(from var(--focus-visible-background) h s l / 1);
197
197
  }
198
198
  } @else {
199
199
  @if not($focus-visible-foreground) and $focus-foreground {
@@ -210,19 +210,19 @@
210
210
 
211
211
  @if $variant == 'indigo' {
212
212
  @if not($hover-background) and $foreground {
213
- $hover-background: hsla(from var(--foreground) h s l / 0.08);
213
+ $hover-background: hsl(from var(--foreground) h s l / 0.08);
214
214
  }
215
215
 
216
216
  @if not($focus-background) and $foreground {
217
- $focus-background: hsla(from var(--foreground) h s l / 0.08);
217
+ $focus-background: hsl(from var(--foreground) h s l / 0.08);
218
218
  }
219
219
 
220
220
  @if not($focus-hover-background) and $foreground {
221
- $focus-hover-background: hsla(from var(--foreground) h s l / 0.08);
221
+ $focus-hover-background: hsl(from var(--foreground) h s l / 0.08);
222
222
  }
223
223
 
224
224
  @if not($active-background) and $foreground {
225
- $active-background: hsla(from var(--foreground) h s l / 0.08);
225
+ $active-background: hsl(from var(--foreground) h s l / 0.08);
226
226
  }
227
227
  }
228
228
 
@@ -267,7 +267,7 @@
267
267
  }
268
268
 
269
269
  @if not($shadow-color) and $focus-visible-foreground {
270
- $shadow-color: hsla(from var(--focus-visible-foreground) h s l / 0.5);
270
+ $shadow-color: hsl(from var(--focus-visible-foreground) h s l / 0.5);
271
271
  }
272
272
  } @else {
273
273
  @if not($active-foreground) and $foreground {
@@ -275,7 +275,7 @@
275
275
  }
276
276
 
277
277
  @if not($shadow-color) and $focus-visible-foreground {
278
- $shadow-color: hsla(from var(--focus-visible-foreground) h s l / 0.2);
278
+ $shadow-color: hsl(from var(--focus-visible-foreground) h s l / 0.2);
279
279
  }
280
280
  }
281
281
  }
@@ -53,7 +53,7 @@
53
53
  ///
54
54
  /// @requires $light-material-schema
55
55
  ///
56
- /// @example scss Change the text colors in outlined buttons
56
+ /// @example scss - Change the text colors in outlined buttons
57
57
  /// $my-button-theme: outlined-button-theme(
58
58
  /// $foreground: black,
59
59
  /// );
@@ -152,44 +152,44 @@
152
152
 
153
153
  @if $variant == 'material' or $variant == 'fluent' {
154
154
  @if not($hover-background) and $foreground {
155
- $hover-background: hsla(from var(--foreground) h s l / 0.08);
155
+ $hover-background: hsl(from var(--foreground) h s l / 0.08);
156
156
  }
157
157
 
158
158
  @if not($focus-background) and $foreground {
159
- $focus-background: hsla(from var(--foreground) h s l / 0.32);
159
+ $focus-background: hsl(from var(--foreground) h s l / 0.32);
160
160
  }
161
161
 
162
162
  @if not($focus-hover-background) and $foreground {
163
- $focus-hover-background: hsla(from var(--foreground) h s l / 0.24);
163
+ $focus-hover-background: hsl(from var(--foreground) h s l / 0.24);
164
164
  }
165
165
 
166
166
  @if not($active-background) and $foreground {
167
- $active-background: hsla(from var(--foreground) h s l / 0.16);
167
+ $active-background: hsl(from var(--foreground) h s l / 0.16);
168
168
  }
169
169
 
170
170
  @if not($hover-foreground) and $hover-background {
171
- $hover-foreground: hsla(from var(--hover-background) h s l / 1);
171
+ $hover-foreground: hsl(from var(--hover-background) h s l / 1);
172
172
  }
173
173
 
174
174
  @if not($focus-foreground) and $focus-background {
175
- $focus-foreground: hsla(from var(--focus-background) h s l / 1);
175
+ $focus-foreground: hsl(from var(--focus-background) h s l / 1);
176
176
  }
177
177
 
178
178
  @if not($focus-hover-foreground) and $focus-hover-background {
179
- $focus-hover-foreground: hsla(from var(--focus-hover-background) h s l / 1);
179
+ $focus-hover-foreground: hsl(from var(--focus-hover-background) h s l / 1);
180
180
  }
181
181
 
182
182
  @if not($active-foreground) and $active-background {
183
- $active-foreground: hsla(from var(--active-background) h s l / 1);
183
+ $active-foreground: hsl(from var(--active-background) h s l / 1);
184
184
  }
185
185
 
186
186
  @if $variant == 'material' {
187
187
  @if not($focus-visible-background) and $foreground {
188
- $focus-visible-background: hsla(from var(--foreground) h s l / 0.16);
188
+ $focus-visible-background: hsl(from var(--foreground) h s l / 0.16);
189
189
  }
190
190
 
191
191
  @if not($focus-visible-foreground) and $focus-visible-background {
192
- $focus-visible-foreground: hsla(from var(--focus-visible-background) h s l / 1);
192
+ $focus-visible-foreground: hsl(from var(--focus-visible-background) h s l / 1);
193
193
  }
194
194
  } @else {
195
195
  @if not($focus-visible-foreground) and $focus-foreground {
@@ -206,19 +206,19 @@
206
206
 
207
207
  @if $variant == 'indigo' {
208
208
  @if not($hover-background) and $foreground {
209
- $hover-background: hsla(from var(--foreground) h s l / 0.08);
209
+ $hover-background: hsl(from var(--foreground) h s l / 0.08);
210
210
  }
211
211
 
212
212
  @if not($focus-background) and $foreground {
213
- $focus-background: hsla(from var(--foreground) h s l / 0.08);
213
+ $focus-background: hsl(from var(--foreground) h s l / 0.08);
214
214
  }
215
215
 
216
216
  @if not($focus-hover-background) and $foreground {
217
- $focus-hover-background: hsla(from var(--foreground) h s l / 0.08);
217
+ $focus-hover-background: hsl(from var(--foreground) h s l / 0.08);
218
218
  }
219
219
 
220
220
  @if not($active-background) and $foreground {
221
- $active-background: hsla(from var(--foreground) h s l / 0.08);
221
+ $active-background: hsl(from var(--foreground) h s l / 0.08);
222
222
  }
223
223
 
224
224
  @if not($hover-foreground) and $foreground {
@@ -242,7 +242,7 @@
242
242
  }
243
243
 
244
244
  @if not($shadow-color) and $focus-visible-foreground {
245
- $shadow-color: hsla(from var(--focus-visible-foreground) h s l / 0.2);
245
+ $shadow-color: hsl(from var(--focus-visible-foreground) h s l / 0.2);
246
246
  }
247
247
  }
248
248
 
@@ -316,7 +316,7 @@
316
316
  }
317
317
 
318
318
  @if not($shadow-color) and $focus-visible-background {
319
- $shadow-color: hsla(from var(--focus-visible-background) h s l / 0.5);
319
+ $shadow-color: hsl(from var(--focus-visible-background) h s l / 0.5);
320
320
  }
321
321
  }
322
322
 
@@ -22,7 +22,7 @@
22
22
  /// Derived colors are auto-calculated for contrast.
23
23
  ///
24
24
  /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
25
- /// @param {box-shadow} $shadow [null] - The shadow to be applied for the button group.
25
+ /// @param {List} $shadow [null] - The shadow to be applied for the button group.
26
26
  /// @param {Color} $item-text-color [null]- The text color for button group items. Auto-derived from item-background.
27
27
  /// @param {color} $item-icon-color [null]- The icon color for button group items. Auto-derived from item-text-color.
28
28
  /// @param {Color} $item-background [null] - The background color for button group items. PRIMARY - derives all state colors.
@@ -65,7 +65,7 @@
65
65
  ///
66
66
  /// @requires $light-material-schema
67
67
  ///
68
- /// @example scss Change the background, text, and border colors
68
+ /// @example scss - Change the background, text, and border colors
69
69
  /// $my-button-group-theme: button-group-theme(
70
70
  /// $item-text-color: white,
71
71
  /// $item-background: rgba(0, 0, 0, .8),
@@ -162,7 +162,7 @@
162
162
  }
163
163
 
164
164
  @if not($disabled-selected-background) and $item-selected-background {
165
- $disabled-selected-background: hsla(from var(--item-selected-background) h s l / 0.3);
165
+ $disabled-selected-background: hsl(from var(--item-selected-background) h s l / 0.3);
166
166
  }
167
167
 
168
168
  // border colors
@@ -232,7 +232,7 @@
232
232
  }
233
233
 
234
234
  @if not($disabled-text-color) and $disabled-background-color {
235
- $disabled-text-color: hsla(from adaptive-contrast(var(--disabled-background-color)) h s l / 0.4);
235
+ $disabled-text-color: hsl(from adaptive-contrast(var(--disabled-background-color)) h s l / 0.4);
236
236
  }
237
237
 
238
238
  @if not($disabled-selected-text-color) and $disabled-text-color {
@@ -240,7 +240,7 @@
240
240
  }
241
241
 
242
242
  @if not($idle-shadow-color) and $item-background {
243
- $idle-shadow-color: hsla(from var(--item-background) h s l / 0.5);
243
+ $idle-shadow-color: hsl(from var(--item-background) h s l / 0.5);
244
244
  }
245
245
 
246
246
  @if not($idle-shadow-color) and $selected-shadow-color {
@@ -153,7 +153,7 @@
153
153
  /// @param {Color} $date-disabled-range-foreground [null] - Foreground for disabled dates in selected range.
154
154
  /// @requires $light-material-schema
155
155
  ///
156
- /// @example scss Change the header and content background colors
156
+ /// @example scss - Change the header and content background colors
157
157
  /// $my-calendar-theme: calendar-theme(
158
158
  /// $header-background: purple,
159
159
  /// $content-background: black
@@ -403,7 +403,7 @@
403
403
  }
404
404
 
405
405
  @if not($inactive-color) and $content-background {
406
- $inactive-color: hsla(from adaptive-contrast(var(--content-background)) h s l / 0.5);
406
+ $inactive-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.5);
407
407
  }
408
408
 
409
409
  @if not($weekday-color) and $inactive-color {
@@ -411,11 +411,11 @@
411
411
  }
412
412
 
413
413
  @if not($week-number-background) and $content-background {
414
- $week-number-background: hsla(from var(--content-background) h s calc(l * 0.8));
414
+ $week-number-background: hsl(from var(--content-background) h s calc(l * 0.8));
415
415
  }
416
416
 
417
417
  @if not($week-number-foreground) and $week-number-background {
418
- $week-number-foreground: hsla(from adaptive-contrast(var(--week-number-background)) h s l / 0.5);
418
+ $week-number-foreground: hsl(from adaptive-contrast(var(--week-number-background)) h s l / 0.5);
419
419
  }
420
420
 
421
421
  // base end
@@ -427,7 +427,7 @@
427
427
  }
428
428
 
429
429
  @if not($weekday-color) and $header-background {
430
- $weekday-color: hsla(from adaptive-contrast(var(--header-background)) h s l / 0.8);
430
+ $weekday-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.8);
431
431
  }
432
432
 
433
433
  @if not($week-number-foreground) and not($week-number-background) and $header-background {
@@ -450,7 +450,7 @@
450
450
  }
451
451
 
452
452
  @if not($picker-hover-foreground) and $picker-background {
453
- $picker-hover-foreground: hsla(from adaptive-contrast(var(--picker-background)) h s l / 0.8);
453
+ $picker-hover-foreground: hsl(from adaptive-contrast(var(--picker-background)) h s l / 0.8);
454
454
  }
455
455
 
456
456
  @if not($picker-focus-foreground) and $picker-hover-foreground {
@@ -501,11 +501,11 @@
501
501
  // date current start
502
502
  @if $variant == 'indigo' {
503
503
  @if not($date-current-background) and $header-background {
504
- $date-current-background: hsla(from var(--header-background) h s l / 0.4);
504
+ $date-current-background: hsl(from var(--header-background) h s l / 0.4);
505
505
  }
506
506
 
507
507
  @if not($date-current-border-color) and $date-current-background {
508
- $date-current-border-color: hsla(from var(--date-current-background) h s l / 0.6);
508
+ $date-current-border-color: hsl(from var(--date-current-background) h s l / 0.6);
509
509
  }
510
510
 
511
511
  @if not($date-current-hover-background) and $date-current-background {
@@ -961,7 +961,7 @@
961
961
  }
962
962
  } @else {
963
963
  @if not($ym-selected-background) and $header-background {
964
- $ym-selected-background: hsla(from var(--header-background) h s l / 0.3);
964
+ $ym-selected-background: hsl(from var(--header-background) h s l / 0.3);
965
965
  }
966
966
 
967
967
  @if not($ym-current-background) and $date-selected-background {
@@ -973,7 +973,7 @@
973
973
  }
974
974
 
975
975
  @if not($ym-selected-hover-background) and $ym-selected-background {
976
- $ym-selected-hover-background: hsla(from dynamic-shade(var(--ym-selected-background)) h s l / 0.5);
976
+ $ym-selected-hover-background: hsl(from dynamic-shade(var(--ym-selected-background)) h s l / 0.5);
977
977
  }
978
978
 
979
979
  @if not($ym-selected-current-outline-color) and $ym-selected-current-foreground {
@@ -1062,11 +1062,11 @@
1062
1062
  }
1063
1063
  } @else {
1064
1064
  @if not($date-selected-range-background) and $date-selected-background {
1065
- $date-selected-range-background: hsla(from var(--date-selected-background) h s l / 0.24);
1065
+ $date-selected-range-background: hsl(from var(--date-selected-background) h s l / 0.24);
1066
1066
  }
1067
1067
 
1068
1068
  @if not($date-range-preview-border-color) and $date-selected-background {
1069
- $date-range-preview-border-color: hsla(from var(--date-selected-background) h s l / 0.5);
1069
+ $date-range-preview-border-color: hsl(from var(--date-selected-background) h s l / 0.5);
1070
1070
  }
1071
1071
 
1072
1072
  @if not($date-selected-current-range-hover-foreground) and $date-selected-current-range-hover-background {
@@ -1102,25 +1102,23 @@
1102
1102
 
1103
1103
  @if not($date-selected-range-hover-foreground) and $date-selected-range-hover-background {
1104
1104
  $date-selected-range-hover-foreground: adaptive-contrast(
1105
- hsla(from var(--date-selected-range-hover-background) h s l / 1)
1105
+ hsl(from var(--date-selected-range-hover-background) h s l / 1)
1106
1106
  );
1107
1107
  }
1108
1108
 
1109
1109
  @if not($date-selected-range-focus-foreground) and $date-selected-range-focus-background {
1110
1110
  $date-selected-range-focus-foreground: adaptive-contrast(
1111
- hsla(from var(--date-selected-range-focus-background) h s l / 1)
1111
+ hsl(from var(--date-selected-range-focus-background) h s l / 1)
1112
1112
  );
1113
1113
  }
1114
1114
 
1115
1115
  @if $variant == 'indigo' {
1116
1116
  @if not($date-selected-current-range-background) and $date-selected-background {
1117
- $date-selected-current-range-background: hsla(
1118
- from var(--date-selected-background) h s calc(l * 0.9) / 0.12
1119
- );
1117
+ $date-selected-current-range-background: hsl(from var(--date-selected-background) h s calc(l * 0.9) / 0.12);
1120
1118
  }
1121
1119
 
1122
1120
  @if not($date-selected-current-range-hover-background) and $date-selected-background {
1123
- $date-selected-current-range-hover-background: hsla(
1121
+ $date-selected-current-range-hover-background: hsl(
1124
1122
  from var(--date-selected-background) h s calc(l * 0.9) / 0.24
1125
1123
  );
1126
1124
  }
@@ -1153,11 +1151,11 @@
1153
1151
  // date range end
1154
1152
 
1155
1153
  @if not($date-disabled-foreground) and $content-background {
1156
- $date-disabled-foreground: hsla(from adaptive-contrast(var(--content-background)) h s l / 0.3);
1154
+ $date-disabled-foreground: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.3);
1157
1155
  }
1158
1156
 
1159
1157
  @if not($date-disabled-range-foreground) and $date-selected-range-background {
1160
- $date-disabled-range-foreground: hsla(from adaptive-contrast(var(--content-background)) h s l / 0.3);
1158
+ $date-disabled-range-foreground: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.3);
1161
1159
  }
1162
1160
 
1163
1161
  // Selected + special
@@ -28,13 +28,13 @@
28
28
  /// @param {Color} $subtitle-text-color [null] - The text color of the card subtitle. Auto-derived from background (muted).
29
29
  /// @param {Color} $content-text-color [null] - The text color of the card content. Auto-derived from background (muted).
30
30
  /// @param {Color} $actions-text-color [null] - The text color of the card buttons. Auto-derived from background.
31
- /// @param {box-shadow} $resting-shadow [null] - The shadow of the card in its resting state.
32
- /// @param {box-shadow} $hover-shadow [null] - The shadow of the card in its hover state.
31
+ /// @param {List} $resting-shadow [null] - The shadow of the card in its resting state.
32
+ /// @param {List} $hover-shadow [null] - The shadow of the card in its hover state.
33
33
  /// @param {List} $border-radius [null] - The border radius used for card component.
34
34
  ///
35
35
  /// @requires $light-material-schema
36
36
  ///
37
- /// @example scss Change the background and content text colors in card
37
+ /// @example scss - Change the background and content text colors in card
38
38
  /// $my-card-theme: card-theme($background: #fff);
39
39
  /// // Pass the theme to the css-vars() mixin
40
40
  /// @include css-vars($my-card-theme);