#[SOLVED] Input doesn't apply default theme

1 messages · Page 1 of 1 (latest)

maiden hawk
#

Hi!

When theming my app, I noticed that attribute
color={"default"} is not applied in the background.

Here is an excerpt of my theme code :

 nextui({
    themes: {
        dark: {
            colors: {
                background: "#18181b",
                default: {
                    foreground: "#DFDDFE",
                    DEFAULT: "#4440D3", // Indigo
                },
                primary: {
                    foreground: "#DFDDFE",
                    DEFAULT: "#4440D3", // Indigo
                },
[...]

You can notice in the screenshot I shared, a part of the default theme is applied (text-foreground, when hover on button it applies indigo).

Note: If I change the attribute to "primary" the background is working.

Thanks in advanced for your help.

maiden hawk
#

Finally that's because I didn't set 50 to 900 colors 🙂