-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(styling): find way to add colors to SVGs used by the lib (#73)
- Loading branch information
1 parent
c423530
commit 8a07c16
Showing
5 changed files
with
118 additions
and
9 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
examples/webpack-demo-vanilla-bundle/src/examples/example02.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
10 changes: 8 additions & 2 deletions
10
examples/webpack-demo-vanilla-bundle/src/examples/example03.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,6 +1,12 @@ | ||
$control-height: 2.4em; | ||
$icon-color: #363636; | ||
$icon-color-mdi-close: red; | ||
|
||
@import '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-salesforce.scss'; | ||
@import 'bulma/bulma'; | ||
|
||
.slick-groupby-remove.mdi-close { | ||
/** 1. use `filter` color */ | ||
// filter: invert(32%) sepia(96%) saturate(7466%) hue-rotate(356deg) brightness(97%) contrast(120%); | ||
|
||
/** 2. or use the SASS @mixin that will produce the `filter` color */ | ||
@include filtercolor(#ff0000, 0.9); // convert red color into `filter` with opacity of 0.9 | ||
} |
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