-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
sass-vars-to-js-loader
dependency (#6444)
* Remove usage of sass-vars-to-js-loader to grab font weight - copies existing `useJsonVars` usage in file * Remove usage of sass-vars-to-js-loader for font weights - import JSON file directly of `useJsonVars` since we're just grabbing font weight vars and theme color is irrelevant * [optional] Refactor variable font range to use JS vars, not Sass - this will have to be done anyway if/when we completely remove Sass etc., so it seems prescient to do now - nothing end-user-facing should have changed as a result of this refactor * Convert EUI charts themes to use JS theme vars instead of loading Sass vars - some slightly opinionated changes in here - I've left TODOs on things I'm unsure about, will also elaborate more in github comments * Remove `sass-vars-to-js-loader` dependency * Ignore TS-error after merge - interesting that it only started throwing after recent `.json.d.ts` additions - ah well * Comments - remove TODOs per designer feedback
- Loading branch information
Cee
authored
Dec 2, 2022
1 parent
53449c1
commit fc30ca8
Showing
6 changed files
with
68 additions
and
117 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
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.