You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
673 B
38 lines
673 B
.theme-toggle {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0.5rem;
|
|
border-radius: 50%;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.theme-icon {
|
|
font-size: 1.25rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.theme-toggle {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 1.5rem;
|
|
padding: 0.5rem;
|
|
border-radius: 50%;
|
|
transition: all var(--transition-speed) ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
background-color: var(--bg-primary);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.theme-toggle:focus {
|
|
outline: 2px solid var(--text-primary);
|
|
outline-offset: 2px;
|
|
} |