igniteui-theming 5.0.0-beta.2 → 5.0.0-beta.4

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 (119) hide show
  1. package/json/colors/presets/palettes.json +1 -1
  2. package/json/typography/presets/typescales.json +1 -1
  3. package/package.json +1 -1
  4. package/sass/color/_functions.scss +8 -4
  5. package/sass/color/presets/dark/_indigo.scss +216 -18
  6. package/sass/color/presets/light/_indigo.scss +216 -18
  7. package/sass/themes/schemas/components/dark/_action-strip.scss +3 -3
  8. package/sass/themes/schemas/components/dark/_avatar.scss +15 -4
  9. package/sass/themes/schemas/components/dark/_badge.scss +3 -3
  10. package/sass/themes/schemas/components/dark/_banner.scss +3 -3
  11. package/sass/themes/schemas/components/dark/_bottom-nav.scss +8 -17
  12. package/sass/themes/schemas/components/dark/_button-group.scss +233 -43
  13. package/sass/themes/schemas/components/dark/_button.scss +404 -244
  14. package/sass/themes/schemas/components/dark/_calendar.scss +178 -240
  15. package/sass/themes/schemas/components/dark/_card.scss +42 -29
  16. package/sass/themes/schemas/components/dark/_carousel.scss +3 -3
  17. package/sass/themes/schemas/components/dark/_checkbox.scss +51 -24
  18. package/sass/themes/schemas/components/dark/_chip.scss +6 -6
  19. package/sass/themes/schemas/components/dark/_column-actions.scss +6 -6
  20. package/sass/themes/schemas/components/dark/_combo.scss +3 -3
  21. package/sass/themes/schemas/components/dark/_date-range-picker.scss +3 -3
  22. package/sass/themes/schemas/components/dark/_dialog.scss +15 -4
  23. package/sass/themes/schemas/components/dark/_divider.scss +3 -3
  24. package/sass/themes/schemas/components/dark/_dock-manager.scss +6 -0
  25. package/sass/themes/schemas/components/dark/_drop-down.scss +3 -3
  26. package/sass/themes/schemas/components/dark/_expansion-panel.scss +3 -3
  27. package/sass/themes/schemas/components/dark/_grid-filtering.scss +3 -3
  28. package/sass/themes/schemas/components/dark/_grid-summary.scss +3 -3
  29. package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
  30. package/sass/themes/schemas/components/dark/_grid.scss +4 -20
  31. package/sass/themes/schemas/components/dark/_highlight.scss +6 -0
  32. package/sass/themes/schemas/components/dark/_icon-button.scss +257 -30
  33. package/sass/themes/schemas/components/dark/_icon.scss +6 -6
  34. package/sass/themes/schemas/components/dark/_index.scss +53 -53
  35. package/sass/themes/schemas/components/dark/_input-group.scss +144 -50
  36. package/sass/themes/schemas/components/dark/_label.scss +3 -3
  37. package/sass/themes/schemas/components/dark/_list.scss +8 -9
  38. package/sass/themes/schemas/components/dark/_navbar.scss +3 -3
  39. package/sass/themes/schemas/components/dark/_navdrawer.scss +6 -3
  40. package/sass/themes/schemas/components/dark/_overlay.scss +3 -3
  41. package/sass/themes/schemas/components/dark/_pagination.scss +6 -6
  42. package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +6 -5
  43. package/sass/themes/schemas/components/dark/_progress.scss +14 -10
  44. package/sass/themes/schemas/components/dark/_query-builder.scss +7 -7
  45. package/sass/themes/schemas/components/dark/_radio.scss +100 -41
  46. package/sass/themes/schemas/components/dark/_rating.scss +3 -3
  47. package/sass/themes/schemas/components/dark/_ripple.scss +3 -3
  48. package/sass/themes/schemas/components/dark/_scrollbar.scss +4 -5
  49. package/sass/themes/schemas/components/dark/_select.scss +3 -3
  50. package/sass/themes/schemas/components/dark/_slider.scss +3 -3
  51. package/sass/themes/schemas/components/dark/_snackbar.scss +3 -3
  52. package/sass/themes/schemas/components/dark/_splitter.scss +2 -2
  53. package/sass/themes/schemas/components/dark/_stepper.scss +4 -4
  54. package/sass/themes/schemas/components/dark/_switch.scss +5 -14
  55. package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
  56. package/sass/themes/schemas/components/dark/_time-picker.scss +3 -3
  57. package/sass/themes/schemas/components/dark/_toast.scss +6 -4
  58. package/sass/themes/schemas/components/dark/_tooltip.scss +3 -4
  59. package/sass/themes/schemas/components/dark/_tree.scss +6 -33
  60. package/sass/themes/schemas/components/dark/_watermark.scss +16 -26
  61. package/sass/themes/schemas/components/elevation/_button.scss +2 -2
  62. package/sass/themes/schemas/components/elevation/_input-group.scss +6 -6
  63. package/sass/themes/schemas/components/light/_action-strip.scss +9 -0
  64. package/sass/themes/schemas/components/light/_avatar.scss +34 -3
  65. package/sass/themes/schemas/components/light/_badge.scss +5 -0
  66. package/sass/themes/schemas/components/light/_banner.scss +5 -0
  67. package/sass/themes/schemas/components/light/_bottom-nav.scss +5 -0
  68. package/sass/themes/schemas/components/light/_button-group.scss +502 -90
  69. package/sass/themes/schemas/components/light/_button.scss +677 -548
  70. package/sass/themes/schemas/components/light/_calendar.scss +672 -2033
  71. package/sass/themes/schemas/components/light/_card.scss +33 -32
  72. package/sass/themes/schemas/components/light/_carousel.scss +7 -0
  73. package/sass/themes/schemas/components/light/_checkbox.scss +82 -58
  74. package/sass/themes/schemas/components/light/_chip.scss +63 -77
  75. package/sass/themes/schemas/components/light/_column-actions.scss +5 -0
  76. package/sass/themes/schemas/components/light/_combo.scss +31 -36
  77. package/sass/themes/schemas/components/light/_date-range-picker.scss +5 -0
  78. package/sass/themes/schemas/components/light/_dialog.scss +13 -2
  79. package/sass/themes/schemas/components/light/_divider.scss +5 -0
  80. package/sass/themes/schemas/components/light/_dock-manager.scss +68 -97
  81. package/sass/themes/schemas/components/light/_drop-down.scss +68 -89
  82. package/sass/themes/schemas/components/light/_expansion-panel.scss +5 -0
  83. package/sass/themes/schemas/components/light/_grid-filtering.scss +6 -9
  84. package/sass/themes/schemas/components/light/_grid-summary.scss +5 -0
  85. package/sass/themes/schemas/components/light/_grid-toolbar.scss +5 -0
  86. package/sass/themes/schemas/components/light/_grid.scss +98 -171
  87. package/sass/themes/schemas/components/light/_highlight.scss +5 -0
  88. package/sass/themes/schemas/components/light/_icon-button.scss +199 -131
  89. package/sass/themes/schemas/components/light/_icon.scss +12 -0
  90. package/sass/themes/schemas/components/light/_index.scss +53 -53
  91. package/sass/themes/schemas/components/light/_input-group.scss +106 -142
  92. package/sass/themes/schemas/components/light/_label.scss +9 -11
  93. package/sass/themes/schemas/components/light/_list.scss +6 -1
  94. package/sass/themes/schemas/components/light/_navbar.scss +24 -1
  95. package/sass/themes/schemas/components/light/_navdrawer.scss +18 -2
  96. package/sass/themes/schemas/components/light/_overlay.scss +6 -1
  97. package/sass/themes/schemas/components/light/_pagination.scss +7 -2
  98. package/sass/themes/schemas/components/light/_pivot-data-selector.scss +6 -1
  99. package/sass/themes/schemas/components/light/_progress.scss +14 -42
  100. package/sass/themes/schemas/components/light/_query-builder.scss +10 -11
  101. package/sass/themes/schemas/components/light/_radio.scss +100 -74
  102. package/sass/themes/schemas/components/light/_rating.scss +22 -42
  103. package/sass/themes/schemas/components/light/_ripple.scss +6 -1
  104. package/sass/themes/schemas/components/light/_scrollbar.scss +6 -12
  105. package/sass/themes/schemas/components/light/_select.scss +20 -18
  106. package/sass/themes/schemas/components/light/_slider.scss +65 -68
  107. package/sass/themes/schemas/components/light/_snackbar.scss +6 -6
  108. package/sass/themes/schemas/components/light/_splitter.scss +6 -2
  109. package/sass/themes/schemas/components/light/_stepper.scss +74 -141
  110. package/sass/themes/schemas/components/light/_switch.scss +101 -141
  111. package/sass/themes/schemas/components/light/_tabs.scss +19 -36
  112. package/sass/themes/schemas/components/light/_time-picker.scss +11 -4
  113. package/sass/themes/schemas/components/light/_toast.scss +6 -1
  114. package/sass/themes/schemas/components/light/_tooltip.scss +6 -1
  115. package/sass/themes/schemas/components/light/_tree.scss +49 -73
  116. package/sass/themes/schemas/components/light/_watermark.scss +6 -1
  117. package/sass/typography/presets/_fluent.scss +1 -1
  118. package/sass/typography/presets/_indigo.scss +59 -41
  119. package/sass/utils/_map.scss +40 -0
@@ -1 +1 @@
1
- {"dark-bootstrap-palette":{"primary":"#0d6efd","secondary":"#6c757d","gray":"#adb5bd","surface":"#212529","info":"#0dcaf0","success":"#198754","warn":"#ffc107","error":"#dc3545"},"dark-green-palette":{"primary":"#09f","secondary":"#72da67","surface":"#222","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"dark-purple-palette":{"primary":"#00b4d6","secondary":"#514590","surface":"#333","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"dark-fluent-palette":{"primary":"#0078d4","secondary":"#2b88d8","surface":"#222","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"dark-fluent-word-palette":{"primary":"#2b579a","secondary":"#2b579a","surface":"#222","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"dark-fluent-excel-palette":{"primary":"#217346","secondary":"#217346","surface":"#222","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"dark-indigo-palette":{"primary":"#3f51b5","secondary":"#3f51b5","gray":"hsl(262deg 8% 98%)","surface":"#2a2b2f","info":"#9208bc","success":"#689f38","warn":"#ff9800","error":"#cf1a2b"},"dark-material-palette":{"primary":"#09f","secondary":"#e41c77","surface":"#222","info":"#1377d5","success":"#4eb862","warn":"#faa419","error":"#ff134a"},"light-bootstrap-palette":{"primary":"#0d6efd","secondary":"#6c757d","gray":"#adb5bd","surface":"#f8f9fa","info":"#0dcaf0","success":"#198754","warn":"#ffc107","error":"#dc3545"},"light-green-palette":{"primary":"#09f","secondary":"#72da67","surface":"#fff","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"light-purple-palette":{"primary":"#00b4d6","secondary":"#514590","surface":"#fff","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"light-fluent-palette":{"primary":"#0078d4","secondary":"#2b88d8","surface":"#fff","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"light-fluent-word-palette":{"primary":"#2b579a","secondary":"#2b579a","surface":"#fff","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"light-fluent-excel-palette":{"primary":"#217346","secondary":"#217346","surface":"#fff","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"light-indigo-palette":{"primary":"#3f51b5","secondary":"#3f51b5","gray":"hsl(236deg 8% 5%)","surface":"#fff","info":"#9208bc","success":"#689f38","warn":"#ff9800","error":"#cf1a2b"},"light-material-palette":{"primary":"#09f","secondary":"#e41c77","surface":"white","info":"#1377d5","success":"#4eb862","warn":"#faa419","error":"#ff134a"}}
1
+ {"dark-bootstrap-palette":{"primary":"#0d6efd","secondary":"#6c757d","gray":"#adb5bd","surface":"#212529","info":"#0dcaf0","success":"#198754","warn":"#ffc107","error":"#dc3545"},"dark-green-palette":{"primary":"#09f","secondary":"#72da67","surface":"#222","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"dark-purple-palette":{"primary":"#00b4d6","secondary":"#514590","surface":"#333","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"dark-fluent-palette":{"primary":"#0078d4","secondary":"#2b88d8","surface":"#222","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"dark-fluent-word-palette":{"primary":"#2b579a","secondary":"#2b579a","surface":"#222","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"dark-fluent-excel-palette":{"primary":"#217346","secondary":"#217346","surface":"#222","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"dark-indigo-palette":{"100":"to-hsl(#ffb0b7)","200":"to-hsl(#fc7f8a)","300":"to-hsl(#ec5461)","400":"to-hsl(#dd3544)","500":"to-hsl(#cf1a2b)","600":"to-hsl(#c31223)","700":"to-hsl(#b90415)","800":"to-hsl(#ae0111)","900":"to-hsl(#9f000f)","primary":"( 50: to-hsl(#c5cdff)","50-contrast":"black","100-contrast":"black","200-contrast":"black","300-contrast":"black","400-contrast":"black","500-contrast":"white","600-contrast":"white","700-contrast":"white","800-contrast":"white","900-contrast":"white","A100":"to-hsl(#c31223)","A100-contrast":"white","A200":"to-hsl(#b90415)","A200-contrast":"white","A400":"to-hsl(#ae0111)","A400-contrast":"white","A700":"to-hsl(#9f000f)","A700-contrast":"white","secondary":"( 50: to-hsl(#c5cdff)","gray":"( 50: to-hsl(#24252c)","info":"( 50: to-hsl(#f1c3ff)","success":"( 50: to-hsl(#edf3e7)","warn":"( 50: to-hsl(#fed7b7)","error":"( 50: to-hsl(#ffebf0)","surface":"( 500: to-hsl(#1e1e1e)"},"dark-material-palette":{"primary":"#09f","secondary":"#e41c77","surface":"#222","info":"#1377d5","success":"#4eb862","warn":"#faa419","error":"#ff134a"},"light-bootstrap-palette":{"primary":"#0d6efd","secondary":"#6c757d","gray":"#adb5bd","surface":"#f8f9fa","info":"#0dcaf0","success":"#198754","warn":"#ffc107","error":"#dc3545"},"light-green-palette":{"primary":"#09f","secondary":"#72da67","surface":"#fff","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"light-purple-palette":{"primary":"#00b4d6","secondary":"#514590","surface":"#fff","info":"#1377d5","success":"#4eb862","warn":"#fbb13c","error":"#ff134a"},"light-fluent-palette":{"primary":"#0078d4","secondary":"#2b88d8","surface":"#fff","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"light-fluent-word-palette":{"primary":"#2b579a","secondary":"#2b579a","surface":"#fff","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"light-fluent-excel-palette":{"primary":"#217346","secondary":"#217346","surface":"#fff","info":"#1377d5","success":"#107c10","warn":"#797673","error":"#a80000"},"light-indigo-palette":{"100":"to-hsl(#ffb0b7)","200":"to-hsl(#fc7f8a)","300":"to-hsl(#ec5461)","400":"to-hsl(#dd3544)","500":"to-hsl(#cf1a2b)","600":"to-hsl(#c31223)","700":"to-hsl(#b90415)","800":"to-hsl(#ae0111)","900":"to-hsl(#9f000f)","primary":"( 50: to-hsl(#c5cdff)","50-contrast":"black","100-contrast":"black","200-contrast":"black","300-contrast":"black","400-contrast":"black","500-contrast":"black","600-contrast":"white","700-contrast":"white","800-contrast":"white","900-contrast":"white","A100":"to-hsl(#c31223)","A100-contrast":"white","A200":"to-hsl(#b90415)","A200-contrast":"white","A400":"to-hsl(#ae0111)","A400-contrast":"white","A700":"to-hsl(#9f000f)","A700-contrast":"white","secondary":"( 50: to-hsl(#c5cdff)","gray":"( 50: to-hsl(#fcfcfd)","info":"( 50: to-hsl(#f1c3ff)","success":"( 50: to-hsl(#edf3e7)","warn":"( 50: to-hsl(#fed7b7)","error":"( 50: to-hsl(#ffebf0)","surface":"( 500: to-hsl(#f8f8fa)"},"light-material-palette":{"primary":"#09f","secondary":"#e41c77","surface":"white","info":"#1377d5","success":"#4eb862","warn":"#faa419","error":"#ff134a"}}
@@ -1 +1 @@
1
- {"bootstrap":{"typeface":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'","h1":{"font-size":"2.5rem","font-weight":"500","letter-spacing":"-0.09375rem","line-height":"3rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h2":{"font-size":"2rem","font-weight":"500","letter-spacing":"-0.03125rem","line-height":"2.4rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h3":{"font-size":"1.75rem","font-weight":"500","letter-spacing":"0","line-height":"2.1rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h4":{"font-size":"1.5rem","font-weight":"500","letter-spacing":"0.015625rem","line-height":"1.8rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h5":{"font-size":"1.25rem","font-weight":"500","letter-spacing":"0","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h6":{"font-size":"1rem","font-weight":"500","letter-spacing":"0.009375rem","line-height":"1.2rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"body-1":{"font-size":"1rem","font-weight":"400","letter-spacing":"0.03125rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-2":{"font-size":"0.9rem","font-weight":"400","letter-spacing":"0.015625rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-1":{"font-size":"0.875rem","font-weight":"400","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-2":{"font-size":"0.9rem","font-weight":"400","letter-spacing":"0.00625rem","line-height":"1.35rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"button":{"font-size":"1rem","font-weight":"500","letter-spacing":"0.046875rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"caption":{"font-size":"0.75rem","font-weight":"400","letter-spacing":"0.025rem","line-height":"1rem","text-transform":"none"},"overline":{"font-size":"0.625rem","font-weight":"400","letter-spacing":"0.09375rem","line-height":"1rem","text-transform":"uppercase"},"bootstrap_weekday":{"font-size":"0.8125rem","font-weight":"400","line-height":"normal","text-transform":"none","margin-top":"0","margin-bottom":"0"}},"fluent":{"typeface":"'Open Sans', Helvetica, Arial, sans-serif","h1":{"font-size":"4.25rem","font-weight":"700","letter-spacing":"-0.09375rem","line-height":"4.75rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h2":{"font-size":"2.625rem","font-weight":"700","letter-spacing":"-0.03125rem","line-height":"3.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h3":{"font-size":"2rem","font-weight":"600","letter-spacing":"0","line-height":"2.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h4":{"font-size":"1.75rem","font-weight":"400","letter-spacing":"0.015625rem","line-height":"2.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h5":{"font-size":"1.5rem","font-weight":"400","letter-spacing":"0","line-height":"2rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h6":{"font-size":"1.25rem","font-weight":"400","letter-spacing":"0.009375rem","line-height":"1.75rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-1":{"font-size":"1rem","font-weight":"400","letter-spacing":"0.03125rem","line-height":"1.375rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-2":{"font-size":"0.875rem","font-weight":"400","letter-spacing":"0.015625rem","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-1":{"font-size":"1.125rem","font-weight":"400","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-2":{"font-size":"0.875rem","font-weight":"600","letter-spacing":"0.00625rem","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"button":{"font-size":"0.875rem","font-weight":"400","letter-spacing":"0.046875rem","line-height":"0.875rem","text-transform":"capitalize","margin-top":"0","margin-bottom":"0"},"caption":{"font-size":"0.75rem","font-weight":"400","font-style":"normal","letter-spacing":"0.025rem","line-height":"1rem","text-transform":"none"},"overline":{"font-size":"0.625rem","font-weight":"400","letter-spacing":"0.09375rem","line-height":"0.875rem","text-transform":"uppercase","margin-top":"0","margin-bottom":"0"}},"indigo":{"typeface":"'Nunito Sans', sans-serif","h1":{"font-size":"6rem","font-weight":"200","letter-spacing":"-0.09375rem","line-height":"7rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h2":{"font-size":"3.75rem","font-weight":"200","letter-spacing":"-0.03125rem","line-height":"4.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h3":{"font-size":"3rem","font-weight":"200","letter-spacing":"0","line-height":"3.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h4":{"font-size":"2.25rem","font-weight":"200","letter-spacing":"0.015625rem","line-height":"2.625rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h5":{"font-size":"1.5rem","font-weight":"200","letter-spacing":"0","line-height":"1.75rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h6":{"font-size":"1.25rem","font-weight":"600","letter-spacing":"0.009375rem","line-height":"1.625rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-1":{"font-size":"1rem","font-weight":"400","letter-spacing":"0.03125rem","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-2":{"font-size":"0.875rem","font-weight":"400","letter-spacing":"0.015625rem","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-1":{"font-size":"1rem","font-weight":"600","letter-spacing":"0.009375rem","line-height":"1.375rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-2":{"font-size":"0.875rem","font-weight":"700","letter-spacing":"0.00625rem","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"button":{"font-size":"0.75rem","font-weight":"700","letter-spacing":"0.046875rem","line-height":"normal","text-transform":"uppercase","margin-top":"0","margin-bottom":"0"},"caption":{"font-size":"0.75rem","font-weight":"400","letter-spacing":"0.025rem","line-height":"1rem","text-transform":"normal","margin-top":"0","margin-bottom":"0"},"overline":{"font-size":"0.625rem","font-weight":"700","letter-spacing":"0.0125rem","line-height":"0.875rem","text-transform":"uppercase","margin-top":"0","margin-bottom":"0"}},"material":{"typeface":"'Titillium Web', sans-serif","h1":{"font-size":"6rem","font-weight":"300","font-style":"normal","letter-spacing":"-0.09375rem","line-height":"7rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"3.5rem"},"h2":{"font-size":"3.75rem","font-weight":"300","font-style":"normal","letter-spacing":"-0.03125rem","line-height":"4.4375rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"1.75rem"},"h3":{"font-size":"3rem","font-weight":"400","font-style":"normal","letter-spacing":"0","line-height":"3.5625rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"0"},"h4":{"font-size":"2.125rem","font-weight":"400","font-style":"normal","letter-spacing":"0.015625rem","line-height":"2.5rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"0"},"h5":{"font-size":"1.5rem","font-weight":"400","font-style":"normal","letter-spacing":"0","line-height":"1.75rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"0"},"h6":{"font-size":"1.25rem","font-weight":"600","font-style":"normal","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-1":{"font-size":"1rem","font-weight":"400","font-style":"normal","letter-spacing":"0.03125rem","line-height":"1.75rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"1rem"},"body-2":{"font-size":"0.875rem","font-weight":"400","font-style":"normal","letter-spacing":"0.015625rem","line-height":"1.25rem","text-transform":"none"},"subtitle-1":{"font-size":"1rem","font-weight":"400","font-style":"normal","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none"},"subtitle-2":{"font-size":"0.875rem","font-weight":"600","font-style":"normal","letter-spacing":"0.00625rem","line-height":"1.5rem","text-transform":"none"},"button":{"font-size":"0.875rem","font-weight":"600","font-style":"normal","letter-spacing":"0.046875rem","line-height":"1rem","text-transform":"uppercase"},"caption":{"font-size":"0.75rem","font-weight":"400","font-style":"normal","letter-spacing":"0.025rem","line-height":"1rem","text-transform":"none"},"overline":{"font-size":"0.625rem","font-weight":"400","font-style":"normal","letter-spacing":"0.09375rem","line-height":"1rem","text-transform":"uppercase"}}}
1
+ {"bootstrap":{"typeface":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'","h1":{"font-size":"2.5rem","font-weight":"500","letter-spacing":"-0.09375rem","line-height":"3rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h2":{"font-size":"2rem","font-weight":"500","letter-spacing":"-0.03125rem","line-height":"2.4rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h3":{"font-size":"1.75rem","font-weight":"500","letter-spacing":"0","line-height":"2.1rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h4":{"font-size":"1.5rem","font-weight":"500","letter-spacing":"0.015625rem","line-height":"1.8rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h5":{"font-size":"1.25rem","font-weight":"500","letter-spacing":"0","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"h6":{"font-size":"1rem","font-weight":"500","letter-spacing":"0.009375rem","line-height":"1.2rem","text-transform":"none","margin-top":"0","margin-bottom":"0.5rem"},"body-1":{"font-size":"1rem","font-weight":"400","letter-spacing":"0.03125rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-2":{"font-size":"0.9rem","font-weight":"400","letter-spacing":"0.015625rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-1":{"font-size":"0.875rem","font-weight":"400","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-2":{"font-size":"0.9rem","font-weight":"400","letter-spacing":"0.00625rem","line-height":"1.35rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"button":{"font-size":"1rem","font-weight":"500","letter-spacing":"0.046875rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"caption":{"font-size":"0.75rem","font-weight":"400","letter-spacing":"0.025rem","line-height":"1rem","text-transform":"none"},"overline":{"font-size":"0.625rem","font-weight":"400","letter-spacing":"0.09375rem","line-height":"1rem","text-transform":"uppercase"},"bootstrap_weekday":{"font-size":"0.8125rem","font-weight":"400","line-height":"normal","text-transform":"none","margin-top":"0","margin-bottom":"0"}},"fluent":{"typeface":"'Open Sans', Helvetica, Arial, sans-serif","h1":{"font-size":"4.25rem","font-weight":"700","letter-spacing":"-0.09375rem","line-height":"4.75rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h2":{"font-size":"2.625rem","font-weight":"700","letter-spacing":"-0.03125rem","line-height":"3.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h3":{"font-size":"2rem","font-weight":"600","letter-spacing":"0","line-height":"2.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h4":{"font-size":"1.75rem","font-weight":"400","letter-spacing":"0.015625rem","line-height":"2.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h5":{"font-size":"1.5rem","font-weight":"400","letter-spacing":"0","line-height":"2rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h6":{"font-size":"1.25rem","font-weight":"400","letter-spacing":"0.009375rem","line-height":"1.75rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-1":{"font-size":"1rem","font-weight":"400","letter-spacing":"0.03125rem","line-height":"1.375rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-2":{"font-size":"0.875rem","font-weight":"400","letter-spacing":"0.015625rem","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-1":{"font-size":"1.125rem","font-weight":"400","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-2":{"font-size":"0.875rem","font-weight":"600","letter-spacing":"0.00625rem","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"button":{"font-size":"0.875rem","font-weight":"600","letter-spacing":"0.046875rem","line-height":"0.875rem","text-transform":"capitalize","margin-top":"0","margin-bottom":"0"},"caption":{"font-size":"0.75rem","font-weight":"400","font-style":"normal","letter-spacing":"0.025rem","line-height":"1rem","text-transform":"none"},"overline":{"font-size":"0.625rem","font-weight":"400","letter-spacing":"0.09375rem","line-height":"0.875rem","text-transform":"uppercase","margin-top":"0","margin-bottom":"0"}},"indigo":{"typeface":"'Nunito Sans', sans-serif","h1":{"font-size":"2.25rem","font-weight":"300","letter-spacing":"0","line-height":"2.625rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h2":{"font-size":"1.75rem","font-weight":"400","letter-spacing":"0","line-height":"2.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h3":{"font-size":"1.5rem","font-weight":"400","letter-spacing":"0","line-height":"2rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h4":{"font-size":"1.25rem","font-weight":"600","letter-spacing":"0","line-height":"1.625rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h5":{"font-size":"1rem","font-weight":"600","letter-spacing":"0","line-height":"1.375rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"h6":{"font-size":"0.875rem","font-weight":"600","letter-spacing":"0","line-height":"1.25rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-1":{"font-size":"0.8125rem","font-weight":"400","letter-spacing":"0","line-height":"1.125rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-2":{"font-size":"0.75rem","font-weight":"400","letter-spacing":"0","line-height":"1rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-1":{"font-size":"0.8125rem","font-weight":"600","letter-spacing":"0","line-height":"1.125rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"subtitle-2":{"font-size":"0.75rem","font-weight":"600","letter-spacing":"0","line-height":"1rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"button":{"font-size":"0.6875rem","font-weight":"700","letter-spacing":"0","line-height":"0.9375rem","text-transform":"uppercase","margin-top":"0","margin-bottom":"0"},"caption":{"font-size":"0.6875rem","font-weight":"400","letter-spacing":"0","line-height":"0.9375rem","text-transform":"normal","margin-top":"0","margin-bottom":"0"},"overline":{"font-size":"0.625rem","font-weight":"700","letter-spacing":"0","line-height":"0.875rem","text-transform":"uppercase","margin-top":"0","margin-bottom":"0"},"detail-1":{"font-size":"0.75rem","font-weight":"400","letter-spacing":"0","line-height":"1rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"detail-2":{"font-size":"0.75rem","font-weight":"600","letter-spacing":"0","line-height":"1rem","text-transform":"none","margin-top":"0","margin-bottom":"0"}},"material":{"typeface":"'Titillium Web', sans-serif","h1":{"font-size":"6rem","font-weight":"300","font-style":"normal","letter-spacing":"-0.09375rem","line-height":"7rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"3.5rem"},"h2":{"font-size":"3.75rem","font-weight":"300","font-style":"normal","letter-spacing":"-0.03125rem","line-height":"4.4375rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"1.75rem"},"h3":{"font-size":"3rem","font-weight":"400","font-style":"normal","letter-spacing":"0","line-height":"3.5625rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"0"},"h4":{"font-size":"2.125rem","font-weight":"400","font-style":"normal","letter-spacing":"0.015625rem","line-height":"2.5rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"0"},"h5":{"font-size":"1.5rem","font-weight":"400","font-style":"normal","letter-spacing":"0","line-height":"1.75rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"0"},"h6":{"font-size":"1.25rem","font-weight":"600","font-style":"normal","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none","margin-top":"0","margin-bottom":"0"},"body-1":{"font-size":"1rem","font-weight":"400","font-style":"normal","letter-spacing":"0.03125rem","line-height":"1.75rem","text-transform":"none","margin-top":"1.75rem","margin-bottom":"1rem"},"body-2":{"font-size":"0.875rem","font-weight":"400","font-style":"normal","letter-spacing":"0.015625rem","line-height":"1.25rem","text-transform":"none"},"subtitle-1":{"font-size":"1rem","font-weight":"400","font-style":"normal","letter-spacing":"0.009375rem","line-height":"1.5rem","text-transform":"none"},"subtitle-2":{"font-size":"0.875rem","font-weight":"600","font-style":"normal","letter-spacing":"0.00625rem","line-height":"1.5rem","text-transform":"none"},"button":{"font-size":"0.875rem","font-weight":"600","font-style":"normal","letter-spacing":"0.046875rem","line-height":"1rem","text-transform":"uppercase"},"caption":{"font-size":"0.75rem","font-weight":"400","font-style":"normal","letter-spacing":"0.025rem","line-height":"1rem","text-transform":"none"},"overline":{"font-size":"0.625rem","font-weight":"400","font-style":"normal","letter-spacing":"0.09375rem","line-height":"1rem","text-transform":"uppercase"}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "5.0.0-beta.2",
3
+ "version": "5.0.0-beta.4",
4
4
  "description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -177,12 +177,15 @@ $_enhanced-accessibility: false;
177
177
  $s: #{var(--ig-#{$color}-#{$variant})};
178
178
  $contrast: if(meta.type-of($variant) == string, string.index($variant, 'contrast'), false);
179
179
  $meta: if($palette, map.get($palette, '_meta'), null);
180
+ $_alpha: if($opacity, $opacity, 1);
181
+ $_hsl-alpha: hsla($s, if($opacity, $opacity, $a));
182
+ $_mix-alpha: color-mix(in oklch, $s #{$_alpha * 100%}, transparent);
180
183
 
181
184
  @if not($palette) or not($meta) {
182
- @return if($contrast, $s, hsla($s, if($opacity, $opacity, $a)));
185
+ @return if($contrast, $_mix-alpha, $_hsl-alpha);
183
186
  }
184
187
 
185
- @return rgba(map.get($c, $variant), $alpha: if($opacity, $opacity, 1));
188
+ @return rgba(map.get($c, $variant), $alpha: $_alpha);
186
189
  }
187
190
 
188
191
  /// Retrieves a contrast text color for a given color variant from a color palette.
@@ -191,6 +194,7 @@ $_enhanced-accessibility: false;
191
194
  /// @param {Map} $palette [null] - The source palette map (optional).
192
195
  /// @param {String} $color [primary] - The target color from the color palette.
193
196
  /// @param {Number | String} $variant [500] - The target color shade from the color palette.
197
+ /// @param {Number} $opacity [null] - Optional opacity to apply to the color shade.
194
198
  /// @requires {function} color
195
199
  /// @returns {Color | String} - The raw contrast color shade or CSS variable from the palette.
196
200
  /// @example scss without passing a palette
@@ -198,8 +202,8 @@ $_enhanced-accessibility: false;
198
202
  /// background: color($color: 'primary', $variant: 200);
199
203
  /// color: contrast-color($color: 'primary', $variant: 200);
200
204
  /// }
201
- @function contrast-color($palette: null, $color: primary, $variant: 500) {
202
- @return color($palette, $color, #{$variant}-contrast);
205
+ @function contrast-color($palette: null, $color: primary, $variant: 500, $opacity: null) {
206
+ @return color($palette, $color, #{$variant}-contrast, $opacity);
203
207
  }
204
208
 
205
209
  /// Returns a contrast color for a passed color.
@@ -12,22 +12,220 @@
12
12
  /// Generates the dark indigo palette.
13
13
  /// @type Map
14
14
  /// @name dark-indigo-palette
15
- /// @prop {Color} primary [#3f51b5] - The primary color
16
- /// @prop {Color} secondary [#3f51b5] - The secondary color
17
- /// @prop {Color} gray [hsl(262deg 8% 98%)] - The gray color
18
- /// @prop {Color} surface [#2a2b2f] - The surface color
19
- /// @prop {Color} info [#9208bc] - The info color
20
- /// @prop {Color} success [#689f38] - The success color
21
- /// @prop {Color} warn [#ff9800] - The warn color
22
- /// @prop {Color} error [#cf1a2b] - The error color
23
- $palette: palette(
24
- $primary: #3f51b5,
25
- $secondary: #3f51b5,
26
- $gray: hsl(262deg 8% 98%),
27
- $surface: #2a2b2f,
28
- $info: #9208bc,
29
- $success: #689f38,
30
- $warn: #ff9800,
31
- $error: #cf1a2b,
32
- $variant: 'indigo',
15
+ /// @prop {Color} primary [#3f51b5] - The 500 variant of the primary color.
16
+ /// @prop {Color} secondary [#3f51b5] - The 500 variant of the secondary color.
17
+ /// @prop {Color} gray [#9a9da2] - The 500 variant of the gray color.
18
+ /// @prop {Color} info [#9c27b0] - The 500 variant of the info color.
19
+ /// @prop {Color} success [#689f38] - The 500 variant of the success color.
20
+ /// @prop {Color} warn [#f56b1d] - The 500 variant of the warn color.
21
+ /// @prop {Color} error [#cf1a2b] - The 500 variant of the error color.
22
+ /// @prop {Color} surface [#1e1e1e] - The surface color.
23
+ $palette: (
24
+ primary: (
25
+ 50: to-hsl(#c5cdff),
26
+ '50-contrast': black,
27
+ 100: to-hsl(#a3aff6),
28
+ '100-contrast': black,
29
+ 200: to-hsl(#8293f8),
30
+ '200-contrast': black,
31
+ 300: to-hsl(#7385f4),
32
+ '300-contrast': black,
33
+ 400: to-hsl(#5c6edb),
34
+ '400-contrast': black,
35
+ 500: to-hsl(#3f51b5),
36
+ '500-contrast': white,
37
+ 600: to-hsl(#39479c),
38
+ '600-contrast': white,
39
+ 700: to-hsl(#333d83),
40
+ '700-contrast': white,
41
+ 800: to-hsl(#2e3172),
42
+ '800-contrast': white,
43
+ 900: to-hsl(#262851),
44
+ '900-contrast': white,
45
+ 'A100': to-hsl(#39479c),
46
+ 'A100-contrast': white,
47
+ 'A200': to-hsl(#333d83),
48
+ 'A200-contrast': white,
49
+ 'A400': to-hsl(#2e3172),
50
+ 'A400-contrast': white,
51
+ 'A700': to-hsl(#262851),
52
+ 'A700-contrast': white,
53
+ ),
54
+ secondary: (
55
+ 50: to-hsl(#c5cdff),
56
+ '50-contrast': black,
57
+ 100: to-hsl(#a3aff6),
58
+ '100-contrast': black,
59
+ 200: to-hsl(#8293f8),
60
+ '200-contrast': black,
61
+ 300: to-hsl(#7385f4),
62
+ '300-contrast': black,
63
+ 400: to-hsl(#5c6edb),
64
+ '400-contrast': black,
65
+ 500: to-hsl(#3f51b5),
66
+ '500-contrast': white,
67
+ 600: to-hsl(#39479c),
68
+ '600-contrast': white,
69
+ 700: to-hsl(#333d83),
70
+ '700-contrast': white,
71
+ 800: to-hsl(#2e3172),
72
+ '800-contrast': white,
73
+ 900: to-hsl(#262851),
74
+ '900-contrast': white,
75
+ 'A100': to-hsl(#39479c),
76
+ 'A100-contrast': white,
77
+ 'A200': to-hsl(#333d83),
78
+ 'A200-contrast': white,
79
+ 'A400': to-hsl(#2e3172),
80
+ 'A400-contrast': white,
81
+ 'A700': to-hsl(#262851),
82
+ 'A700-contrast': white,
83
+ ),
84
+ gray: (
85
+ 50: to-hsl(#24252c),
86
+ '50-contrast': white,
87
+ 100: to-hsl(#3b3d47),
88
+ '100-contrast': white,
89
+ 200: to-hsl(#545762),
90
+ '200-contrast': white,
91
+ 300: to-hsl(#6c707a),
92
+ '300-contrast': white,
93
+ 400: to-hsl(#9a9da2),
94
+ '400-contrast': black,
95
+ 500: to-hsl(#c3c4c7),
96
+ '500-contrast': black,
97
+ 600: to-hsl(#d6d8dc),
98
+ '600-contrast': black,
99
+ 700: to-hsl(#ebedf2),
100
+ '700-contrast': black,
101
+ 800: to-hsl(#f8f8fa),
102
+ '800-contrast': black,
103
+ 900: to-hsl(#fcfcfd),
104
+ '900-contrast': black,
105
+ ),
106
+ info: (
107
+ 50: to-hsl(#f1c3ff),
108
+ '50-contrast': black,
109
+ 100: to-hsl(#e89eff),
110
+ '100-contrast': black,
111
+ 200: to-hsl(#dd71ff),
112
+ '200-contrast': black,
113
+ 300: to-hsl(#da64ff),
114
+ '300-contrast': black,
115
+ 400: to-hsl(#bc34d3),
116
+ '400-contrast': white,
117
+ 500: to-hsl(#9c27b0),
118
+ '500-contrast': white,
119
+ 600: to-hsl(#8c16a0),
120
+ '600-contrast': white,
121
+ 700: to-hsl(#7f1192),
122
+ '700-contrast': white,
123
+ 800: to-hsl(#6f0a80),
124
+ '800-contrast': white,
125
+ 900: to-hsl(#5c056b),
126
+ '900-contrast': white,
127
+ 'A100': to-hsl(#8c16a0),
128
+ 'A100-contrast': white,
129
+ 'A200': to-hsl(#7f1192),
130
+ 'A200-contrast': white,
131
+ 'A400': to-hsl(#6f0a80),
132
+ 'A400-contrast': white,
133
+ 'A700': to-hsl(#5c056b),
134
+ 'A700-contrast': white,
135
+ ),
136
+ success: (
137
+ 50: to-hsl(#edf3e7),
138
+ '50-contrast': black,
139
+ 100: to-hsl(#d2e2c3),
140
+ '100-contrast': black,
141
+ 200: to-hsl(#b4cf9c),
142
+ '200-contrast': black,
143
+ 300: to-hsl(#95bc74),
144
+ '300-contrast': black,
145
+ 400: to-hsl(#7fad56),
146
+ '400-contrast': black,
147
+ 500: to-hsl(#689f38),
148
+ '500-contrast': black,
149
+ 600: to-hsl(#5a912a),
150
+ '600-contrast': black,
151
+ 700: to-hsl(#4e8222),
152
+ '700-contrast': white,
153
+ 800: to-hsl(#3d7012),
154
+ '800-contrast': white,
155
+ 900: to-hsl(#316109),
156
+ '900-contrast': white,
157
+ 'A100': to-hsl(#5a912a),
158
+ 'A100-contrast': black,
159
+ 'A200': to-hsl(#4e8222),
160
+ 'A200-contrast': white,
161
+ 'A400': to-hsl(#3d7012),
162
+ 'A400-contrast': white,
163
+ 'A700': to-hsl(#316109),
164
+ 'A700-contrast': white,
165
+ ),
166
+ warn: (
167
+ 50: to-hsl(#fed7b7),
168
+ '50-contrast': black,
169
+ 100: to-hsl(#ffc696),
170
+ '100-contrast': black,
171
+ 200: to-hsl(#ffad67),
172
+ '200-contrast': black,
173
+ 300: to-hsl(#fb8f32),
174
+ '300-contrast': black,
175
+ 400: to-hsl(#fa7b0e),
176
+ '400-contrast': black,
177
+ 500: to-hsl(#f56b1d),
178
+ '500-contrast': black,
179
+ 600: to-hsl(#f05a2b),
180
+ '600-contrast': black,
181
+ 700: to-hsl(#ec4820),
182
+ '700-contrast': black,
183
+ 800: to-hsl(#df370e),
184
+ '800-contrast': black,
185
+ 900: to-hsl(#d22900),
186
+ '900-contrast': white,
187
+ 'A100': to-hsl(#f05a2b),
188
+ 'A100-contrast': black,
189
+ 'A200': to-hsl(#ec4820),
190
+ 'A200-contrast': black,
191
+ 'A400': to-hsl(#df370e),
192
+ 'A400-contrast': black,
193
+ 'A700': to-hsl(#d22900),
194
+ 'A700-contrast': white,
195
+ ),
196
+ error: (
197
+ 50: to-hsl(#ffebf0),
198
+ '50-contrast': black,
199
+ 100: to-hsl(#ffb0b7),
200
+ '100-contrast': black,
201
+ 200: to-hsl(#fc7f8a),
202
+ '200-contrast': black,
203
+ 300: to-hsl(#ec5461),
204
+ '300-contrast': black,
205
+ 400: to-hsl(#dd3544),
206
+ '400-contrast': black,
207
+ 500: to-hsl(#cf1a2b),
208
+ '500-contrast': white,
209
+ 600: to-hsl(#c31223),
210
+ '600-contrast': white,
211
+ 700: to-hsl(#b90415),
212
+ '700-contrast': white,
213
+ 800: to-hsl(#ae0111),
214
+ '800-contrast': white,
215
+ 900: to-hsl(#9f000f),
216
+ '900-contrast': white,
217
+ 'A100': to-hsl(#c31223),
218
+ 'A100-contrast': white,
219
+ 'A200': to-hsl(#b90415),
220
+ 'A200-contrast': white,
221
+ 'A400': to-hsl(#ae0111),
222
+ 'A400-contrast': white,
223
+ 'A700': to-hsl(#9f000f),
224
+ 'A700-contrast': white,
225
+ ),
226
+ surface: (
227
+ 500: to-hsl(#1e1e1e),
228
+ '500-contrast': white,
229
+ ),
230
+ variant: 'indigo',
33
231
  );
@@ -12,22 +12,220 @@
12
12
  /// Generates the light indigo palette.
13
13
  /// @type Map
14
14
  /// @name light-indigo-palette
15
- /// @prop {Color} primary [#3f51b5] - The primary color
16
- /// @prop {Color} secondary [#3f51b5] - The secondary color
17
- /// @prop {Color} gray [hsl(236deg 8% 5%)] - The gray color
18
- /// @prop {Color} surface [#fff] - The surface color
19
- /// @prop {Color} info [#9208bc] - The info color
20
- /// @prop {Color} success [#689f38] - The success color
21
- /// @prop {Color} warn [#ff9800] - The warn color
22
- /// @prop {Color} error [#cf1a2b] - The error color
23
- $palette: palette(
24
- $primary: #3f51b5,
25
- $secondary: #3f51b5,
26
- $gray: hsl(236deg 8% 5%),
27
- $surface: #fff,
28
- $info: #9208bc,
29
- $success: #689f38,
30
- $warn: #ff9800,
31
- $error: #cf1a2b,
32
- $variant: 'indigo',
15
+ /// @prop {Color} primary [#3f51b5] - The 500 variant of the primary color.
16
+ /// @prop {Color} secondary [#3f51b5] - The 500 variant of the secondary color.
17
+ /// @prop {Color} gray [#9a9da2] - The 500 variant of the gray color.
18
+ /// @prop {Color} info [#9c27b0] - The 500 variant of the info color.
19
+ /// @prop {Color} success [#689f38] - The 500 variant of the success color.
20
+ /// @prop {Color} warn [#f56b1d] - The 500 variant of the warn color.
21
+ /// @prop {Color} error [#cf1a2b] - The 500 variant of the error color.
22
+ /// @prop {Color} surface [#f8f8fa] - The surface color.
23
+ $palette: (
24
+ primary: (
25
+ 50: to-hsl(#c5cdff),
26
+ '50-contrast': black,
27
+ 100: to-hsl(#a3aff6),
28
+ '100-contrast': black,
29
+ 200: to-hsl(#8293f8),
30
+ '200-contrast': black,
31
+ 300: to-hsl(#7385f4),
32
+ '300-contrast': black,
33
+ 400: to-hsl(#5c6edb),
34
+ '400-contrast': black,
35
+ 500: to-hsl(#3f51b5),
36
+ '500-contrast': white,
37
+ 600: to-hsl(#39479c),
38
+ '600-contrast': white,
39
+ 700: to-hsl(#333d83),
40
+ '700-contrast': white,
41
+ 800: to-hsl(#2e3172),
42
+ '800-contrast': white,
43
+ 900: to-hsl(#262851),
44
+ '900-contrast': white,
45
+ 'A100': to-hsl(#39479c),
46
+ 'A100-contrast': white,
47
+ 'A200': to-hsl(#333d83),
48
+ 'A200-contrast': white,
49
+ 'A400': to-hsl(#2e3172),
50
+ 'A400-contrast': white,
51
+ 'A700': to-hsl(#262851),
52
+ 'A700-contrast': white,
53
+ ),
54
+ secondary: (
55
+ 50: to-hsl(#c5cdff),
56
+ '50-contrast': black,
57
+ 100: to-hsl(#a3aff6),
58
+ '100-contrast': black,
59
+ 200: to-hsl(#8293f8),
60
+ '200-contrast': black,
61
+ 300: to-hsl(#7385f4),
62
+ '300-contrast': black,
63
+ 400: to-hsl(#5c6edb),
64
+ '400-contrast': black,
65
+ 500: to-hsl(#3f51b5),
66
+ '500-contrast': white,
67
+ 600: to-hsl(#39479c),
68
+ '600-contrast': white,
69
+ 700: to-hsl(#333d83),
70
+ '700-contrast': white,
71
+ 800: to-hsl(#2e3172),
72
+ '800-contrast': white,
73
+ 900: to-hsl(#262851),
74
+ '900-contrast': white,
75
+ 'A100': to-hsl(#39479c),
76
+ 'A100-contrast': white,
77
+ 'A200': to-hsl(#333d83),
78
+ 'A200-contrast': white,
79
+ 'A400': to-hsl(#2e3172),
80
+ 'A400-contrast': white,
81
+ 'A700': to-hsl(#262851),
82
+ 'A700-contrast': white,
83
+ ),
84
+ gray: (
85
+ 50: to-hsl(#fcfcfd),
86
+ '50-contrast': black,
87
+ 100: to-hsl(#f8f8fa),
88
+ '100-contrast': black,
89
+ 200: to-hsl(#ebedf2),
90
+ '200-contrast': black,
91
+ 300: to-hsl(#d6d8dc),
92
+ '300-contrast': black,
93
+ 400: to-hsl(#c3c4c7),
94
+ '400-contrast': black,
95
+ 500: to-hsl(#9a9da2),
96
+ '500-contrast': black,
97
+ 600: to-hsl(#6c707a),
98
+ '600-contrast': white,
99
+ 700: to-hsl(#545762),
100
+ '700-contrast': white,
101
+ 800: to-hsl(#3b3d47),
102
+ '800-contrast': white,
103
+ 900: to-hsl(#24252c),
104
+ '900-contrast': white,
105
+ ),
106
+ info: (
107
+ 50: to-hsl(#f1c3ff),
108
+ '50-contrast': black,
109
+ 100: to-hsl(#e89eff),
110
+ '100-contrast': black,
111
+ 200: to-hsl(#dd71ff),
112
+ '200-contrast': black,
113
+ 300: to-hsl(#da64ff),
114
+ '300-contrast': black,
115
+ 400: to-hsl(#bc34d3),
116
+ '400-contrast': white,
117
+ 500: to-hsl(#9c27b0),
118
+ '500-contrast': white,
119
+ 600: to-hsl(#8c16a0),
120
+ '600-contrast': white,
121
+ 700: to-hsl(#7f1192),
122
+ '700-contrast': white,
123
+ 800: to-hsl(#6f0a80),
124
+ '800-contrast': white,
125
+ 900: to-hsl(#5c056b),
126
+ '900-contrast': white,
127
+ 'A100': to-hsl(#8c16a0),
128
+ 'A100-contrast': white,
129
+ 'A200': to-hsl(#7f1192),
130
+ 'A200-contrast': white,
131
+ 'A400': to-hsl(#6f0a80),
132
+ 'A400-contrast': white,
133
+ 'A700': to-hsl(#5c056b),
134
+ 'A700-contrast': white,
135
+ ),
136
+ success: (
137
+ 50: to-hsl(#edf3e7),
138
+ '50-contrast': black,
139
+ 100: to-hsl(#d2e2c3),
140
+ '100-contrast': black,
141
+ 200: to-hsl(#b4cf9c),
142
+ '200-contrast': black,
143
+ 300: to-hsl(#95bc74),
144
+ '300-contrast': black,
145
+ 400: to-hsl(#7fad56),
146
+ '400-contrast': black,
147
+ 500: to-hsl(#689f38),
148
+ '500-contrast': black,
149
+ 600: to-hsl(#5a912a),
150
+ '600-contrast': black,
151
+ 700: to-hsl(#4e8222),
152
+ '700-contrast': white,
153
+ 800: to-hsl(#3d7012),
154
+ '800-contrast': white,
155
+ 900: to-hsl(#316109),
156
+ '900-contrast': white,
157
+ 'A100': to-hsl(#5a912a),
158
+ 'A100-contrast': black,
159
+ 'A200': to-hsl(#4e8222),
160
+ 'A200-contrast': white,
161
+ 'A400': to-hsl(#3d7012),
162
+ 'A400-contrast': white,
163
+ 'A700': to-hsl(#316109),
164
+ 'A700-contrast': white,
165
+ ),
166
+ warn: (
167
+ 50: to-hsl(#fed7b7),
168
+ '50-contrast': black,
169
+ 100: to-hsl(#ffc696),
170
+ '100-contrast': black,
171
+ 200: to-hsl(#ffad67),
172
+ '200-contrast': black,
173
+ 300: to-hsl(#fb8f32),
174
+ '300-contrast': black,
175
+ 400: to-hsl(#fa7b0e),
176
+ '400-contrast': black,
177
+ 500: to-hsl(#f56b1d),
178
+ '500-contrast': black,
179
+ 600: to-hsl(#f05a2b),
180
+ '600-contrast': black,
181
+ 700: to-hsl(#ec4820),
182
+ '700-contrast': black,
183
+ 800: to-hsl(#df370e),
184
+ '800-contrast': black,
185
+ 900: to-hsl(#d22900),
186
+ '900-contrast': white,
187
+ 'A100': to-hsl(#f05a2b),
188
+ 'A100-contrast': black,
189
+ 'A200': to-hsl(#ec4820),
190
+ 'A200-contrast': black,
191
+ 'A400': to-hsl(#df370e),
192
+ 'A400-contrast': black,
193
+ 'A700': to-hsl(#d22900),
194
+ 'A700-contrast': white,
195
+ ),
196
+ error: (
197
+ 50: to-hsl(#ffebf0),
198
+ '50-contrast': black,
199
+ 100: to-hsl(#ffb0b7),
200
+ '100-contrast': black,
201
+ 200: to-hsl(#fc7f8a),
202
+ '200-contrast': black,
203
+ 300: to-hsl(#ec5461),
204
+ '300-contrast': black,
205
+ 400: to-hsl(#dd3544),
206
+ '400-contrast': black,
207
+ 500: to-hsl(#cf1a2b),
208
+ '500-contrast': white,
209
+ 600: to-hsl(#c31223),
210
+ '600-contrast': white,
211
+ 700: to-hsl(#b90415),
212
+ '700-contrast': white,
213
+ 800: to-hsl(#ae0111),
214
+ '800-contrast': white,
215
+ 900: to-hsl(#9f000f),
216
+ '900-contrast': white,
217
+ 'A100': to-hsl(#c31223),
218
+ 'A100-contrast': white,
219
+ 'A200': to-hsl(#b90415),
220
+ 'A200-contrast': white,
221
+ 'A400': to-hsl(#ae0111),
222
+ 'A400-contrast': white,
223
+ 'A700': to-hsl(#9f000f),
224
+ 'A700-contrast': white,
225
+ ),
226
+ surface: (
227
+ 500: to-hsl(#f8f8fa),
228
+ '500-contrast': black,
229
+ ),
230
+ variant: 'indigo',
33
231
  );
@@ -7,10 +7,10 @@
7
7
  /// @access public
8
8
  ////
9
9
 
10
- /// Generates a dark action-strip schema.
10
+ /// Generates a dark material action-strip schema.
11
11
  /// @type {Map}
12
- /// @requires $light-action-strip
13
- $dark-action-strip: $light-action-strip;
12
+ /// @requires $material-action-strip
13
+ $dark-material-action-strip: $material-action-strip;
14
14
 
15
15
  /// Generates a dark fluent action strip schema.
16
16
  /// @type {Map}