-
Notifications
You must be signed in to change notification settings - Fork 10
/
tailwind.config.js
93 lines (93 loc) · 2.16 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
82
83
84
85
86
87
88
89
90
91
92
93
module.exports = {
purge: [
'./assets/style.css',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./services/**/*.{js,ts,jsx,tsx}',
'./utils/**/*.{js,ts,jsx,tsx}',
],
darkMode: false, // or 'media' or 'class'
mode: 'jit',
theme: {
screens: {
// Constants taken from UI constants.
// Think of them as 'beyond this breakpoint' when using
// mobile:my-class, for example.
// -> @media (min-width: {}px) { ... }
mobile: '500px',
tablet: '715px',
desktop: '1100px',
xl: '1280px',
huge: '1920px',
},
fontFamily: {
prompt: ['Prompt'],
sans: ['WorkSans'],
},
fontSize: {
'2xs': ['.50rem'],
xs: ['.75rem'],
sm: ['.875rem'],
tiny: ['.875rem'],
base: ['1rem'],
lg: ['1.125rem'],
xl: ['1.25rem'],
'2xl': ['1.5rem'],
'3xl': ['1.875rem'],
'4xl': ['2.25rem'],
'5xl': ['3rem'],
'6xl': ['4rem'],
'7xl': ['5rem'],
'8xl': ['6rem'],
'9xl': ['7rem'],
},
extend: {
backgroundImage: {
hero: "url('/hero.svg')",
},
colors: {
primary: '#1F1C47',
secondary: '#12C7BA',
tertiary: '#181436',
alt: '#DBF7F5',
hyper: '#E5FF85',
blush: '#FF7A87',
blue: '#3F4BF5',
purple: '#654192',
},
display: ['huge', 'desktop', 'tablet', 'mobile'],
backgroundOpacity: {
10: '0.1',
},
animation: {
float: 'float 9s infinite',
},
keyframes: {
float: {
'0%, 100%': {
transform: 'translateY(33.3334%)',
animationTimingFunction: 'linear',
},
'25%, 75%': {
transform: 'translateY(16.6667%)',
animationTimingFunction: 'linear',
},
'50%': {
transform: 'translateY(0)',
animationTimingFunction: 'linear',
},
},
},
width: {
68: '17rem',
},
},
},
variants: {
extend: {
borderWidth: ['last'],
fontWeight: ['last'],
},
},
plugins: [require('@tailwindcss/aspect-ratio')],
};