forked from hirosystems/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
76 lines (75 loc) · 2.16 KB
/
tailwind.config.js
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
const { createPreset } = require('fumadocs-ui/tailwind-plugin');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./content/**/*.mdx',
'./mdx-components.tsx',
'./node_modules/fumadocs-ui/dist/**/*.js',
'./node_modules/fumadocs-openapi/dist/**/*.js',
],
presets: [createPreset({
preset: 'default'
})],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-geist-sans)'],
mono: ['var(--font-geist-mono)'],
aeonik: ['var(--font-aeonikFono)'],
inter: ['var(--font-inter)'],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(circle, var(--tw-gradient-stops))',
'repeat-gradient-to-r':
'repeating-linear-gradient(to right, var(--tw-gradient-stops))',
'repeat-gradient-to-br':
'repeating-linear-gradient(to bottom right, var(--tw-gradient-stops))',
},
keyframes: {
updown: {
'from, to': {
transform: 'translateY(-20px)',
},
'50%': {
transform: 'translateY(20px)',
},
},
light: {
'from, to': {
opacity: 0.7,
},
'50%': {
opacity: 1,
},
},
stroke: {
from: {
'stroke-dasharray': 1000,
},
to: {
'stroke-dasharray': 1000,
'stroke-dashoffset': 2000,
},
},
marquee: {
from: { transform: "translateX(0)" },
to: { transform: "translateX(calc(-100% - var(--gap)))" },
},
"marquee-vertical": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(calc(-100% - var(--gap)))" },
},
},
animation: {
stroke: 'stroke 5s linear infinite',
light: 'light 2s ease-in-out infinite',
updown: 'updown 3s ease-in-out infinite',
marquee: "marquee var(--duration) linear infinite",
"marquee-vertical": "marquee-vertical var(--duration) linear infinite",
},
},
},
plugins: [require('tailwindcss-animate')],
};