feat(All): 第一版项目
This commit is contained in:
17
src/client/components/ThemeSwitcher.css
Normal file
17
src/client/components/ThemeSwitcher.css
Normal file
@@ -0,0 +1,17 @@
|
||||
.theme-switcher {
|
||||
background: transparent;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
font-size: 1.25rem;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s, transform 0.1s;
|
||||
}
|
||||
|
||||
.theme-switcher:hover {
|
||||
background-color: var(--hover-bg);
|
||||
}
|
||||
|
||||
.theme-switcher:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
Reference in New Issue
Block a user