Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(colors): using default palette and defined palettes from $mdTheming #8061

Closed
wants to merge 1 commit into from

Conversation

EladBezalel
Copy link
Member

  • replaced 'default' to use the actual defined palette from $mdTheming
  • $mdColorPalette didn't reflected the registered palettes from $mdTheming, made $mdTheming expose it's registered palettes
  • added documentation to $mdColors service

fixes #8036 #8043 #8044

- replaced `'default'` to use the actual defined palette from `$mdTheming`
- `$mdColorPalette` didn't reflected the registered palettes from `$mdTheming`, made `$mdTheming` expose it's registered palettes
- added documentation to `$mdColors` service

fixes #8036 #8043 #8044
@EladBezalel EladBezalel added the needs: review This PR is waiting on review from the team label Apr 15, 2016
@@ -353,6 +353,7 @@ function ThemingProvider($mdColorPalette) {
};

applyTheme.THEMES = angular.extend({}, THEMES);
applyTheme.PALETTES = angular.extend({}, PALETTES);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you duplicating the Palette structures ?

@EladBezalel EladBezalel deleted the fix/colors-default-palettes branch April 16, 2016 12:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: review This PR is waiting on review from the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs(colors): document $mdColors service
3 participants