RB-Colorize
Compact library to generate CSS/SCSS code and preview for layered UI.
Demo: rockbee.com/colorize
Idea
Generate color palettes for a UI:
- Core/brand color
- Two additional color palettes
- Errors
- Notifications
- Grayscale
Script generates all libraries based on one hue/saturation pair (only hue required to operate correctly).
Requirements
Python 3.7 and higher (using a lot of f-strings).
Install locally
- Switch to a project folder
cd colorize
. - Create a virtual environment
python3 -m venv env
. - Activate a virtual environment
source env/bin/activate
pip install -e .
python
import rb_colorize
rb_colorize.version