-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
78 lines (75 loc) · 1.82 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
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable global-require */
/* eslint-disable import/extensions */
/** @type {import('tailwindcss').Config} */
import { fontFamily as _fontFamily } from 'tailwindcss/defaultTheme';
// const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
sans: ['Poppins', ..._fontFamily.sans],
},
fontSize: {
xs: '.75rem',
sm: '.875rem',
tiny: '.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'4-5xl': '2.625rem',
'5xl': '3rem',
'5-5xl': '3.875rem',
'6xl': '4rem',
'7xl': '5rem',
},
extend: {
colors: {
'light-theme-purple': '#E3D3FD',
'theme-purple': '#6610f2',
'dark-theme-purple': '#520dc2',
'theme-blue': '#152C5B',
},
margin: {
'-112': '-28rem',
'-120': '-30rem',
'-128': '-32rem',
'-144': '-36rem',
},
animation: {
'bounce-x': 'bouncex 1s infinite',
},
keyframes: {
bouncex: {
'0%, 100%': {
transform: 'translateX(-25%)',
animationTimingFunction: 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateY(0)',
animationTimingFunction: 'cubic-bezier(0, 0, 0.2, 1)',
},
},
},
spacing: {
71: '17.75rem',
95: '23.5rem',
192: '48rem',
192.5: '49.5rem',
193: '51rem',
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'class',
}),
],
};