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

@ -241,7 +241,7 @@ onBeforeUnmount(() => {
&.asDrawer {
padding: 12px 0 max(env(safe-area-inset-bottom, 0px), 12px) 0;
width: 100%;
border-radius: 24px;
border-radius: var(--radius-lg);
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
@ -251,7 +251,7 @@ onBeforeUnmount(() => {
&:before {
width: calc(100% - 24px);
border-radius: 12px;
border-radius: var(--radius);
}
> .icon {
@ -290,7 +290,7 @@ onBeforeUnmount(() => {
margin: auto;
width: calc(100% - 16px);
height: 100%;
border-radius: 6px;
border-radius: var(--radius-sm);
}
&:not(:disabled):hover {