File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
packages/kit-styled/src/components/modal Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @qwik-ui/styled ' : patch
3
+ ---
4
+
5
+ REFACTOR styled modal: change Title and Description classes
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const Title = component$<PropsOf<'h2'>>(({ ...props }) => {
28
28
return (
29
29
< HeadlessModal . Title
30
30
{ ...props }
31
- class = { cn ( 'flex flex-col space-y-1.5 text-center sm:text-left ' , props . class ) }
31
+ class = { cn ( 'text-lg font-semibold tracking-tight ' , props . class ) }
32
32
>
33
33
< Slot />
34
34
</ HeadlessModal . Title >
@@ -37,7 +37,10 @@ const Title = component$<PropsOf<'h2'>>(({ ...props }) => {
37
37
38
38
const Description = component$ < PropsOf < 'p' > > ( ( { ...props } ) => {
39
39
return (
40
- < HeadlessModal . Description { ...props } class = { cn ( 'text-sm font-light' , props . class ) } >
40
+ < HeadlessModal . Description
41
+ { ...props }
42
+ class = { cn ( 'text-sm text-muted-foreground' , props . class ) }
43
+ >
41
44
< Slot />
42
45
</ HeadlessModal . Description >
43
46
) ;
You can’t perform that action at this time.
0 commit comments