diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-27 11:20:26 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-27 11:20:26 +0100 |
| commit | 395571bd89498fce46d37f3853cf718387fd0d9a (patch) | |
| tree | 0b1a405fb82484e31f62f72485feac18ebd29ae2 /src/components/Buttons/Buttons.module.scss | |
| parent | 7deed83dbb8835727c743662bee776794d460e74 (diff) | |
chore: add a theme toggle
Dark theme is not implemented yet.
Diffstat (limited to 'src/components/Buttons/Buttons.module.scss')
| -rw-r--r-- | src/components/Buttons/Buttons.module.scss | 7 |
1 files changed, 4 insertions, 3 deletions
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); } |
