forked from ekmas/neobrutalism-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
81 lines (81 loc) · 2.67 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
77
78
79
80
81
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/layouts/**/*.{js,ts,jsx,tsx,mdx}',
'./src/markdown/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
bg: 'var(--bg)',
main: 'var(--main)',
mainAccent: 'var(--main-accent)',
},
translate: {
boxShadowX: 'var(--horizontal-box-shadow)',
boxShadowY: 'var(--vertical-box-shadow)',
},
boxShadow: {
base: 'var(--horizontal-box-shadow) var(--vertical-box-shadow) 0px 0px rgba(0,0,0,1)',
},
fontWeight: {
base: 'var(--base-font-weight)',
heading: 'var(--heading-font-weight)',
},
keyframes: {
marquee: {
'0%': { transform: 'translateX(0%)' },
'100%': { transform: 'translateX(-100%)' },
},
marquee2: {
'0%': { transform: 'translateX(100%)' },
'100%': { transform: 'translateX(0%)' },
},
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
'caret-blink': {
'0%,70%,100%': { opacity: '1' },
'20%,50%': { opacity: '0' },
},
},
animation: {
marquee: 'marquee 5s linear infinite',
marquee2: 'marquee2 5s linear infinite',
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
'caret-blink': 'caret-blink 1.25s ease-out infinite',
},
borderRadius: {
base: 'var(--border-radius)',
},
screens: {
m1500: { raw: '(max-width: 1500px)' },
m1300: { raw: '(max-width: 1300px)' },
m1100: { raw: '(max-width: 1100px)' },
m1000: { raw: '(max-width: 1000px)' },
m900: { raw: '(max-width: 900px)' },
m850: { raw: '(max-width: 850px)' },
m800: { raw: '(max-width: 800px)' },
m750: { raw: '(max-width: 750px)' },
m700: { raw: '(max-width: 700px)' },
m650: { raw: '(max-width: 650px)' },
m600: { raw: '(max-width: 600px)' },
m550: { raw: '(max-width: 550px)' },
m500: { raw: '(max-width: 500px)' },
m450: { raw: '(max-width: 450px)' },
m400: { raw: '(max-width: 400px)' },
m350: { raw: '(max-width: 350px)' },
},
},
},
plugins: [require('@tailwindcss/typography'), require('tailwindcss-animate')],
}