This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- If `md-theme` directive is somewhere up the DOM tree we inject the theme before each color value ### example ```html <div md-theme="myTheme"> <div md-colors="{background: 'primary-600'}"> <span md-colors="{background: 'mySecondTheme-accent-200'}">Color demo</span> </div> </div> ``` `'primary-600'` will be `'myTheme-primary-600'`, but `'mySecondTheme-accent-200'` will stay the same cause it has a theme prefix fixes #8407
- Loading branch information
1 parent
c26842a
commit 92cad9f
Showing
3 changed files
with
148 additions
and
21 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