-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
31 lines (30 loc) · 935 Bytes
/
tailwind.config.ts
File metadata and controls
31 lines (30 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import tailwindAnimate from 'tailwindcss-animate';
import { fontFamily } from 'tailwindcss/defaultTheme';
import config, { Config } from '@theguild/tailwind-config';
export default {
...config,
content: ['./packages/components/src/**/*.{ts,tsx}', './.storybook/**/*.{ts,tsx}'],
theme: {
...config.theme,
extend: {
...config.theme.extend,
colors: {
...config.theme.extend.colors,
primary: config.theme.extend.colors['hive-yellow'],
},
fontFamily: {
sans: [`var(--font-sans, ${fontFamily.sans.slice(0, 3).join(', ')})`, ...fontFamily.sans],
},
animation: {
gradient: 'gradient 15s ease infinite',
},
keyframes: {
gradient: {
'0%, 100%': { backgroundPosition: '0 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
},
},
},
plugins: [...config.plugins, tailwindAnimate],
} satisfies Config;