Explore removing SCSS color mixins to allow CSS custom properties to be used for all colors
Currently we require SCSS variables to be used for colors as there are instances of lighten()
/darken()
etc. in use in the codebase and by Bootstrap.
CSS custom properties used for colors would enable greater efficiency for different modes e.g. dark mode.
How practical is it to remove SCSS color functions such as:
- Maintain SCSS and CSS colors in parallel, where SCSS colors are deprecated but added to support CSS compilation where color methods are used.
- Update Bootstrap to v5 to use CSS custom properties
- Vendorize Boostrap dependancy locally, remove package, and replace color methods
Edited by Scott de Jonge