KNACSS/sass/_config/_variables.scss
2017-07-31 11:37:12 +02:00

65 lines
2.8 KiB
SCSS

// Config file and project variables
// tiny font sizes (mobile first)
$base-font-size : 1.4rem !default; // ex. 1.4rem would be "14px" equivalent
$line-height : 1.4 !default;
$h1-size : 2.8rem !default; // equiv "28px"
$h2-size : 2.4rem !default; // equiv "24px"
$h3-size : 2.0rem !default; // equiv "20px"
$h4-size : 1.8rem !default; // equiv "18px"
$h5-size : 1.6rem !default; // equiv "16px"
$h6-size : 1.4rem !default; // equiv "14px"
// large font sizes
$base-font-size-l : 1.6rem !default; // ex. 1.6rem would be "16px" equivalent
$line-height-l : 1.5 !default;
$h1-size-l : 3.2rem !default; // equiv "32px"
$h2-size-l : 2.8rem !default; // equiv "28px"
$h3-size-l : 2.4rem !default; // equiv "24px"
$h4-size-l : 2.0rem !default; // equiv "20px"
$h5-size-l : 1.8rem !default; // equiv "18px"
$h6-size-l : 1.6rem !default; // equiv "16px"
// font stacks
$font-stack-common : -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !default; // system font stack
$font-stack-headings : sans-serif !default; // headings font
$font-stack-monospace : consolas, courier, monospace !default; // monospace font
// color scheme
$color1 : #000 !default;
$color2 : #fff !default;
$color3 : #333 !default;
$color4 : #000 !default;
$color5 : #6FA939 !default;
// colors used in project
$color-base : $color1;
$color-link : $color3;
$background-base : $color2;
// If you don't want any effect on focused/hovered links,
// comment variable below or make it equal to either $color-link or false or null
$color-link-hover: $color4;
$brand-primary: $color5;
// spacings (choose unit you prefer)
$tiny-value : .5rem !default; // tiny value for margins / paddings
$tiny-plus-value : .7rem !default; // tiny+ value for margins / paddings
$small-value : 1rem !default; // small value for margins / paddings
$small-plus-value : 1.5rem !default; // small+ value for margins / paddings
$medium-value : 2rem !default; // medium value for margins / paddings
$medium-plus-value : 3rem !default; // medium+ value for margins / paddings
$large-value : 4rem !default; // large value for margins / paddings
$large-plus-value : 6rem !default; // large value for margins / paddings
$extra-large-value : 8rem !default; // extra large value for margins / paddings
$extra-large-plus-value : 12rem !default; // extra large value for margins / paddings
$ultra-large-value : 16rem !default; // ultra large value for margins / paddings
$ultra-large-plus-value : 20rem !default; // ultra large value for margins / paddings
// grid gutters (for .has-gutter-* classes)
$grid-gutters: ( '': 1rem, '-l': 2rem, '-xl': 4rem );
//kna-namespace (default : null)
$kna-namespace: null !default;