slopus--happy
98e40dac97
CLI Smoke Test / smoke-test-linux (20) (push) Has been cancelled
CLI Smoke Test / smoke-test-linux (24) (push) Has been cancelled
CLI Smoke Test / smoke-test-windows (20) (push) Has been cancelled
CLI Smoke Test / smoke-test-windows (24) (push) Has been cancelled
Expo App TypeScript typecheck / typecheck (push) Has been cancelled
31 行
720 B
CSS
31 行
720 B
CSS
.theme-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px;
|
|
border-radius: 999px;
|
|
background: var(--color-button-bg);
|
|
border: 1px solid var(--color-border);
|
|
gap: 2px;
|
|
}
|
|
|
|
.theme-switch__option {
|
|
padding: 4px 12px;
|
|
border-radius: 999px;
|
|
font-size: var(--text-xs);
|
|
color: var(--color-text-foreground-secondary);
|
|
background: transparent;
|
|
transition:
|
|
background 120ms ease,
|
|
color 120ms ease;
|
|
}
|
|
|
|
.theme-switch__option:hover {
|
|
color: var(--color-text-foreground);
|
|
}
|
|
|
|
.theme-switch__option--active {
|
|
background: var(--color-background-panel);
|
|
color: var(--color-text-foreground);
|
|
box-shadow: 0 0 0 1px var(--color-border-light);
|
|
}
|