You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Share methods to set the theme color classes #2394
Would it be possible to expose this globally so we could use it in any component?
I'm following https://github.com/angular/material2/blob/master/guides/theming-your-components.md at the moment, but it means I need to stick the imports on top of all the components. Having access to a global primary | accent | warn would be great
Activity
david-kerwick commentedon Jan 13, 2017
Would it be possible to expose this globally so we could use it in any component?
I'm following https://github.com/angular/material2/blob/master/guides/theming-your-components.md at the moment, but it means I need to stick the imports on top of all the components. Having access to a global
primary | accent | warnwould be greatdevversion commentedon Jan 30, 2017
Would be weird to have a shared code for the theme classes- because we would need our renderer from the DI in that utility. Let's revisit this later.
build: increase minimum angular version
build: increase minimum angular version
refactor: add themeable base class
refactor: add themeable base class
build: increase minimum angular version (#3017)
refactor: add themeable base class
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.