upd: implement radius setting

to keep things manageable i merged a lot of one off values into just a
handful of common sizes, so some parts of the ui will look different than
upstream even with the "Misskey" rounding mode
This commit is contained in:
ShittyKopper 2023-10-31 21:44:34 +03:00
parent e33a4d1295
commit ae5d052274
122 changed files with 229 additions and 210 deletions

View file

@ -52,7 +52,7 @@ const toggle = () => {
background: var(--switchOffBg);
background-clip: content-box;
border: solid 1px var(--switchOffBg);
border-radius: 999px;
border-radius: var(--radius-ellipse);
cursor: pointer;
transition: inherit;
user-select: none;
@ -72,7 +72,7 @@ const toggle = () => {
top: 3px;
width: 15px;
height: 15px;
border-radius: 999px;
border-radius: var(--radius-ellipse);
transition: all 0.2s ease;
&:not(.knobChecked) {