-
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 affects: @buildit/gravity-ui-web
- Loading branch information
James Nash
committed
May 2, 2019
1 parent
9b4826b
commit 3a0a0c1
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
1 change: 1 addition & 0 deletions
1
packages/gravity-ui-web/src/ui-lib/sass/06-utilities/_utilities.all.scss
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'; |
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); |