Skip to content

Commit

Permalink
Update sources/@roots/bud-tailwindcss-theme-json/src/tailwind/palette.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kelly Mears <[email protected]>
  • Loading branch information
StudioRectangle and kellymears authored Jul 10, 2023
1 parent bf8b84f commit 622ce59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface transformEntry {
(slug: Array<string>, color: string): WordPressColors[any]
}
export const transformEntry: transformEntry = (slug, color) => ({
color: color.toLowerCase().replace(/\/ <alpha-value>/g, '/ 1'),
color: color.toLowerCase().replace(/<alpha-value>/g, `1`),
name: name(slug),
slug: slug.join(`-`).toLowerCase(),
})
Expand Down

0 comments on commit 622ce59

Please sign in to comment.