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

fix(dialog): apply foreground color and automatically detect theme #8723

Conversation

devversion
Copy link
Member

  • Apply the missing foreground color on the md-dialog element
  • Automatically detect the theme from the targetEvent property.
    • Developers are still able to overwrite the theme (as before)
    • Theme will fallback to the default theme (as before)
    • If targetEvent is specified, it will use the mdTheme controller to lookup for a changed theme

Fixes #8719.

* Apply the missing foreground color on the md-dialog element
* Automatically detect the theme from the `targetEvent` property.
  - Developers are still able to overwrite the theme (as before)
  - Theme will fallback to the default theme (as before)
  - If `targetEvent` is specified, it will use the `mdTheme` controller to lookup for a changed theme

Fixes angular#8719.
@devversion devversion added the needs: review This PR is waiting on review from the team label Jun 10, 2016
@ThomasBurleson
Copy link
Contributor

@ErinCoughlan - can you review and test ?

@ThomasBurleson ThomasBurleson added this to the 1.1.0 milestone Jun 10, 2016
@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Jun 11, 2016
@devversion devversion deleted the fix/dialog-detect-theme-foreground branch June 11, 2016 15:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants