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

Commit 901c3fc

Browse files
fix(themes): anchor theme colors are scoped to _md components
1 parent f0425ed commit 901c3fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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" layout-align="center center">
160160
<div id="license-footer" flex>
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/" target="_blank" class="md-default-theme md-accent">CC BY 4.0</a>.
165165
</div>
166166
</div>
167167
</md-content>

src/components/button/button-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156
}
157157
}
158158

159-
a.md-THEME_NAME-theme:not(.md-button),
160-
._md a:not(.md-button) {
159+
160+
._md a.md-THEME_NAME-theme:not(.md-button) {
161161
&.md-primary {
162162
color: '{{primary-color}}';
163163

0 commit comments

Comments
 (0)