-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.js
54 lines (53 loc) · 1.28 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
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}'
],
theme: {
colors: {
primary: {
DEFAULT: '#ce283d',
dark: '#a52a2a'
},
transparent: colors.transparent,
current: colors.current,
white: colors.white,
black: colors.black,
gray: colors.gray,
zinc: colors.zinc
},
extend: {
fontFamily: {
primary: ['Inter', ...defaultTheme.fontFamily.sans]
},
dropShadow: {
default: '0 4px 4px rgba(0, 0, 0, 0.25)'
},
animation: {
text: 'text 5s ease infinite'
},
keyframes: {
text: {
'0%, 100%': {
'background-size': '200% ',
'background-position': 'left center'
},
'50%': {
'background-size': '200%',
'background-position': 'right center'
}
}
}
}
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'class' // only generate classes
}),
require('@tailwindcss/line-clamp')
]
}