Skip to content

Conversion of Less variables to CSS variables #522

@guywillis

Description

@guywillis

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Assigned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions