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..2acb8042b6 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(), })