1.1.1 • Published 7 years ago
cmore-global-style v1.1.1
cmore-global-style
npm package for global styles like color and space.
https://www.npmjs.com/package/cmore-global-style
space
Return the space by a multiple of 8 pixels as string. ('0', '8px', '16px'...)
colors
List standard colors used in C More:
white: '#FFFFFF'
black: '#000000'
mora: '#FF3334'
moraShadow: '#DA2B2C'
stockholm: '#1C7CE5'
stockholmShadow: '#165DAA'
ystad: '#F5F5F5'
kalmar: '#E6E6E6'
karlstad: '#A3A3A3'
haparanda: '#323232'
jokkmokk: '#1B1B1B'
sundsvall: '#5a5a5a'
checkmark: '#75AE3C'
Example usage:
var style = require("cmore-global-style")
var sizeInPixels = style.space(2))
var colorRed = style.colors.mora