What
Explore if we can use CSS Custom properties to create a wrapper class within which:
- background is set to the brand colour (or a configurable arbitrary colour)
- text is set to white (or a configurable arbitrary colour to ensure adequate contrast)
- components like
link or button automatically use their --inverse style without users having to set --inverse modifiers to them
- possibly other components see their styles adapted?
Besides the technical exploration, we should also identify if new design concept emerge (eg. colour pairings) and how to document such feature (likely an object in our ITCSS architecture).
Why
To understand if such feature is worth implementing to simplify implementations of white on blue sections.
Who needs to work on this
Developers, Designers, Tech writer
Who needs to review this
Developers, Designers, Tech writer
Done when
What
Explore if we can use CSS Custom properties to create a wrapper class within which:
linkorbuttonautomatically use their--inversestyle without users having to set--inversemodifiers to themBesides the technical exploration, we should also identify if new design concept emerge (eg. colour pairings) and how to document such feature (likely an
objectin our ITCSS architecture).Why
To understand if such feature is worth implementing to simplify implementations of white on blue sections.
Who needs to work on this
Developers, Designers, Tech writer
Who needs to review this
Developers, Designers, Tech writer
Done when