colors

@# Colors

Construct-ui provides a set of colors based on the 2014 Material Design color spec.

Colors can be used in your JS code like so:

import { Colors } from 'construct-ui'; 

m('', { style: { color: Colors.RED100 }})

Sass variables can also be used:

@import '~construct-ui/lib/scss/variables';

.red {
  color: $red100
}

@example ColorsExample

Last updated