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

Commit 59dfce6

Browse files
EladBezalelThomasBurleson
authored andcommitted
fix(a): default accent color removed
- Moved default accent color to `md-accent` class as we don't want to force accent color on a element fixed #7879 Closes #7891
1 parent da48b6c commit 59dfce6

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

docs/app/partials/home.tmpl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h2 class="md-headline">What about Angular 2?</h2>
103103
<md-divider></md-divider>
104104
<p class="md-caption" style="text-align: center; margin-bottom: 0;">
105105
These docs were generated from
106-
(<a ng-href="{{BUILDCONFIG.repository}}/{{menu.version.current.github}}" target="_blank">
106+
(<a ng-href="{{BUILDCONFIG.repository}}/{{menu.version.current.github}}" target="_blank" class="md-accent" >
107107
v{{BUILDCONFIG.version}} - SHA {{BUILDCONFIG.commit.substring(0,7)}}</a>)
108108
on (<strong>{{BUILDCONFIG.date}}</strong>) GMT.
109109
</p>

docs/config/template/index.template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ <h2 class="md-toolbar-item md-breadcrumb md-headline">
159159
<div layout="row" flex="noshrink">
160160
<div id="license-footer">
161161
Powered by Google &copy;2014&#8211;{{thisYear}}.
162-
Code licensed under the <a href="./license">MIT License</a>.
162+
Code licensed under the <a href="./license" class="md-accent" >MIT License</a>.
163163
Documentation licensed under
164-
<a href="http://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a>.
164+
<a href="http://creativecommons.org/licenses/by/4.0/" class="md-accent" target="_blank">CC BY 4.0</a>.
165165
</div>
166166
</div>
167167
</md-content>

src/components/button/button-theme.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ a.md-THEME_NAME-theme:not(.md-button) {
164164
color: '{{primary-700}}';
165165
}
166166
}
167+
168+
&.md-accent {
169+
color: '{{accent-color}}';
170+
171+
&:hover {
172+
color: '{{accent-700}}';
173+
}
174+
}
167175

168176
&.md-accent {
169177
color: '{{accent-color}}';

0 commit comments

Comments
 (0)