From 933b25319394928415ee17ddf3d5ef94e1305020 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Sat, 17 Nov 2018 19:57:22 +0000 Subject: [PATCH] Move theme alterations to global CSS file --- assets/global.css | 6 ++++++ luhn-algorithm/index.html | 1 - luhn-algorithm/style.css | 7 ------- 3 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 luhn-algorithm/style.css diff --git a/assets/global.css b/assets/global.css index f9e9f13..ae2cd79 100644 --- a/assets/global.css +++ b/assets/global.css @@ -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); diff --git a/luhn-algorithm/index.html b/luhn-algorithm/index.html index a26d68e..b7bd72f 100644 --- a/luhn-algorithm/index.html +++ b/luhn-algorithm/index.html @@ -41,7 +41,6 @@ - diff --git a/luhn-algorithm/style.css b/luhn-algorithm/style.css deleted file mode 100644 index a14e73f..0000000 --- a/luhn-algorithm/style.css +++ /dev/null @@ -1,7 +0,0 @@ -:root { - --mdc-theme-primary: #00adb4; - --mdc-theme-secondary: #d84315; -} -.mdc-text-field-helper-text { - margin-bottom: 10px; -}