8000 Set color-scheme on input fields · activeadmin/activeadmin@fbb71f8 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit fbb71f8

Browse files
committed
Set color-scheme on input fields
Use v4's `scheme-dark` to fix icon colors on some native inputs Ref: https://v3.tailwindcss.com/docs/v4-beta#color-scheme-utilities
1 parent cf5af19 commit fbb71f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export default plugin(
4747
'textarea',
4848
'select',
4949
]]: {
50+
'@apply dark:scheme-dark': {},
5051
appearance: 'none',
5152
'background-color': '#fff',
5253
'border-color': theme('colors.gray.500', colors.gray[500]),

0 commit comments

Comments
 (0)
0