summaryrefslogtreecommitdiff
path: root/src/components/shared/ThemeSwitcher.module.css
blob: 919c86cea49916be994492ae9ef785554dd9b73a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
}