diff --git a/sources/@roots/bud-tailwindcss-theme-json/src/tailwind/palette.ts b/sources/@roots/bud-tailwindcss-theme-json/src/tailwind/palette.ts index 5b5dbb3026..0ad84dd7f7 100644 --- a/sources/@roots/bud-tailwindcss-theme-json/src/tailwind/palette.ts +++ b/sources/@roots/bud-tailwindcss-theme-json/src/tailwind/palette.ts @@ -34,7 +34,7 @@ export interface transformEntry { (slug: Array, color: string): WordPressColors[any] } export const transformEntry: transformEntry = (slug, color) => ({ - color: color.toLowerCase(), + color: color.toLowerCase().replace(//g, `1`), name: name(slug), slug: slug.join(`-`).toLowerCase(), })