Usage Theme
Grab the CSS code and start styling text, color, buttons, or images. Use this page as a general style guide.
Theme
Evo theme variables are found in the _evo_variables.scss file. Run Gulp and Sass on the source files, then edit the variables to match the desired look and feel. Example variables below.
// Primary accent color
$evo_color: #{$color_15} !default;
// Typography
$html_font_style: normal !default; // or italics or oblique
$html_font_variant: normal !default; // or small-caps if the font supports it
$html_font_weight: normal !default; // or bolder or lighter or 400
$html_line_height: 1.4375 !default; // define this in body
$html_font_stretch: normal !default; // or condensed or expanded
$html_font_size: 1rem !default; // // or 1 rem, define this in body
$html_font_family: #{$google-source-sans}; // or #{$sans-serif}
$html_tap_highlight_color: rgba(0, 0, 0, 0);
These variables power the evo-color and evo-font classes, demonstrated below.
// evo color
#{$evo}-color,
#{$evo}-color-hover:hover { color: #{$evo_color}; }
#{$evo}-color-bg,
#{$evo}-color-bg-hover:hover { background-color: #{$evo_color}; }
#{$evo}-color-box,
#{$evo}-color-box-hover:hover { border-top-color: #{$evo_color}; border-bottom-color: #{$evo_color}; border-right-color: #{$evo_color}; border-left-color: #{$evo_color}; }
// evo font
#{$evo}-font {
// font-size: #{$html_font_size};
font-family: #{$html_font_family};
font-weight: #{$html_font_weight};
line-height: #{$html_line_height};
}
Theme variables that exist or are planned
- Masonry grid
- Masonry grid inverse
- Base code
- Base code inverse
- Code inline box
- Code inline box inverse
- Quote
- Quote inverse
- Dropcap
- Dropcap inverse
- Horizontal rule
- Horizontal rule inverse
- Icons
- Icons inverse
- Form input
- Form input inverse
- Form padding
- Form box
- Form box inverse
- Form hover
- Form hover inverse
- Form placeholder text
- Form placeholder text inverse
- Form legend text
- Form legend text inverse
- Table
- Table inverse
- Highlight
- Highlight inverse
- Selection
- Selection inverse
- Link
- Link inverse
- Paragraph link
- Paragraph link inverse
- List
- List inverse
- Number list
- Number list inverse
- Bullet list
- Bullet list inverse
- Font
- Text
- Text inverse
- Text paragraph
- Text measure
- Text tracking
- Text leading
- Text shadow
- Text shadow inverse
- Text glow
- Text glow inverse
- Heading H1
- Heading H1 inverse
- Heading H2
- Heading H2 inverse
- Heading H3
- Heading H3 inverse
- Heading H4
- Heading H4 inverse
- Heading H5
- Heading H5 inverse
- Heading H6
- Heading H6 inverse
- Body background color
- Body background color inverse
- Black
- White
- Gray dark
- Gray
- Gray light
- Color
- Box
- Box inverse
- Box shadow
- Box shadow inverse
- Button
- Button inverse