diff --git a/.changeset/proud-fireants-double.md b/.changeset/proud-fireants-double.md new file mode 100644 index 00000000..816830f2 --- /dev/null +++ b/.changeset/proud-fireants-double.md @@ -0,0 +1,5 @@ +--- +"@kobalte/tailwindcss": patch +--- + +fix: remove tailwind warnings diff --git a/packages/tailwindcss/src/colors.ts b/packages/tailwindcss/src/colors.ts index 7904f5eb..098f1077 100644 --- a/packages/tailwindcss/src/colors.ts +++ b/packages/tailwindcss/src/colors.ts @@ -7,6 +7,12 @@ */ export const DEFAULT_COLORS = { + inherit: "inherit", + current: "currentColor", + transparent: "transparent", + black: "#000", + white: "#fff", + /* Pure gray. */ gray: { 50: "#fafafa", diff --git a/packages/tailwindcss/src/index.ts b/packages/tailwindcss/src/index.ts index 330aeaa5..cf75f679 100644 --- a/packages/tailwindcss/src/index.ts +++ b/packages/tailwindcss/src/index.ts @@ -6,7 +6,6 @@ * https://github.com/tailwindlabs/headlessui/blob/8e1e19f94c28af68c05becc80bf89575e1fa1d36/packages/@headlessui-tailwindcss/src/index.ts */ -import twColors from "tailwindcss/colors"; import plugin from "tailwindcss/plugin"; import { DEFAULT_COLORS } from "./colors"; @@ -95,7 +94,6 @@ export default plugin.withOptions( return { theme: { colors: { - ...twColors, ...DEFAULT_COLORS, }, },