Skip to content

Instantly share code, notes, and snippets.

@markhalliwell
Last active January 24, 2018 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markhalliwell/f37f1dec19a1500f6d3e256f0c6a5e60 to your computer and use it in GitHub Desktop.
Save markhalliwell/f37f1dec19a1500f6d3e256f0c6a5e60 to your computer and use it in GitHub Desktop.
// Colors.
$color-map-variations: (
alpha: .95,
dark: 10%,
darker: 15%,
darkest: 20%,
light: 5%,
lighter: 10%,
lightest: 15%,
) !default;
$color-map: (
gray: color-create-variations(#999, color-create-map((
darkest: 35%, // #404040
darker: 20%, // #666666
dark: 13%, // #787878
light: 17.5%, // #c6c6c6
lighter: 35.25%, // #f3f3f3
lightest: 36.75%, // #f7f7f7
))),
aqua: color-create-variations(#0C99BB, color-create-map((lightest: 42.75%, pale: #ddf6ff))), // #a8eaf9
blue: color-create-variations(#1c355e),
green: color-create-variations(#93c341),
orange: color-create-variations(#e95c40),
red: color-create-variations(#ec686b),
yellow: color-create-variations(#f3ca3d),
) !default;
// Necessary color variables so Bootstrap source will compile
// Do not use these in the theme itself, use the color() function.
$brand-primary: color(blue) !default;
$brand-danger: color(red) !default;
$brand-info: color(aqua) !default;
$brand-success: color(green) !default;
$brand-warning: color(yellow) !default;
$body-bg: #fff !default;
$gray-darker: color(gray, darker) !default;
$gray-dark: color(gray, dark) !default;
$gray: color(gray) !default;
$gray-light: color(gray, light) !default;
$gray-lighter: color(gray, lightest) !default;
$text-color: color(gray, darkest) !default;
$link-color: color(blue) !default;
$link-hover-color: color(orange) !default;
$link-hover-decoration: none !default;
// Fonts, line heights and various typography variables.
$font-family-sans-serif: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
$font-family-base: $font-family-sans-serif !default;
$font-size-base: 14px !default;
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
$font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
$font-size-smaller: ceil(($font-size-base * 0.71)) !default; // ~10px
$font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
$font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
$font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
$font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
$font-size-h5: $font-size-base !default;
$font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
$line-height-base: 1.428571429 !default; // 20/14
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
$headings-font-family: inherit !default;
$headings-font-weight: 500 !default;
$headings-line-height: 1.1 !default;
$headings-color: inherit !default;
$component-offset-horizontal: 180px !default;
$text-muted: $gray-light !default;
$abbr-border-color: $gray-light !default;
$headings-small-color: $gray-light !default;
$blockquote-small-color: $gray-light !default;
$blockquote-font-size: ($font-size-base * 1.25) !default;
$blockquote-border-color: $gray-lighter !default;
$page-header-border-color: #ddd !default;
$dl-horizontal-offset: $component-offset-horizontal !default;
$dl-horizontal-breakpoint: $grid-float-breakpoint !default;
$hr-border: $gray-lighter !default;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment