Skip to content

Instantly share code, notes, and snippets.

@fafaradesigns
Created February 4, 2015 21:53
Show Gist options
  • Save fafaradesigns/864d129544ef270fb2a4 to your computer and use it in GitHub Desktop.
Save fafaradesigns/864d129544ef270fb2a4 to your computer and use it in GitHub Desktop.
Sass: _config.scss
/*doc
---
title: Colors
category: Global - Variables
---
|Variable Name | Hex Value | Swatch | Example
|---------|-------|------|----|
|primary | #990099| <div style="background: #990099; height: 30px; width: 200px;"></div> | <div style="color: #990099"> Example </div> |
|secondary | #557799| <div style="background: #557799; height: 30px"></div> | <div style="color: #557799"> Example </div> |
|tertiary | #D20040| <div style="background: #D20040; height: 30px"></div> | <div style="color: #D20040"> Example </div> |
|black | #252527| <div style="background: #252527; height: 30px"></div> | <div style="color: #252527"> Example </div> |
|white | #fff| <div style="background: #fff; height: 30px"></div> | <div style="color: #fff"> Example </div> |
|grey | #555566| <div style="background: #555566; height: 30px"></div> | <div style="color: #555566"> Example </div> |
*/
$colors: (
primary: #990099,
secondary: #557799,
black: #252527,
white: #fff,
grey: #555566,
);
$font-families: (
serif: (Georgia, "Times New Roman", Times, serif),
sans-serif: (Helvetica Neue, Helvetica, Arial, sans-serif)
);
$base-font: (
font-family: map-get($font-families, sans-serif),
line-height: 1.3,
font-size: 16px,
color: map-get($colors, black),
font-weight: 400,
);
$susy: (
columns: 12,
gutters: 1/4,
// columns: 1 1 1 1 2 2 2 2 3 3 3 3,
// gutters: 2,
math: fluid,
output: float,
gutter-position: after,
debug: (
image: show-columns,
color: rgba(#66f, .25),
output: background, // background | overlay
),
);
//Susy Globaol Defaults ------------------------------------
// $susy: (
// flow: ltr, // ltr | rtl
// output: float, // float | isolate
// math: fluid, // |fluid | static (static requires colulm width set)
// column-width: false, // false | value
// container: auto, // length | % | auto
// container-position: center, // | left | right | <length> [*2] {grid-padding)}
// last-flow: to, // |
// columns: 12, // | <number> | <list>
// gutters: 1/4,
// gutter-position: inside, // before | after | split | inside | inside-static |
// global-box-sizing: border-box, // | content-box | border-box - effects inside/inside static (requires colulm width set)
// debug: (
// image: hide, // show |
// color: rgba(#66f, .15), // .25
// output: background, // | background | overlay
// toggle: top right, // | top left
// ),
// use-custom: (
// background-image: true, // |
// background-options: false, // |
// box-sizing: true, // |
// clearfix: false, // |
// rem: false, // |
// )
// );
//
$breakpoints: (
small: 500px,
medium: 850px,
large: 1000px,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment