You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I need to change for example just my primary color run time. In case I have the below code in tailwind.config.js class, I want to add a feature to the theme manager that could change just the primary variable color to colors.blue[600] or anything else by end-user without changing the current theme.
What do you think I should do?
const themes = {
// Default theme is required for theming system to work correctly!
default: {
primary: {
...colors.slate,
DEFAULT: colors.slate[500],
},
secondary: {
...colors.lime,
DEFAULT: colors.lime[500],
}
}
The text was updated successfully, but these errors were encountered:
Hi, I need to change for example just my primary color run time. In case I have the below code in tailwind.config.js class, I want to add a feature to the theme manager that could change just the primary variable color to colors.blue[600] or anything else by end-user without changing the current theme.
What do you think I should do?
const themes = {
// Default theme is required for theming system to work correctly!
default: {
primary: {
...colors.slate,
DEFAULT: colors.slate[500],
},
secondary: {
...colors.lime,
DEFAULT: colors.lime[500],
}
}
The text was updated successfully, but these errors were encountered: