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);