KNACSS/sass/_config/_variables.scss

90 lines
3.3 KiB
SCSS
Raw Normal View History

// Config file and project variables
2014-05-04 15:48:00 +02:00
2017-03-03 16:51:48 +01:00
// tiny font sizes (mobile first)
2017-07-31 17:30:43 +02:00
$base-font-size : 1.4rem; // ex. 1.4rem would be "14px" equivalent
$line-height : 1.4;
$h1-size : 2.8rem; // equiv "28px"
$h2-size : 2.4rem; // equiv "24px"
$h3-size : 2.0rem; // equiv "20px"
$h4-size : 1.8rem; // equiv "18px"
$h5-size : 1.6rem; // equiv "16px"
$h6-size : 1.4rem; // equiv "14px"
2017-03-03 16:51:48 +01:00
// large font sizes
2017-07-31 17:30:43 +02:00
$base-font-size-l : 1.6rem; // ex. 1.6rem would be "16px" equivalent
$line-height-l : 1.5;
$h1-size-l : 3.2rem; // equiv "32px"
$h2-size-l : 2.8rem; // equiv "28px"
$h3-size-l : 2.4rem; // equiv "24px"
$h4-size-l : 2.0rem; // equiv "20px"
$h5-size-l : 1.8rem; // equiv "18px"
$h6-size-l : 1.6rem; // equiv "16px"
2014-05-04 15:48:00 +02:00
// font stacks
2017-07-31 17:30:43 +02:00
$font-stack-common : -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; // system font stack
$font-stack-headings : sans-serif; // headings font
$font-stack-monospace : consolas, courier, monospace; // monospace font
2014-05-04 15:48:00 +02:00
2016-11-22 14:47:41 +01:00
// color scheme
2017-07-31 17:30:43 +02:00
$color1 : #000;
$color2 : #fff;
$color3 : #333;
$color4 : #000;
$color5 : #6FA939;
$color6 : #ddd;
2017-07-31 20:34:26 +02:00
$color7 : #777;
2017-07-31 13:24:04 +02:00
$color-light : #fff;
2017-07-31 17:30:43 +02:00
$color-dark : #000;
2017-07-31 13:24:04 +02:00
$color-primary : #0275D8;
$color-success : #5CB85C;
$color-info : #5BC0DE;
$color-warning : #F0AD4E;
2017-07-31 13:26:20 +02:00
$color-danger : #D9534F;
2017-07-31 13:24:04 +02:00
$color-inverse : #292B2C;
2017-07-31 14:00:06 +02:00
$color-ghost : transparent;
2017-07-31 13:24:04 +02:00
$color-muted : #F7F7F7;
2016-11-22 14:47:41 +01:00
2016-12-08 11:23:35 +01:00
// colors used in project
2017-03-03 16:51:48 +01:00
$color-base : $color1;
$background-base : $color2;
2017-07-31 13:24:04 +02:00
$color-link : $color3;
2017-03-03 16:51:48 +01:00
$color-link-hover: $color4;
2017-07-31 13:24:04 +02:00
2016-12-08 11:23:35 +01:00
$brand-primary: $color5;
2016-11-22 14:47:41 +01:00
2017-08-01 09:20:53 +02:00
$color-forms: $color7;
2017-07-31 21:42:15 +02:00
$color-burger: $color1;
2017-07-31 20:34:26 +02:00
2017-07-31 16:01:20 +02:00
// button, badges, alerts color variants list
// name - background-color - color - border
$variants-list: (
(primary, $color-primary, $color-light, none),
(success, $color-success, $color-light, none),
(info, $color-info, $color-light, none),
(warning, $color-warning, $color-light, none),
(danger, $color-danger, $color-light, none),
(inverse, $color-inverse, $color-light, none),
(ghost, $color-ghost, $color-light, 0 0 0 1px $color-light inset)
);
// spacings (choose unit you prefer)
2017-07-31 15:49:38 +02:00
$tiny-value : .5rem ; // tiny value for margins / paddings
$tiny-plus-value : .7rem ; // tiny+ value for margins / paddings
$small-value : 1rem ; // small value for margins / paddings
$small-plus-value : 1.5rem ; // small+ value for margins / paddings
$medium-value : 2rem ; // medium value for margins / paddings
$medium-plus-value : 3rem ; // medium+ value for margins / paddings
$large-value : 4rem ; // large value for margins / paddings
$large-plus-value : 6rem ; // large value for margins / paddings
$extra-large-value : 8rem ; // extra large value for margins / paddings
$extra-large-plus-value : 12rem ; // extra large value for margins / paddings
$ultra-large-value : 16rem ; // ultra large value for margins / paddings
$ultra-large-plus-value : 20rem ; // ultra large value for margins / paddings
2017-07-31 11:37:12 +02:00
// grid gutters (for .has-gutter-* classes)
$grid-gutters: ( '': 1rem, '-l': 2rem, '-xl': 4rem );
2017-07-31 15:49:38 +02:00
// border-radius
$border-radius: 0;