Move theme alterations to global CSS file

This commit is contained in:
Matthew Grove
2018-11-17 19:57:22 +00:00
parent d7d926d961
commit 933b253193
3 changed files with 6 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
/* change them */
:root {
--mdc-theme-primary: #00adb4;
--mdc-theme-secondary: #d84315;
}
/* implement colour theme on elements that don't have it applied by default */
.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label, .mdc-list-item--activated .mdc-list-item__text, .mdc-drawer .mdc-list-item--activated .mdc-list-item__graphic {
color: var(--mdc-theme-primary);

View File

@@ -41,7 +41,6 @@
<!-- import local styling & scripts -->
<script src="script.js"></script>
<script src="/assets/global.js"></script>
<link href="style.css" rel="stylesheet">
<link href="/assets/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->

View File

@@ -1,7 +0,0 @@
:root {
--mdc-theme-primary: #00adb4;
--mdc-theme-secondary: #d84315;
}
.mdc-text-field-helper-text {
margin-bottom: 10px;
}