-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
30 lines (27 loc) · 939 Bytes
/
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
import defaultTheme from 'tailwindcss/defaultTheme'
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
fontFamily: {
sans: ['DM Sans', ...defaultTheme.fontFamily.sans],
},
animation: {
'infinite-scroll-left': 'scroll-left 50s linear infinite',
'infinite-scroll-right': 'scroll-right 50s linear infinite',
},
keyframes: {
'scroll-left': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-100%)' },
},
'scroll-right': {
from: { transform: 'translateX(-100%)' },
to: { transform: 'translateX(0)' },
},
}
},
},
plugins: [],
}