-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(card): add color
property to md-card.md-THEME_NAME-theme
style
#7689
Conversation
@@ -1,7 +1,7 @@ | |||
<div ng-controller="AppCtrl" ng-cloak > | |||
<md-content class="md-padding" layout-xs="column" layout="row"> | |||
<div flex-xs flex-gt-xs="50" layout="column"> | |||
<md-card> | |||
<md-card md-theme="dark"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, it looks a bit weird in the demos, when the first card is dark. In my opinion it would be awesome if we have a checkbox, which toggles the dark theme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I like that and perhaps with multiple themes with different light/dark contrasting values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I suggest only default
and default-dark
Cool thanks, should I write "Depends on" or anything to signify that? |
@ilovett |
948f67a
to
a09a3b9
Compare
@ilovett Great, so this PR is depending on two others? Maybe you can update the description if so. |
a09a3b9
to
9e20c92
Compare
Rebased on upstream/master after merge of #7686 , added different background colors. |
…e definition Closes angular#7687
9e20c92
to
0c3e2fa
Compare
…eme` style definition * adds `color: '{{foreground-1}}';` Closes angular#7687. Closes angular#7689
Depends on #7693
Depends on #7686
Closes #7687