Skip to content

Commit 12c0fee

Browse files
committed
Fix header dark mode when subheading is present
1 parent 30f6e4c commit 12c0fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/ui/Heading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const tag = computed(() => {
2121
});
2222
2323
const classes = cva({
24-
base: 'font-medium [&:has(+[data-ui-subheading])]:mb-0.5 [&:has(+[data-ui-subheading])]:text-gray-950 antialiased flex items-center gap-2',
24+
base: 'font-medium [&:has(+[data-ui-subheading])]:mb-0.5 [&:has(+[data-ui-subheading])]:text-gray-950 dark:[&:has(+[data-ui-subheading])]:text-white antialiased flex items-center gap-2',
2525
variants: {
2626
size: {
2727
base: 'text-sm tracking-tight text-gray-700 dark:text-white',

0 commit comments

Comments
 (0)