palette

🎨 Palette is color & grayscale classes ✨by Jeff Davis

View the Project on GitHub brandedux/palette

Palette

Simply download it and import it from your CSS library.

Getting started

Download or clone the code.
git clone https://github.com/brandedux/palette.git

Import Palette:
Import palette.scss into your app.scss or primary file.
@import './palette';

Example Class:
Include the palette class in your markup.
class="palette"

Nest color, grayscale and alpha channel classes within the palette class.
class="bg-red txt-black alpha-50"

Nested classes should be used like:
<div class="palette">
<p class="bg-red txt-black alpha-50">Warning!</p>
</div>

1. Prefixes for background and text colors

2. Default color, tint and grayscale arrays

3. Alpha channel array

Copyright (c) 2019, Jeff Davis.

Palette source code is licensed under the MIT License.