nakama/frontend/src/components/ThemeToggle.css

27 lines
447 B
CSS
Raw Normal View History

2025-11-03 20:35:01 +00:00
.theme-toggle {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
border-radius: 12px;
background: var(--bg-primary);
color: var(--text-primary);
font-size: 15px;
font-weight: 500;
transition: all 0.2s;
}
.theme-toggle:active {
transform: scale(0.95);
background: var(--divider-color);
}
.theme-toggle svg {
transition: transform 0.3s ease;
}
.theme-toggle:active svg {
transform: rotate(180deg);
}