From de55e2b6e28da7bd7d0652e3f77a8fd45e1f46dc Mon Sep 17 00:00:00 2001 From: jonstieglitz Date: Tue, 28 Sep 2021 10:08:16 +0100 Subject: [PATCH 1/2] The selected state of the button was reversed from what it should be --- setupTest.js | 1 + src/sass/index.css | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 setupTest.js diff --git a/setupTest.js b/setupTest.js new file mode 100644 index 0000000..adabcfb --- /dev/null +++ b/setupTest.js @@ -0,0 +1 @@ +import '@testing-library/jest-dom/extend-expect' \ No newline at end of file diff --git a/src/sass/index.css b/src/sass/index.css index 2c93cd5..48375a9 100644 --- a/src/sass/index.css +++ b/src/sass/index.css @@ -701,21 +701,21 @@ a { margin-right: 1em; } -.section .section__temperature__button--selected { +.section .section__temperature__button--unselected { background: #585676; color: #e7e7eb; } -.section .section__temperature__button--selected:active { +.section .section__temperature__button--unselected:active { background: #a09fb1; } -.section .section__temperature__button--unselected { +.section .section__temperature__button--selected { background: #e7e7eb; color: #110e3c; } -.section .section__temperature__button--unselected:active { +.section .section__temperature__button--selected:active { background: #585676; color: #e7e7eb; } From 64a0d8f6e3b022ca2814a132d17e45de506c6d1c Mon Sep 17 00:00:00 2001 From: jonstieglitz Date: Tue, 28 Sep 2021 10:09:44 +0100 Subject: [PATCH 2/2] accidental file add --- setupTest.js | 1 - 1 file changed, 1 deletion(-) delete mode 100644 setupTest.js diff --git a/setupTest.js b/setupTest.js deleted file mode 100644 index adabcfb..0000000 --- a/setupTest.js +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect' \ No newline at end of file