-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.js
65 lines (64 loc) · 1.51 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
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./resources/views/app/**/*.blade.php', './resources/**/*.js', './resources/**/*.vue'],
theme: {
container: {
center: true,
padding: {
DEFAULT: '2rem',
sm: '1.5rem'
}
},
extend: {
colors: {
primary: {
50: '#fdfcfa',
100: '#fcf9f5',
200: '#f8f3eb',
300: '#f5ece1',
400: '#f1e6d7',
500: '#eee0cd',
600: '#beb3a4',
700: '#8f867b',
800: '#5f5a52',
900: '#302d29'
},
accent: colors.emerald
},
screens: {
xs: '370px',
mobile: defaultTheme.screens.md
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans]
},
animation: {
'bounce-x': 'bounce-x 1s infinite'
},
keyframes: {
'bounce-x': {
'0%, 100%': {
transform: 'translateX(-25%)',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)'
},
'50%': {
transform: 'none',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)'
}
}
},
zIndex: {
60: '60'
}
}
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'base'
}),
require('tailwind-scrollbar')({ nocompatible: true })
]
}