Shared
Tailwind
config for internal use in the telegraph project.
npm install @telegraph/tailwind-config
tailwind.config.mts
import tailwindConfig from "@telegraph/tailwind-config";
export default {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
extend: {},
presets: [tailwindConfig],
};
Config will require that a wrapping element containing
className="tgph"
be wrapping any Telegraph component