@gv-sh/specgen-user
Version:
[](https://github.com/gv-sh/specgen-user)
100 lines (98 loc) • 2.9 kB
JavaScript
module.exports = {
darkMode: ["class"],
content: [
'./src/**/*.{js,jsx,ts,tsx}',
],
theme: {
fontFamily: {
sans: ['Work Sans', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', "Segoe UI", 'Roboto', "Helvetica Neue", 'Arial', "Noto Sans", 'sans-serif', "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"],
},
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
spacing: {
13: '3.25rem',
15: '3.75rem',
17: '4.25rem',
18: '4.5rem',
19: '4.75rem',
22: '5.5rem',
26: '6.5rem',
30: '7.5rem',
34: '8.5rem',
38: '9.5rem',
44: '11rem',
50: '12.5rem',
60: '15rem',
70: '17.5rem',
80: '20rem',
96: '24rem', // already in Tailwind, repeated for clarity
},
keyframes: {
"accordion-down": {
from: { height: 0 },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: 0 },
},
highlight: {
'0%': { backgroundColor: 'hsl(var(--primary) / 0.2)' },
'100%': { backgroundColor: 'transparent' },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
highlight: "highlight 1s ease-out",
},
},
},
plugins: [require("tailwindcss-animate")],
}