Draft: PoC: Add an example illustrations
⚠ ️⚠ ️⚠ ️ THIS IS A PROOF OF CONCEPT ⚠ ️⚠ ️⚠ ️
What does this MR do and why?
It shows how we can adjust our illustrations to different themes.
The theme provides a few color variables for the sidebar. I mix the top sidebar color with the background color and change H, S or L to get adjusted to the them color.
Plan
- Move sidebar color to the
theme
element - Inline illustrations on the page
- Add class name to each illustration
- Define color variables for this class name using theme colors
- Use color variables in illustrations
- Write documentation
- Add information about colors to svg library MR template
Screenshots or screen recordings
How to set up and validate locally
- Run storybook
yarn run storybook:install
yarn run storybook:start
Edited by Dan MH