Skip to content

Commit

Permalink
fix: css not apply
Browse files Browse the repository at this point in the history
  • Loading branch information
hngngn committed Feb 14, 2024
1 parent da82467 commit 00f4223
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions apps/www/tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { fontFamily } = require("tailwindcss/defaultTheme")
const { fontFamily } = require("tailwindcss/defaultTheme");

/** @type {import('tailwindcss').Config} */
export default {
Expand All @@ -8,15 +8,16 @@ export default {
"src/components/**/*.{ts,tsx}",
"src/registry/**/*.{ts,tsx}",
"src/app.tsx",
"src/contents/docs/**/*.mdx"
],
theme: {
extend: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
"2xl": "1400px"
}
},
colors: {
border: "hsl(var(--border))",
Expand All @@ -26,66 +27,66 @@ export default {
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
foreground: "hsl(var(--primary-foreground))"
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
foreground: "hsl(var(--secondary-foreground))"
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
foreground: "hsl(var(--destructive-foreground))"
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
foreground: "hsl(var(--muted-foreground))"
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
foreground: "hsl(var(--accent-foreground))"
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
foreground: "hsl(var(--popover-foreground))"
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
foreground: "hsl(var(--card-foreground))"
}
},
borderRadius: {
lg: `var(--radius)`,
md: `calc(var(--radius) - 2px)`,
sm: "calc(var(--radius) - 4px)",
sm: "calc(var(--radius) - 4px)"
},
fontFamily: {
sans: ["Inter Variable", ...fontFamily.sans],
sans: ["Inter Variable", ...fontFamily.sans]
},
keyframes: {
"accordion-down": {
from: { height: 0 },
to: { height: "var(--kb-accordion-content-height)" },
to: { height: "var(--kb-accordion-content-height)" }
},
"accordion-up": {
from: { height: "var(--kb-accordion-content-height)" },
to: { height: 0 },
to: { height: 0 }
},
"collapsible-down": {
from: { height: 0 },
to: { height: "var(--kb-collapsible-content-height)" },
to: { height: "var(--kb-collapsible-content-height)" }
},
"collapsible-up": {
from: { height: "var(--kb-collapsible-content-height)" },
to: { height: 0 },
},
to: { height: 0 }
}
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"collapsible-down": "collapsible-down 0.2s ease-out",
"collapsible-up": "collapsible-up 0.2s ease-out",
},
},
"collapsible-up": "collapsible-up 0.2s ease-out"
}
}
},
plugins: [require("tailwindcss-animate")],
}
plugins: [require("tailwindcss-animate")]
};

0 comments on commit 00f4223

Please sign in to comment.