generated from directus-labs/agency-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
57 lines (56 loc) · 1.34 KB
/
tailwind.config.ts
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import type { Config } from 'tailwindcss';
import tailwindcssForms from '@tailwindcss/forms';
import defaultTheme from 'tailwindcss/defaultTheme';
export default {
darkMode: 'class',
content: [
'./components/**/*.{vue,js,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./app.vue',
'./plugins/**/*.{js,ts}',
`./App.{js,ts,vue}`,
`./app.{js,ts,vue}`,
`./nuxt.config.{js,ts}`,
`./form.theme.js`,
`./formkit.config.{js,ts}`,
],
theme: {
extend: {
borderRadius: {
card: 'var(--border-radius-card)',
button: 'var(--border-radius-button)',
input: 'var(--border-radius-input)',
panel: 'var(--border-radius-panel)',
},
fontFamily: {
sans: ['var(--font-sans)', ...defaultTheme.fontFamily.sans],
display: ['var(--font-display)', ...defaultTheme.fontFamily.serif],
mono: ['var(--font-mono)', ...defaultTheme.fontFamily.mono],
signature: ['var(--font-signature)', 'cursive', 'sans-serif'],
},
animation: {
'fade-in': 'fade-in 0.5s linear forwards',
},
keyframes: {
'fade-in': {
from: {
opacity: '0',
},
to: {
opacity: '1',
},
},
},
},
},
variants: {
extend: {},
},
plugins: [
tailwindcssForms,
// Formkit Plugin for Tailwind
// https://formkit.com/guides/create-a-tailwind-theme
// require('@formkit/themes/tailwindcss'),
],
} satisfies Config;