mirror of
https://github.com/zoo-labs/zoo.git
synced 2026-11-10 22:32:34 +00:00
_app.tsx imported Inter from next/font/google and bound it to --font-inter, while tailwind.config named a bare 'Inter' in the sans stack. Those two never met: next/font generates a HASHED family (__Inter_abc123), so `font-sans` emitted `font-family: Inter` and matched only a machine with Inter installed — everywhere else the site fell through to system-ui while believing it had a face. The stack reads var(--font-zen-sans) now, which is what the binding sets, and mono is wired the same way instead of naming JetBrains Mono. computer and core name the family directly in CSS rather than reading a variable, so they take @hanzo/font's plain @font-face export, where the family really is 'Zen'. 32 files across the site, the DAO governance stack and the shared core.
40 lines
1.0 KiB
JavaScript
40 lines
1.0 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./index.tsx",
|
|
"./App.tsx",
|
|
"./components/**/*.{js,ts,jsx,tsx}",
|
|
],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Zen', 'sans-serif'],
|
|
},
|
|
colors: {
|
|
'primary': '#00ff9b',
|
|
'primary-dark': '#00cc7c',
|
|
'secondary': '#2d6ae3',
|
|
'dark-bg': '#0a0a0f',
|
|
'dark-card': '#121218',
|
|
'dark-border': 'rgba(255, 255, 255, 0.1)',
|
|
},
|
|
animation: {
|
|
'fade-in-up': 'fadeInUp 0.8s ease-out forwards',
|
|
'subtle-shine': 'subtleShine 5s infinite ease-in-out',
|
|
},
|
|
keyframes: {
|
|
fadeInUp: {
|
|
'0%': { opacity: '0', transform: 'translateY(20px)' },
|
|
'100%': { opacity: '1', transform: 'translateY(0)' },
|
|
},
|
|
subtleShine: {
|
|
'0%, 100%': { 'box-shadow': '0 0 10px -5px rgba(0, 255, 155, 0)' },
|
|
'50%': { 'box-shadow': '0 0 40px -10px rgba(0, 255, 155, 0.3)' },
|
|
}
|
|
}
|
|
}
|
|
},
|
|
plugins: [],
|
|
}
|