File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ import { getExternalImageStylesFromUrl } from "theme/externalImages";
18
18
import { cn } from "utils/cn" ;
19
19
20
20
const avatarVariants = cva (
21
- "relative flex shrink-0 overflow-hidden rounded border border-solid bg-surface-secondary text-content-secondary" <
8000
span class="pl-kos">,
21
+ "relative flex shrink-0 overflow-hidden border border-solid bg-surface-secondary text-content-secondary" ,
22
22
{
23
23
variants : {
24
24
size : {
25
- lg : "h-[--avatar-lg] w-[--avatar-lg] rounded-[6px] text-sm font-medium" ,
26
- md : "h-[--avatar-default] w-[--avatar-default] text-2xs" ,
27
- sm : "h-[--avatar-sm] w-[--avatar-sm] text-[8px]" ,
25
+ lg : "h-[--avatar-lg] w-[--avatar-lg] text-sm font-medium rounded-sm " ,
26
+ md : "h-[--avatar-default] w-[--avatar-default] text-2xs rounded-xs " ,
27
+ sm : "h-[--avatar-sm] w-[--avatar-sm] text-[8px] rounded-xs " ,
28
28
} ,
29
29
variant : {
30
30
default : null ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { cn } from "utils/cn";
9
9
10
10
export const buttonVariants = cva (
11
11
`inline-flex items-center justify-center gap-1 whitespace-nowrap
12
- border-solid rounded-md transition-colors min-w-20
12
+ border-solid rounded-sm transition-colors min-w-20
13
13
text-sm font-semibold font-medium cursor-pointer no-underline
14
14
focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-content-link
15
15
disabled:pointer-events-none disabled:text-content-disabled
Original file line number Diff line number Diff line change 27
27
--border-default : 240 6% 90% ;
28
28
--border-success : 142 76% 36% ;
29
29
--border-destructive : 0 84% 60% ;
30
- --radius : 0.5rem ;
31
30
--chart-1 : 12 76% 61% ;
32
31
--chart-2 : 173 58% 39% ;
33
32
--chart-3 : 197 37% 24% ;
Original file line number Diff line number Diff line change @@ -19,9 +19,15 @@ module.exports = {
19
19
"3xl" : [ "2rem" , "2.5rem" ] ,
20
20
} ,
21
21
borderRadius : {
22
- lg : "var(--radius)" ,
23
- md : "calc(var(--radius) - 2px)" ,
24
- sm : "calc(var(--radius) - 4px)" ,
22
+ // In Tailwind's border radius configuration, the default value differs
23
+ // from the `md` size. In our setup, the default value should align with
24
+ // `md`.
25
+ DEFAULT : "0.5rem" ,
26
+ lg : "0.75rem" ,
27
+ md : "0.5rem" ,
28
+ sm : "0.375rem" ,
29
+ xs : "0.25rem" ,
30
+ xxs : "0.125rem" ,
25
31
} ,
26
32
colors : {
27
33
content : {
You can’t perform that action at this time.
0 commit comments