KNACSS/sass/_config/_variables.scss

62 lines
2.6 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)
$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 "18px"
$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"
2014-05-04 15:48:00 +02:00
// font stacks
2015-12-12 11:20:29 +01:00
$font-stack-common : sans-serif !default; // common font
$font-stack-headings : sans-serif !default; // headings font
$font-stack-monospace : consolas, courier, monospace !default; // monospace font
2014-05-04 15:48:00 +02:00
2016-11-22 14:47:41 +01:00
// color scheme
$color1 : #000 !default;
$color2 : #fff !default;
$color3 : #333 !default;
$color4 : #000 !default;
2016-12-08 11:23:35 +01:00
$color5 : #6FA939 !default;
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;
$color-link : $color3;
$background-base : $color2;
// If you don't want any effect on focused/hovered links,
2017-03-03 16:51:48 +01:00
// comment variable below or make it equal to either $color-link or false or null
$color-link-hover: $color4;
2016-12-08 11:23:35 +01:00
$brand-primary: $color5;
2016-11-22 14:47:41 +01:00
2014-05-04 15:48:00 +02:00
// spacings (choose unit you prefer)
Ajout de classes helpers // spacings (choose unit you prefer) @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 // breakpoints (choose unit you prefer) @tiny-screen : 320px; // tiny screens media query (less-equal than 320px) @tiny-plus-screen : 480px; // screens between 321px and 480px @small-screen : 640px; // screens between 481px and 640px @small-plus-screen : 768px; // screens between 641px and 768px @medium-screen : 960px; // screens between 769px and 960px @medium-plus-screen : 1024px; // screens between 961px and 1024px @large-screen : 1280px; // screens between 1025px and 1280px @large-plus-screen : 1440px; // screens between 1281px and 1440px @extra-large-screen : 1600px; // screens between 1441px and 1600px @ultra-large-screen : 1920px; // ultra large screens
2015-07-08 15:19:43 +02:00
$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
//kna-namespace (default : null)
$kna-namespace: null !default;