grayscale/README.md

55 lines
1.6 KiB
Markdown

# Grayscale CSS
> CSS For Minimalists
Grayscale is a tiny-dynamic-classless css stylesheet designed for rapid prototyping and **LIVE** dynamic style alterations. **CHANGE A SINGLE COLOR** to **REDEFINE YOUR ENTIRE THEME**, complete with *light* and *dark* modes.
It *may* be `classless`, but it *oozes* [style](src/extras)
All in **2kb gzipped!**
### Features
- Tiny, 2kb
- Classless
- Dynamic, 15 Custom CSS Vars
- Pure CSS Theme Generation
- Includes Light and Dark Themes
> WARNING: ever-green browsers need only apply ;)
## Check it Out
- [Theme Builder](https://n2geoff.github.io/grayscale/theme/)
- [Documentation](https://n2geoff.github.io/grayscale)
While **Grayscale CSS** can generate a dynamic theme based on A SINGLE COLOR, it defaults to a beautiful theme is based on `steelblue` , and of course that comes in both `light` and `dark` variants
---
<div style="display: flex">
<img src="https://n2geoff.github.io/grayscale/img/steelblue-dark.png" width="344">
<img src="https://n2geoff.github.io/grayscale/img/steelblue-light.png" width="344">
</div>
---
> Add `data-theme="dark"` to the `html` tag for a taste of the dark side
## LICENSE
- [MIT](LICENSE)
## TODO
While many of the core ideas are here to keep it as small as possible, there are plenty of tweaks and extras to build to hit that perfect sweat spot
- some theme colors need sat/light `clamp`ed so colors dont clobber eachother
- theme designs for normally uncustomizable parts:checkbox, radio button, range sliders ect...
- Im a fan of `details` & `summary`, needs to be included