feat(ui): refine Tag and line-height for labels
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
span.tag {
|
span.tag {
|
||||||
@apply flex items-center gap-1 w-fit px-2 py-1 rounded-full;
|
@apply flex items-center gap-1 w-fit px-2 py-[0.1875rem] rounded-full;
|
||||||
@apply bg-def-4;
|
@apply bg-def-4;
|
||||||
|
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
|
|||||||
@@ -56,19 +56,19 @@
|
|||||||
|
|
||||||
&.size-default {
|
&.size-default {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
letter-spacing: 0.02rem;
|
letter-spacing: 0.02rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.size-s {
|
&.size-s {
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
letter-spacing: 0.0175rem;
|
letter-spacing: 0.0175rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.size-xs {
|
&.size-xs {
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
letter-spacing: 0.008125rem;
|
letter-spacing: 0.008125rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -78,19 +78,19 @@
|
|||||||
|
|
||||||
&.size-default {
|
&.size-default {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.size-s {
|
&.size-s {
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.size-xs {
|
&.size-xs {
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user