Skip to content

[Colors] Nouveau helper Color #1666

@joachimesque

Description

@joachimesque

Nouveau helper Color

Ce helper va aider à désolidariser chaque couleur de sa fonctionalité, notamment grâce à une argument invert.

Inspiration : https://bulma.io/documentation/overview/colors/

Exemple d'usage :

Bloc classique :

background-color: ${getColor('background')};
color: ${getColor('text')};

Bloc inversé :

background-color: ${getColor('background', {invert: true})};
color: ${getColor('text', {invert: true})};

Specs

Livrables

  • [ ]
  • [ ]
    ...

PRs

...

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions