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 }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
feat: Rename all occurences of property accent to secondary (#139)
In the MD spec, "accent" color was renamed to "secondary" to be more semantically correct.
* Rename `button` property `accent` to `secondary`
* Rename `icon-toggle` property `accent` to `secondary`
* Rename `linear-progress` property `accent` to `secondary`
* Rename `tab-bar` property `accentColor` to `secondary`
* Rename `tab-bar` property `primaryColor` to `primary`
* Update documentation and examples
BREAKING CHANGE:
The `accent` property on Button, Icon-toggle, Linear-progress was renamed to `secondary`.
The `accentColor` and `primaryColor` properties on Tabs was renamed to `accent` and `primary`.
Closes#138
[<spanstyle="color:#e0c589">raised</span>]=<spanstyle="color:#65b042">"true"</span>></span>Compact and Raised<spanstyle="color:#e0c589"></<spanstyle="color:#e0c589">button</span>></span>
119
119
</pre>
120
-
<buttonmdc-button[accent]="true" [raised]="true">Accent and Raised</button>
120
+
<buttonmdc-button[secondary]="true" [raised]="true">Secondary Color and Raised</button>
[<spanstyle="color:#e0c589">raised</span>]=<spanstyle="color:#65b042">"true"</span>></span>Accent and Raised<spanstyle="color:#e0c589"></<spanstyle="color:#e0c589">button</span>></span>
[<spanstyle="color:#e0c589">raised</span>]=<spanstyle="color:#65b042">"true"</span>></span>Secondary Color and Raised<spanstyle="color:#e0c589"></<spanstyle="color:#e0c589">button</span>></span>
124
124
</pre>
125
125
<buttonmdc-button[primary]="true" [raised]="true">Primary and Raised</button>
<spanstyle="color:#89bdff">labelOn</span>=<spanstyle="color:#65b042">"Add to Favorites"</span><spanstyle="color:#89bdff">labelOff</span>=<spanstyle="color:#65b042">"Remove from Favorites"</span>></span>
0 commit comments