diff options
Diffstat (limited to 'src/components/shared/ThemeSwitcher.module.css')
| -rw-r--r-- | src/components/shared/ThemeSwitcher.module.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/components/shared/ThemeSwitcher.module.css b/src/components/shared/ThemeSwitcher.module.css new file mode 100644 index 0000000..919c86c --- /dev/null +++ b/src/components/shared/ThemeSwitcher.module.css @@ -0,0 +1,28 @@ +.iconWrapper { + --sz: 40px; + + width: var(--sz); + height: var(--sz); + display: flex; + justify-content: center; + align-items: center; + + outline: none; + padding: 5px; + color: var(--color-text); + border-radius: 100%; + border: 1px solid transparent; +} +.iconWrapper:hover { + opacity: 0.6; +} +.iconWrapper:focus { + border-color: var(--color-focus-blue); +} + +.themeSwitchContainer { + appearance: none; + user-select: none; + background: none; + cursor: pointer; +} |
