Skip to content

Commit bddf9ad

Browse files
authored
Merge pull request filamentphp#17243 from pjotrvdh/bugfix/a11y-hint-label-dark-mode
fix hint label color in dark mode
2 parents 62b97f1 + cb3aa5d commit bddf9ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/forms/resources/views/components/field-wrapper/hint.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@class([
1818
'fi-fo-field-wrp-hint-label',
1919
match ($color) {
20-
'gray' => 'text-gray-500',
20+
'gray' => 'text-gray-500 dark:text-gray-400',
2121
default => 'fi-color-custom text-custom-600 dark:text-custom-400',
2222
},
2323
is_string($color) ? "fi-color-{$color}" : null,

packages/infolists/resources/views/components/entry-wrapper/hint.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@class([
1818
'fi-in-entry-wrp-hint-label',
1919
match ($color) {
20-
'gray' => 'text-gray-500',
20+
'gray' => 'text-gray-500 dark:text-gray-400',
2121
default => 'fi-color-custom text-custom-600 dark:text-custom-400',
2222
},
2323
is_string($color) ? "fi-color-{$color}" : null,

0 commit comments

Comments
 (0)