typebot.io/packages/ui/tailwind.config.ts
Baptiste Arnaud bbb5a791a1
🚸 Allow for custom text in OpenRouter and Together blocks
Introducing the new AutocompleteForgeInput that uses the Combobox component from Ark UI. Also consolidates the theming config in ui package
2025-03-20 12:44:43 +01:00

44 lines
1021 B
TypeScript

import type { Config } from "tailwindcss";
import animate from "tailwindcss-animate";
export default {
darkMode: "selector",
content: ["src/**/*.{ts,tsx}"],
future: {
hoverOnlyWhenSupported: true,
},
theme: {
colors: {
gray: getColorScale("gray"),
blue: getColorScale("blue"),
orange: getColorScale("orange"),
purple: getColorScale("purple"),
red: getColorScale("red"),
white: "rgb(255, 255, 255)",
transparent: "transparent",
inherit: "inherit",
},
extend: {
fontSize: {
"4xl": ["2.5rem", "2.75rem"],
},
fontFamily: {
heading: ["Uxum Grotesque", "sans-serif"],
body: ["Untitled Sans", "sans-serif"],
},
fontWeight: {
inherit: "inherit",
},
},
},
plugins: [animate],
} satisfies Config;
function getColorScale(name: string) {
const scale: Record<string, string> = {};
for (let i = 1; i <= 12; i++) {
scale[i] = `rgb(var(--${name}-${i}))`;
}
return scale;
}