forked from pages-themes/cayman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add !default flag to allow Sass variable overrides
This allows a user of the theme to customize the value of a variable defined in variables.scss by defining it before the `@import` statement: ```scss --- --- $section-headings-color: #0086b3; @import "{{ site.theme }}"; ``` Also adds a note to the README that should resolve pages-themes#9.
- Loading branch information
Jacob Paul
committed
Apr 4, 2017
1 parent
9761829
commit 0e7f5e5
Showing
2 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
// Breakpoints | ||
$large-breakpoint: 64em; | ||
$medium-breakpoint: 42em; | ||
$large-breakpoint: 64em !default; | ||
$medium-breakpoint: 42em !default; | ||
|
||
// Headers | ||
$header-heading-color: #fff; | ||
$header-bg-color: #159957; | ||
$header-bg-color-secondary: #155799; | ||
$header-heading-color: #fff !default; | ||
$header-bg-color: #159957 !default; | ||
$header-bg-color-secondary: #155799 !default; | ||
|
||
// Text | ||
$section-headings-color: #159957; | ||
$body-text-color: #606c71; | ||
$body-link-color: #1e6bb8; | ||
$blockquote-text-color: #819198; | ||
$section-headings-color: #159957 !default; | ||
$body-text-color: #606c71 !default; | ||
$body-link-color: #1e6bb8 !default; | ||
$blockquote-text-color: #819198 !default; | ||
|
||
// Code | ||
$code-bg-color: #f3f6fa; | ||
$code-text-color: #567482; | ||
$code-bg-color: #f3f6fa !default; | ||
$code-text-color: #567482 !default; | ||
|
||
// Borders | ||
$border-color: #dce6f0; | ||
$table-border-color: #e9ebec; | ||
$hr-border-color: #eff0f1; | ||
$border-color: #dce6f0 !default; | ||
$table-border-color: #e9ebec !default; | ||
$hr-border-color: #eff0f1 !default; |