From 395571bd89498fce46d37f3853cf718387fd0d9a Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 27 Dec 2021 11:20:26 +0100 Subject: chore: add a theme toggle Dark theme is not implemented yet. --- src/components/Buttons/Buttons.module.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/components/Buttons/Buttons.module.scss') diff --git a/src/components/Buttons/Buttons.module.scss b/src/components/Buttons/Buttons.module.scss index fb93d5a..9f046d2 100644 --- a/src/components/Buttons/Buttons.module.scss +++ b/src/components/Buttons/Buttons.module.scss @@ -2,7 +2,6 @@ .btn { display: block; - margin: auto; border: none; font-size: var(--font-size-md); } @@ -81,7 +80,8 @@ } } -.search { +.search, +.theme { display: block; width: var(--btn-size); height: var(--btn-size); @@ -125,7 +125,8 @@ z-index: 10; } -.search--opened { +.search--opened, +.theme--opened { .icon { transform: rotateY(180deg); } -- cgit v1.2.3