-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(material/theming): Open up new APIs to access theme values
This PR opens up the following Sass APIs used to access theme values: - `get-theme-version`: Gets the version of the theme object - `get-theme-type`: Gets the type of theme (light or dark) - `get-theme-color`: Gets a color from the theme - `get-theme-typography`: Gets a typography value from the theme - `get-theme-density`: Gets the density scale from the theme - `theme-has`: Checks if the theme has information for the given theming system
- Loading branch information
Showing
4 changed files
with
82 additions
and
83 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
Oops, something went wrong.