-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update to use CSS variables with fallback #134
This commit updates all uses** of Sass variables to use CSS custom properties with a Sass variable as a fallback. This will allow WCSS to be used in themed environments and the themed token will pass into WCSS. If the toke is not updated and the token is simply not available, the Sass variable's value from the last processed version will take it's place. **Some calc functions that us the `#{}` syntax is still left to only use Sass variables. This to keep the code simplified. Changes to be committed: modified: src/_core.scss modified: src/_essentials.scss modified: src/_fonts.scss modified: src/_grids.scss modified: src/_headings.scss modified: src/_normalize.scss modified: src/componentSupport/_containedButtons.scss modified: src/componentSupport/_table.scss modified: src/componentSupport/_tablist.scss modified: src/elementDemoStyles/demoWrapper.scss modified: src/elementDemoStyles/elementDemoStyles.scss modified: src/utilityClasses/_fontStyles.scss modified: src/utilityClasses/_listProperties.scss
- Loading branch information
1 parent
6a1ade7
commit 2eae24f
Showing
13 changed files
with
127 additions
and
123 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
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
Oops, something went wrong.