ui-kit
Version:
user interface kit
139 lines (120 loc) • 3.61 kB
JavaScript
var out = {};
// font
out.fontFamily = "'Helvetica Neue', Helvetica, sans-serif";
out.lineHeight = '1.5';
out.headingFontFamily = out.fontFamily;
out.headingFontWeight = 'bold';
out.headingLineHeight = '1.25';
out.monospaceFontFamily = "'Source Code Pro', Consolas, monaco, monospace",
out.boldFontWeight = 'bold';
out.buttonFontSize = 'inherit';
out.buttonFontWeight = 'bold';
out.buttonLineHeight = '20px';
out.buttonPaddingY = '.75rem';
out.buttonPaddingX = '1.5rem';
out.containerWidth = '672px';
// colors
out.color = {};
out.color.azure = 'hsl(234, 42%, 95%)';
out.color.black = 'hsl(210, 24%, 13%)';
out.color.blue = 'hsl(220, 60%, 62%)';
out.color.charcoal = 'hsl(210, 17%, 25%)';
out.color.cyan = 'hsl(181, 48%, 58%)';
out.color.gray = 'hsl(210, 11%, 47%)';
out.color.grayBlue = 'hsl(210, 15%, 33%)';
out.color.green = 'hsl(154, 48%, 54%)';
out.color.lightGreen = 'hsl(76, 58%, 61%)';
out.color.orange = 'hsl(35, 80%, 58%)';
out.color.pink = 'hsl(303, 78%, 73%)';
out.color.red = 'hsl(2, 69%, 59%)';
out.color.redOrange = 'hsl(12, 73%, 59%)';
out.color.royal = 'hsl(220, 73%, 59%)';
out.color.silver = 'hsl(204, 9%, 89%)';
out.color.violet = 'hsl(271, 54%, 58%)';
out.color.white = 'hsl(234, 42%, 100%)';
out.color.yellow = 'hsl(49, 75%, 50%)';
out.color.primary = out.color.red;
out.color.accent = out.color.cyan;
out.color.good = out.color.green;
out.color.info = out.color.blue;
out.color.warn = out.color.orange;
out.color.bad = out.color.red;
out.color.facebook = '#3B5998';
out.color.twitter = '#4099ff';
out.color.gplus = '#de4b3a';
out.color.tumblr = '#37465c';
out.color.reddit = '#c8def6';
out.color.pinterest = '#c9232d';
out.color.linkedin = '#4875B4';
// borders
out.borderWidth = '2px';
out.borderColor = out.color.silver;
out.borderRadius = 0;
// shadows
out.shadow0 = '0';
out.shadow1 = '0 1px 4px hsla(0, 0%, 0%, 0.37)';
out.shadow2 = '0 6px 10px hsla(0, 0%, 0%, 0.3), 0 2px 2px hsla(0, 0%, 0%, 0.2)';
out.shadow3 = '0 13px 25px hsla(0, 0%, 0%, 0.3), 0 11px 7px hsla(0, 0%, 0%, 0.19)';
out.shadow4 = '0 20px 40px hsla(0, 0%, 0%, 0.3), 0 14px 12px hsla(0, 0%, 0%, 0.17)';
out.shadow5 = '0 27px 55px hsla(0, 0%, 0%, 0.3), 0 17px 17px hsla(0, 0%, 0%, 0.15)';
// spacing
out.space1 = '.25rem';
out.space2 = '.5rem';
out.space3 = '.75rem';
out.space4 = '1rem';
out.space5 = '1.25rem';
out.space6 = '1.5rem';
out.space7 = '1.75rem';
out.space8 = '2rem';
out.space9 = '2.25rem';
out.space10 = '2.5rem';
out.space11 = '2.75rem';
out.space12 = '3rem';
out.space13 = '3.25rem';
out.space14 = '3.5rem';
out.space15 = '3.75rem';
out.space16 = '4rem';
out.space17 = '4.25rem';
out.space18 = '4.5rem';
out.space19 = '4.75rem';
out.space20 = '5rem';
out.space21 = '5.25rem';
out.space22 = '5.5rem';
out.space23 = '5.75rem';
out.space24 = '6rem';
out.spaceScale1 = '.25';
out.spaceScale2 = '.5';
out.spaceScale3 = '.75';
out.spaceScale4 = '1';
out.spaceScale5 = '1.25';
out.spaceScale6 = '1.5';
out.spaceScale7 = '1.75';
out.spaceScale8 = '2';
out.spaceScale9 = '2.25';
out.spaceScale10 = '2.5';
out.spaceScale11 = '2.75';
out.spaceScale12 = '3';
out.spaceScale13 = '3.25';
out.spaceScale14 = '3.5';
out.spaceScale15 = '3.75';
out.spaceScale16 = '4';
out.spaceScale17 = '4.25';
out.spaceScale18 = '4.5';
out.spaceScale19 = '4.75';
out.spaceScale20 = '5';
out.spaceScale21 = '5.25';
out.spaceScale22 = '5.5';
out.spaceScale23 = '5.75';
out.spaceScale24 = '6';
// font sizes
out.h1 = '66px';
out.h2 = '48px';
out.h3 = '36px';
out.h4 = '24px';
out.h5 = '21px';
out.h6 = '18px';
out.h7 = '16px';
out.h8 = '12px';
out.h9 = '10px';
out.h10 = '8px';
exports['default'] = module.exports = out;