-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
99 lines (95 loc) · 2.05 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
94
95
96
97
98
99
/**
* @description Configuración base de Tailwindcss
*/
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
const { fontSize, minHeight } = require('tailwindcss/defaultTheme');
delete colors['lightBlue'];
delete colors['warmGray'];
delete colors['trueGray'];
delete colors['coolGray'];
delete colors['blueGray'];
module.exports = {
content: [
'./src/pages/**/*.{js,jsx,tsx}',
'./src/pages/**/**/*.{js,jsx,tsx}',
'./src/components/**/*.{js,jsx,tsx}',
'./src/components/**/**/*.{js,jsx,tsx}',
],
darkMode: 'class',
theme: {
colors: {
...colors,
primary: {
base: '#3E816D',
darken: '#316757',
lighten: '#649A8A',
},
primaryAlt: {
base: '#288091',
darken: '#206674',
lighten: '#5299A7',
},
secondary: {
base: '#263D54',
darken: '#1E3043',
lighten: '#516376',
},
secondaryAlt: {
base: '#516376',
darken: '#404F5E',
lighten: '#738291',
},
success: {
base: '#008537',
darken: '#006A2C',
lighten: '#329D5E',
},
warning: {
base: '#706700',
darken: '#595200',
lighten: '#8C8532',
},
danger: {
base: '#C0392B',
darken: '#992D22',
lighten: '#CC6055',
},
info: {
base: '#207B8D',
darken: '#196270',
lighten: '#4C95A3',
},
gray: '#6c6c6c',
'dark-gray': '#4b4b4b',
},
container: {
padding: {
DEFAULT: '1rem',
md: '2rem',
lg: '2rem',
xl: '2rem',
},
},
fontFamily: {
sans: ['IBM Plex Sans', 'sans-serif'],
},
extend: {
fontSize: {
...fontSize,
'display-1': '6rem',
'display-2': '5.5rem',
'display-3': '4.5rem',
'display-4': '3.5rem',
},
minHeight: {
...minHeight,
'50vh': '50vh',
'80vh': '80vh',
'90vh': '90vh',
'70vh': '70vh',
},
},
},
plugins: [],
};