1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-24 18:26:17 +01:00
blog/_src/_assets/styl/_kremalicious/variables.styl

167 lines
4.5 KiB
Stylus
Raw Normal View History

2014-07-12 02:00:18 +02:00
//
// kremalicious3
// --------------
// Global variables & settings
//
// Settings
/////////////////////////////////////
2015-08-09 18:11:26 +02:00
vendors = official // Stylus' @keyframes settings
2014-07-12 02:00:18 +02:00
// Asset Paths
/////////////////////////////////////
2015-06-10 22:53:29 +02:00
$img-path = '/assets/img/'
2014-07-12 21:22:47 +02:00
$font-path = '/assets/fonts/'
2014-07-12 02:00:18 +02:00
// Colors
/////////////////////////////////////
$brand-dark = #015565
$brand-light = #e7eef4
2016-05-16 20:25:57 +02:00
$brand-cyan = #43a699
$brand-grey = #6b7f88
2016-10-03 22:16:19 +02:00
$brand-grey-light = lighten($brand-grey, 20%)
$brand-grey-dimmed = lighten($brand-grey, 60%)
2015-06-10 22:53:29 +02:00
// Text Colors
/////////////////////////////////////
2016-05-16 20:25:57 +02:00
$text-color = $brand-grey
$text-color-light = $brand-grey-light
2014-07-12 02:00:18 +02:00
// Typography
/////////////////////////////////////
2016-10-03 23:36:15 +02:00
$font-size-root-xs = 16px
$font-size-root = 18px
$font-size-root-lg = 20px
$font-size-base = 1rem
2016-10-03 23:36:15 +02:00
$font-size-large-xs = 1.15rem
$font-size-large = 1.45rem
$font-size-small = 0.8rem
$font-size-mini = 0.6rem
$font-size-h1 = 3rem
$font-size-h2 = 2rem
$font-size-h3 = 1.75rem
2014-07-12 02:00:18 +02:00
$font-size-h4 = $font-size-large
$font-size-h5 = $font-size-base
$font-size-h6 = $font-size-small
$line-height = 1.5
$line-height-large = 1.4
2014-07-12 02:00:18 +02:00
$line-height-small = 1.1428571429
2015-12-05 16:15:24 +01:00
$font-family-base = 'ff-tisa-sans-web-pro', 'Trebuchet MS', 'Helvetica Neue', Helvetica, Arial, sans-serif
2014-07-12 02:00:18 +02:00
$font-weight-base = 400
2015-06-10 22:53:29 +02:00
$font-color-base = $text-color
2014-07-12 02:00:18 +02:00
$font-family-monospace = Menlo, Monaco, Consolas, 'Courier New', monospace
2015-12-05 16:15:24 +01:00
$headings-font-family = 'brandon-grotesque', 'Avenir Next', 'Helvetica Neue',Helvetica,Arial,sans-serif
2014-07-12 02:00:18 +02:00
$headings-font-weight = 500 // Medium
2014-07-12 21:22:47 +02:00
$headings-line-height = 1.1
2014-07-12 02:00:18 +02:00
$headings-color = $brand-dark
// Scaffolding
/////////////////////////////////////
$body-bg = #dfe8ef
$page-bg = $brand-light
// Links
/////////////////////////////////////
2016-05-16 20:25:57 +02:00
$link-color = $brand-cyan
2015-08-20 00:19:58 +02:00
$link-color-hover = lighten($link-color, 15%)
2014-07-12 02:00:18 +02:00
2015-08-10 00:48:31 +02:00
// Grid
/////////////////////////////////////
$gutter-space = $spacer
2015-08-10 00:48:31 +02:00
2014-07-12 02:00:18 +02:00
// Components spacing
/////////////////////////////////////
$spacer = ($font-size-base * $line-height)
2014-07-12 02:00:18 +02:00
$border-radius-base = 3px
$border-radius-small = $border-radius-base
$border-radius-large = $border-radius-base
2015-08-09 21:50:06 +02:00
$padding-base-vertical = 8px
$padding-base-horizontal = 12px
2014-07-12 02:00:18 +02:00
$padding-small-vertical = ($padding-base-vertical / 2)
$padding-small-horizontal = ($padding-base-horizontal / 2)
$padding-large-vertical = ($padding-base-vertical * 2)
$padding-large-horizontal = ($padding-base-horizontal * 2)
// Forms
/////////////////////////////////////
$input-bg = alpha(#fff, .85)
2014-07-12 21:22:47 +02:00
$input-bg-focus = #fff
2014-07-12 02:00:18 +02:00
$input-bg-disabled = $brand-grey-light
$input-font-size = $font-size-base
2014-07-12 21:22:47 +02:00
$input-font-weight = $font-weight-base
2014-07-12 02:00:18 +02:00
$input-color = $font-color-base
$input-color-placeholder = rgba(46, 79, 92, .3)
$input-border = $brand-grey-light
$input-border-radius = $border-radius-base
$input-border-focus = $brand-cyan
// Code
/////////////////////////////////////
2015-07-26 21:41:59 +02:00
$code-bg = #343642
2016-05-15 18:20:39 +02:00
$code-color = $brand-light
2014-07-12 02:00:18 +02:00
$kbd-bg = $code-bg
$kbd-color = $code-color
2015-08-20 20:06:14 +02:00
2014-07-12 02:00:18 +02:00
// Responsive breakpoints
/////////////////////////////////////
2016-06-09 19:25:01 +02:00
$screen-xs-min = 30em
$screen-sm-min = 40.625em
$screen-md-min = 60em
$screen-lg-min = 87.500em
$screen-xs = 'only screen and (min-width: 30em)'
$screen-sm = 'only screen and (min-width: 40.625em)'
$screen-md = 'only screen and (min-width: 60em)'
$screen-lg = 'only screen and (min-width: 87.500em)'
2014-07-12 02:00:18 +02:00
// High dpi media query
/////////////////////////////////////
$highDPI = 'print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) '
2015-06-10 22:53:29 +02:00
$highDPI_3x = 'print, (-webkit-min-device-pixel-ratio: 3), (min-resolution: 344dpi) '
2015-12-02 00:19:46 +01:00
// Tooltips
/////////////////////////////////////
$tooltip-color = #fff
$tooltip-bg = darken($brand-dark, 15%)