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

@ -119,7 +119,7 @@ useTooltip(buttonEl, async (showing) => {
margin: 2px;
padding: 0 6px;
font-size: 1.5em;
border-radius: 6px;
border-radius: var(--radius-sm);
&.canToggle {
background: var(--buttonBg);
@ -136,7 +136,7 @@ useTooltip(buttonEl, async (showing) => {
&.small {
height: 32px;
font-size: 1em;
border-radius: 4px;
border-radius: var(--radius-xs);
> .count {
font-size: 0.9em;
@ -147,7 +147,7 @@ useTooltip(buttonEl, async (showing) => {
&.large {
height: 52px;
font-size: 2em;
border-radius: 8px;
border-radius: var(--radius-sm);
> .count {
font-size: 0.6em;