igniteui-theming 5.0.0-beta.6 → 6.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) 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 +6 -8
  5. package/sass/color/_mixins.scss +11 -13
  6. package/sass/color/presets/dark/_indigo.scss +18 -218
  7. package/sass/color/presets/dark/_material.scss +1 -1
  8. package/sass/color/presets/light/_indigo.scss +18 -218
  9. package/sass/color/presets/light/_material.scss +1 -1
  10. package/sass/themes/schemas/components/dark/_avatar.scss +1 -12
  11. package/sass/themes/schemas/components/dark/_banner.scss +4 -23
  12. package/sass/themes/schemas/components/dark/_button-group.scss +26 -193
  13. package/sass/themes/schemas/components/dark/_button.scss +113 -195
  14. package/sass/themes/schemas/components/dark/_calendar.scss +449 -158
  15. package/sass/themes/schemas/components/dark/_card.scss +25 -38
  16. package/sass/themes/schemas/components/dark/_checkbox.scss +21 -48
  17. package/sass/themes/schemas/components/dark/_dialog.scss +1 -12
  18. package/sass/themes/schemas/components/dark/_icon-button.scss +7 -133
  19. package/sass/themes/schemas/components/dark/_input-group.scss +35 -135
  20. package/sass/themes/schemas/components/dark/_radio.scss +11 -80
  21. package/sass/themes/schemas/components/elevation/_input-group.scss +6 -6
  22. package/sass/themes/schemas/components/elevation/_snackbar.scss +1 -7
  23. package/sass/themes/schemas/components/light/_avatar.scss +1 -30
  24. package/sass/themes/schemas/components/light/_banner.scss +24 -36
  25. package/sass/themes/schemas/components/light/_button-group.scss +84 -421
  26. package/sass/themes/schemas/components/light/_button.scss +169 -303
  27. package/sass/themes/schemas/components/light/_calendar.scss +1892 -637
  28. package/sass/themes/schemas/components/light/_card.scss +6 -22
  29. package/sass/themes/schemas/components/light/_checkbox.scss +16 -56
  30. package/sass/themes/schemas/components/light/_dialog.scss +2 -8
  31. package/sass/themes/schemas/components/light/_icon-button.scss +89 -78
  32. package/sass/themes/schemas/components/light/_icon.scss +0 -7
  33. package/sass/themes/schemas/components/light/_input-group.scss +37 -82
  34. package/sass/themes/schemas/components/light/_radio.scss +16 -52
  35. package/sass/themes/schemas/components/light/_snackbar.scss +7 -8
  36. package/sass/typography/presets/_indigo.scss +41 -59
@@ -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":{"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)","_meta":"( variant: 'indigo', )"},"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)","_meta":"( variant: 'indigo', )"},"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":{"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":"#df1b74","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":"#df1b74","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":"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"}}}
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":"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"}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "5.0.0-beta.6",
3
+ "version": "6.0.0-beta.1",
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": {
@@ -104,7 +104,11 @@ $_enhanced-accessibility: false;
104
104
  $result,
105
105
  (
106
106
  $variant: map.get($shade, 'raw'),
107
- #{$variant}-contrast: text-contrast(map.get($shade, 'raw')),
107
+ #{$variant}-contrast:
108
+ text-contrast(
109
+ $background: map.get($shade, 'raw'),
110
+ $contrast: 'AA',
111
+ ),
108
112
  #{$variant}-hsl: map.get($shade, 'hsl'),
109
113
  )
110
114
  );
@@ -185,13 +189,7 @@ $_enhanced-accessibility: false;
185
189
  @return if($contrast, $_mix-alpha, $_hsl-alpha);
186
190
  }
187
191
 
188
- $_shade: map.get($c, $variant);
189
-
190
- @if meta.type-of($_shade) == 'list' and list.length($_shade) == 3 {
191
- $_shade: hsl($_shade...);
192
- }
193
-
194
- @return rgba($_shade, $alpha: $_alpha);
192
+ @return rgba(map.get($c, $variant), $alpha: $_alpha);
195
193
  }
196
194
 
197
195
  /// Retrieves a contrast text color for a given color variant from a color palette.
@@ -15,21 +15,20 @@
15
15
  @mixin _base($color, $shade, $value) {
16
16
  @if $shade == 500 {
17
17
  $_type: meta.type-of($value);
18
- $_color: '' + $color;
19
18
 
20
19
  @if $_type == 'color' {
21
- --ig-#{$_color}-h: #{math.round(color.hue($value))};
22
- --ig-#{$_color}-s: #{math.round(color.saturation($value))};
23
- --ig-#{$_color}-l: #{math.round(color.lightness($value))};
24
- --ig-#{$_color}-a: #{color.alpha($value)};
20
+ --ig-#{$color}-h: #{math.round(color.hue($value))};
21
+ --ig-#{$color}-s: #{math.round(color.saturation($value))};
22
+ --ig-#{$color}-l: #{math.round(color.lightness($value))};
23
+ --ig-#{$color}-a: #{color.alpha($value)};
25
24
  }
26
25
 
27
26
  // Cover handmade palettes with hsl values for base color
28
27
  @if $_type == 'list' and list.length($value) == 3 {
29
- --ig-#{$_color}-h: #{list.nth($value, 1)};
30
- --ig-#{$_color}-s: #{list.nth($value, 2)};
31
- --ig-#{$_color}-l: #{list.nth($value, 3)};
32
- --ig-#{$_color}-a: 1;
28
+ --ig-#{$color}-h: #{list.nth($value, 1)};
29
+ --ig-#{$color}-s: #{list.nth($value, 2)};
30
+ --ig-#{$color}-l: #{list.nth($value, 3)};
31
+ --ig-#{$color}-a: 1;
33
32
  }
34
33
  }
35
34
  }
@@ -40,20 +39,19 @@
40
39
  $_shade: meta.type-of($shade) == 'string';
41
40
  $_hsl: if($_shade, string.index($shade, 'hsl'), false);
42
41
  $_contrast: if($_shade, string.index($shade, 'contrast'), false);
43
- $_color: '' + $color;
44
42
 
45
43
  @if $_hsl {
46
44
  $variant: string.slice($shade, 1, string.index($shade, '-hsl') - 1);
47
45
 
48
- --ig-#{$_color}-#{$variant}: #{$value};
46
+ --ig-#{$color}-#{$variant}: #{$value};
49
47
  }
50
48
 
51
49
  @if not($_hsl) and not($_contrast) {
52
- --ig-#{$_color}-#{$shade}: #{$value};
50
+ --ig-#{$color}-#{$shade}: #{$value};
53
51
  }
54
52
 
55
53
  @if $_contrast and $contrast {
56
- --ig-#{$_color}-#{$shade}: #{$value};
54
+ --ig-#{$color}-#{$shade}: #{$value};
57
55
  }
58
56
  }
59
57
 
@@ -12,222 +12,22 @@
12
12
  /// Generates the dark indigo palette.
13
13
  /// @type Map
14
14
  /// @name dark-indigo-palette
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(#5468d9),
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(#5468d9),
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
- _meta: (
231
- variant: 'indigo',
232
- ),
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',
233
33
  );
@@ -22,7 +22,7 @@
22
22
  /// @prop {Color} error [#ff134a] - The error color
23
23
  $palette: palette(
24
24
  $primary: #09f,
25
- $secondary: #e41c77,
25
+ $secondary: #df1b74,
26
26
  $surface: #222,
27
27
  $info: #1377d5,
28
28
  $success: #4eb862,