adaptlearning/adapt-contrib-vanilla

Conversion of Less variables to CSS variables

Opened this issue · 0 comments

Subject of the enhancement

The use of Less variables, and associated functions, within the theme have started to hinder the adoption of newer and / or alternative implementations.

While the development of Less has slowed, it feels like the right time to look towards the future with the adoption of CSS variables. We could potentially look to set up the 'base' of the Vanilla theme to utilise CSS variables to allow for more sophisticated themes - colour palettes, course light / dark theme, front end font adjustment etc.

I am not advocating for the removal of Less from Adapt, as I do think it still provides benefits to the Vanilla theme and Adapt generally, but rather, changing how we utilise Less.

Your environment

  • Master FW & AT