twind/colors exposes all Taiwlind v2 colors as named exports.
twind/colors
import * as colors from 'twind/colors' setup({ theme: { colors: { // Build your palette here gray: colors.trueGray, red: colors.red, blue: colors.lightBlue, yellow: colors.amber, }, }, })
To extend the existing color palette use theme.extend:
theme.extend
import * as colors from 'twind/colors' setup({ theme: { extend: { colors, }, }, })
Generated using TypeDoc
twind/colors
exposes all Taiwlind v2 colors as named exports.To extend the existing color palette use
theme.extend
: