NuxtN
Nuxtβ€’14mo agoβ€’
5 replies
Omnislash

NuxtUI Input placeholder/italic

Hello πŸ™‚

I use NuxtUI, I would like my inputs to have their placeholder in italic but not the entered text.

Here is my app.config.ts :
        input: {
            placeholder: 'italic',
            base: 'not-italic',
            white: {
                outline: 'bg-transparent dark:bg-transparent',
            }
        },


Right now, it says in italic the whole time.

I tried :
- base: '!not-italic' -> The placeholder is not in italic either anymore
- Adding not-italic in the white.outline -> No change, using important or not

An idea ^^" ?
Thanks
Was this page helpful?