Move theme alterations to global CSS file
This commit is contained in:
@@ -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 */
|
/* 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 {
|
.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);
|
color: var(--mdc-theme-primary);
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
<!-- import local styling & scripts -->
|
<!-- import local styling & scripts -->
|
||||||
<script src="script.js"></script>
|
<script src="script.js"></script>
|
||||||
<script src="/assets/global.js"></script>
|
<script src="/assets/global.js"></script>
|
||||||
<link href="style.css" rel="stylesheet">
|
|
||||||
<link href="/assets/global.css" rel="stylesheet">
|
<link href="/assets/global.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
:root {
|
|
||||||
--mdc-theme-primary: #00adb4;
|
|
||||||
--mdc-theme-secondary: #d84315;
|
|
||||||
}
|
|
||||||
.mdc-text-field-helper-text {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user