-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(colors): adds color scheme utility classes (incl. dark one)
re #147
- Loading branch information
James Nash
committed
Apr 8, 2019
1 parent
9506fea
commit ba84dd1
Showing
4 changed files
with
45 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Utility class for default colour scheme | ||
@include grav-color-scheme-define-class('default', $grav-co-scheme-default); | ||
|
||
// Utility class for light colour scheme | ||
@include grav-color-scheme-define-class('light', $grav-co-scheme-light); | ||
|
||
// Utility class for dark colour scheme | ||
@include grav-color-scheme-define-class('dark', $grav-co-scheme-dark); |
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,4 +1,5 @@ | ||
// === Utilities layer === | ||
// Utilities and helper classes with ability to override anything which goes before in the | ||
// triangle, eg. hide helper class. | ||
@import 'color-schemes'; | ||
@import 'text'; |