2.0.4 • Published 5 years ago

@wocss/settings-colors v2.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

COLORS

Setting

The @wocss/settings-colors module contains basic, rainbow and RGBA colors variables for the framework. Feel free to use these variables throughout your project, but be careful with modify or reassign them.

Install using npm:

$ npm install @wocss/settings-colors --save

Usage

With a tool like webpack you can import this module writing:

@import '~@wocss/settings-colors';

Variables

Basic colors

Variable nameDefault value
$black#000000
$white#ffffff

Rainbow colors

Variable nameDefault value
$silver#dddddd
$gray#aaaaaa
$navy#001f3f
$blue#0074d9
$aqua#7fdbff
$teal#39cccc
$olive#3d9970
$green#2ecc40
$lime#01ff70
$yellow#ffdc00
$orange#ff851b
$red#ff4136
$maroon#85144b
$fuchsia#f012be
$purple#b10dc9

RGBA colors

Variable nameDefault value
$transparentrgba(0, 0, 0, 0)
$full-blackrgba(0, 0, 0, 1)
$dark-blackrgba(0, 0, 0, 0.87)
$light-blackrgba(0, 0, 0, 0.54)
$min-blackrgba(0, 0, 0, 0.26)
$faint-blackrgba(0, 0, 0, 0.12)
$full-whitergba(255, 255, 255, 1)
$dark-whitergba(255, 255, 255, 0.87)
$light-whitergba(255, 255, 255, 0.54)
$light-greyrgba(239, 239, 239, 1)
$darken-1rgba(0, 0, 0, 0.0625)
$darken-2rgba(0, 0, 0, 0.125)
$darken-3rgba(0, 0, 0, 0.25)
$darken-4rgba(0, 0, 0, 0.5)
$lighten-1rgba(255, 255, 255, 0.0625)
$lighten-2rgba(255, 255, 255, 0.125)
$lighten-3rgba(255, 255, 255, 0.25)
$lighten-4rgba(255, 255, 255, 0.5)