Make --color-opacity variable "private", tweak switch style

This commit is contained in:
daudix
2024-09-02 01:53:02 +03:00
parent 2c110393c3
commit b6b2639373
8 changed files with 44 additions and 97 deletions

View File

@ -87,12 +87,12 @@ input[type="checkbox"] {
}
&.switch {
vertical-align: -0.625rem;
vertical-align: -0.375rem;
box-shadow: var(--edge-highlight);
border: none;
border-radius: 999px;
width: 3rem;
height: 2rem;
width: 2.5rem;
height: 1.5rem;
&::before {
-webkit-mask-image: none;
@ -106,8 +106,8 @@ input[type="checkbox"] {
box-shadow: var(--shadow);
border-radius: 50%;
background-color: white;
width: 1.5rem;
height: 1.5rem;
width: 1rem;
height: 1rem;
}
&:checked {