Joshua Gerke
With custom Colors all texts are black
okay maybe some community members can help me out here, some of the tailwind colors are not working and some are working. i want to add all tailwind colors to my color list so i can use "UButton color="anyTailwindColor"" here
16 replies
With custom Colors all texts are black
@kapa.ai okay strange thing is when i set purple to purple the text is white, when i set purple to violet the text is violet. but in tailwind Purple exist?
https://tailwindcss.com/docs/colors#color-palette-reference
16 replies
With custom Colors all texts are black
@kapa.ai
when i add this in app.config.ts:
primary: 'sky',
secondary: 'emerald',
and this in nuxt.config.ts:
'primary',
'secondary',
it works. but with this all texts are white:
app.config.ts:
colors: {
primary: 'sky',
secondary: 'emerald',
slate: 'slate',
gray: 'gray',
zinc: 'zinc',
stone: 'stone',
red: 'red',
orange: 'orange',
amber: 'amber',
yellow: 'yellow',
lime: 'lime',
green: 'green',
emerald: 'emerald',
teal: 'teal',
cyan: 'cyan',
sky: 'sky',
blue: 'blue',
indigo: 'indigo',
violet: 'violet',
purple: 'purple',
fuchsia: 'fuchsia',
pink: 'pink',
rose: 'rose',
},
nuxt.config.ts:
colors: [
'primary',
'secondary',
'slate',
'gray',
'zinc',
'stone',
'red',
'orange',
'amber',
'yellow',
'lime',
'green',
'emerald',
'teal',
'cyan',
'sky',
'blue',
'indigo',
'violet',
'purple',
'fuchsia',
'pink',
'rose',
],
16 replies