-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
63 lines (62 loc) · 2.15 KB
/
tailwind.config.cjs
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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: 'var(--aw-color-primary)',
secondary: 'var(--aw-color-secondary)',
accent: 'var(--aw-color-accent)',
default: 'var(--aw-color-text-default)',
muted: 'var(--aw-color-text-muted)',
},
fontFamily: {
sans: ['Trash', ...defaultTheme.fontFamily.sans],
serif: ['Trash', ...defaultTheme.fontFamily.serif],
heading: ['Concert One', ...defaultTheme.fontFamily.sans],
},
animation: {
jiggle1: 'jiggle1 0.33s infinite',
jiggle2: 'jiggle2 0.4s infinite',
marquee: 'marquee 20s linear infinite',
'marquee-reverse': 'marquee-reverse 20s linear infinite',
},
keyframes: {
jiggle1: {
'0%, 100%': { transform: 'translate(0, 0) rotate(0deg)' },
'25%': { transform: 'translate(5px, 0) rotate(-4deg)' },
'50%': { transform: 'translate(0, -5px) rotate(3deg)' },
'75%': { transform: 'translate(-5px, 0) rotate(6deg)' },
},
jiggle2: {
'0%, 100%': { transform: 'translate(0, 3) rotate(0deg)' },
'25%': { transform: 'translate(-5px, 3px) rotate(3deg)' },
'50%': { transform: 'translate(2px, -5px) rotate(-2deg)' },
'75%': { transform: 'translate(5px, -2px) rotate(4deg)' },
},
marquee: {
'0%': { transform: 'translateX(0%)' },
'100%': { transform: 'translateX(calc(-100% - 2rem))' },
},
'marquee-reverse': {
'0%': { transform: 'translateX(calc(-100% - 2rem))' },
'100%': { transform: 'translateX(0%)' },
},
},
scale: {
'-100': '-1',
},
backgroundImage: {
noise:
"url('https://webflow-files-prod.global.ssl.fastly.net/647d7a596d3b30dafe7f7d07/647d7b5e1383c7b582a4ff02_grain-tile_500x500.webp')",
},
},
},
variants: {
extend: {
animation: ['hover'],
},
},
plugins: [require('@tailwindcss/typography')],
darkMode: 'class',
};