This commit is contained in:
2026-07-05 23:03:23 +02:00
parent b26c3d68a5
commit 5aca925a3e
20 changed files with 2578 additions and 1224 deletions
+25 -6
View File
@@ -2,6 +2,7 @@ import { fontFamily } from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class"],
content: [
"./components/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx}",
@@ -9,8 +10,8 @@ export default {
theme: {
extend: {
fontFamily: {
sans: ['var(--font-inter)'],
mono: ['var(--font-roboto-mono)'],
sans: ["var(--font-sans)", ...fontFamily.sans],
mono: ["var(--font-mono)", ...fontFamily.mono],
},
colors: {
border: 'hsl(var(--border))',
@@ -46,6 +47,14 @@ export default {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))'
},
state: {
idle: 'hsl(var(--state-idle))',
compare: 'hsl(var(--state-compare))',
swap: 'hsl(var(--state-swap))',
sorted: 'hsl(var(--state-sorted))',
pivot: 'hsl(var(--state-pivot))',
range: 'hsl(var(--state-active-range))',
},
},
borderRadius: {
xl: `calc(var(--radius) + 4px)`,
@@ -55,17 +64,27 @@ export default {
},
keyframes: {
"accordion-down": {
from: { height: 0 },
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" }
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: 0 }
}
to: { height: "0" }
},
"pulse-glow": {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0.6" },
},
"fade-up": {
from: { opacity: "0", transform: "translateY(6px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out"
"accordion-up": "accordion-up 0.2s ease-out",
"pulse-glow": "pulse-glow 1.1s ease-in-out infinite",
"fade-up": "fade-up 0.35s ease-out",
},
},
},