lux

💎LUX is a Lean UX CSS framework ✨by Jeff Davis

View the Project on GitHub brandedux/lux

LUX

Simply download it and import the files from your CSS library.

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


Palette

🎨 Palette is color & grayscale classes

Getting started

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


Scribe

✍️ Scribe is text classes

Getting started

Import Scribe:
Import scribe.scss into your app.scss or primary file.
@import './scribe';

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

Nest size, weight and alternate classes within the scribe class.
class="txt-base txt-500 txt-italic"

Nested classes should be used like:
<div class="scribe">
<p class="txt-bigger txt-900">0 2 8 18 32</p>
</div>

1. Default text size uses Fibonacci scale

2. Font-weight array

3. Alternates


Smidge

👌Smidge is margin & padding classes

Getting started

Import Smidge:
Import smidge.scss into your app.scss or primary file.
@import './smidge';

Example Class:
Include the classes in your markup.
class="m-h-base"

1. Classificaiton for margin and padding

2. Side of box model including horizontal and vertical

3. Size Suffixes

Copyright (c) 2019, Jeff Davis.

LUX, Palette, Scribe, & Smidge source code is licensed under the MIT License.