When extending colors, the default value equals a generated class name with no suffix:
colors: {
blue: {
DEFAULT: '#02427e', // -> text-blue
light: '#00eff9', // -> text-blue-light
}
}- Official setup guide for Next.js
- Functions and directives
- Default theme
- Tailwind CSS IntelliSense β Visual Studio Code
- Tailwind CSS Typography (Plugin) β Add beautiful typographic defaults to any vanilla HTML you don't control
- Tailwind CSS Custom Forms (Plugin) β Better starting point for form elements