-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
74 lines (70 loc) · 1.58 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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
// const color = require('tailwindcss/colors');
const constants = {
purple: '#6160dc',
'light-blue': '#03daf2',
orange: '#ffb74a',
green: '#6c946b',
'dark-green': '#006044',
'light-green': '#e6f2ef',
black: '#222222',
white: '#ffffff',
red: '#f23c3d',
gray: '#8e8ea1',
'ligt-gray': '#e8e7e3',
beige: '#a49b8f',
'darck-beige': 'rgb(107,101,93)'
};
module.exports = {
content: ['./pages/**/*.{js,ts,jsx,tsx}', './app/**/*.{js,ts,jsx,tsx}'],
theme: {
colors: {
transparent: colors.transparent,
...constants
},
extend: {
fontSize: {
ms: '0.2rem',
xs: '0.82rem',
sm: '0.98rem',
base: '1.15rem',
lg: '1.22rem',
x1: '1.36rem',
'1.5xl': '1.5rem',
'2xl': '1.725rem',
'3xl': '2.155rem',
'4xl': '2.58rem',
'5xl': '3.45rem',
'6xl': '4.3rem',
'7xl': '5.17rem',
'8xl': '6.9rem',
'9xl': '9.2rem'
},
keyframes: {
animationOpacity: {
from: { opacity: 0.2 },
to: { opacity: 1 }
},
scaleIn: {
'0%': {
opacity: 0,
transform: 'scale(0.9)'
},
'50%': {
opacity: 0.3
},
'100%': {
opacity: 1,
transform: 'scale(1)'
}
}
},
animation: {
opacity: 'animationOpacity .5s ease-in-out',
scaleIn: 'scaleIn .35s ease-in-out'
}
}
},
plugins: []
};