-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share methods to set the theme color classes #2394
Comments
Would it be possible to expose this globally so we could use it in any component? |
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. |
* Currently Angular Material supports Angular v2.2.0, but some components already use methods that are only available in `v2.3.0`. This means that Material isn't really compatible with v2.2.0 anymore. * Since Angular `v.2.3.0` includes a lot of good fixes (like proper metadata inheritance) we should upgrade to `v2.3.0`. See angular/angular@f5c8e09 Related to angular#2394
* Currently Angular Material supports Angular v2.2.0, but some components already use methods that are only available in `v2.3.0`. This means that Material isn't really compatible with v2.2.0 anymore. * Since Angular `v.2.3.0` includes a lot of good fixes (like proper metadata inheritance) we should upgrade to `v2.3.0`. See angular/angular@f5c8e09 Related to angular#2394
* Introduces a new `MdThemeable` base class that can be extended by different components to automatically support the `color` input. * This reduces a lot of repeated code in the different components and it also simplifies maintaining. Closes angular#2394.
* Introduces a new `MdThemeable` base class that can be extended by different components to automatically support the `color` input. * This reduces a lot of repeated code in the different components and it also simplifies maintaining. Closes angular#2394.
* Currently Angular Material supports Angular v2.2.0, but some components already use methods that are only available in `v2.3.0`. This means that Material isn't really compatible with v2.2.0 anymore. * Since Angular `v.2.3.0` includes a lot of good fixes (like proper metadata inheritance) we should upgrade to `v2.3.0`. See angular/angular@f5c8e09 Related to #2394
* Introduces a new `MdThemeable` base class that can be extended by different components to automatically support the `color` input. * This reduces a lot of repeated code in the different components and it also simplifies maintaining. Closes angular#2394.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
We need to find a way to share the methods, which apply the theme color classes on the components.
primary | accent | warn
The text was updated successfully, but these errors were encountered: