KNACSS/styl/config/_variables.styl

51 lines
1.9 KiB
Stylus
Raw Normal View History

2017-03-06 17:35:08 +01:00
// Config file and project variables
// font sizes
base-font-size = 1.6rem // ex. 1.6rem would be "16px" equivalent
line-height = 1.5 // equiv line-height 1.5
h1-size = 3.2rem // equiv "32px"
h2-size = 2.8rem // equiv "28px"
h3-size = 2.4rem // equiv "24px"
h4-size = 2.0rem // equiv "20px"
h5-size = 1.8rem // equiv "18px"
h6-size = 1.6rem // equiv "16px"
// font stacks
font-stack-common = sans-serif // common font
font-stack-headings = sans-serif // headings font
font-stack-monospace = consolas, courier, monospace // monospace font
// color scheme
color1 = #000
color2 = #fff
color3 = #333
color4 = #000
color5 = #6FA939
// colors used in project
base-color = color1
link-color = color3
base-background = color2
// If you don't want any effect on focused/hovered links,
// comment variable below or make it equal to either link-color or false or null
link-hover-color = color4
brand-primary = color5
// 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
//kna-namespace (default : null)
kna-namespace = null;