-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
105 lines (102 loc) · 3.11 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
100
101
102
103
104
105
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx,css,scss,sass}",
"./components/**/*.{js,ts,jsx,tsx,mdx,css,scss,sass}",
"./app/**/*.{js,ts,jsx,tsx,mdx,css,scss,sass}",
"./app/**/**/*.{js,ts,jsx,tsx,mdx,css,scss,sass}",
"./src/**/*.{js,ts,jsx,tsx,mdx,css,scss,sass}",
],
theme: {
extend: {
fontFamily: {
"title": ['var(--font-ubuntu)', 'sans-serif'],
"body": ['var(--font-sourceSans)', 'sans-serif'],
},
fontSize: {
'2xs': ['0.625rem', { lineHeight: '1.4' }],
'xs': ['0.75rem', { lineHeight: '1.4' }],
'sm': ['0.825rem', { lineHeight: '1.2' }],
'base': ['1rem', { lineHeight: '1.4' }],
'h6': ['1rem', { lineHeight: '1.4' }],
'h5': ['1.25rem', { lineHeight: '1.4' }],
'h4': ['1.5rem', { lineHeight: '1.4' }],
'h3': ['1.75rem', { lineHeight: '1.2' }],
'h2': ['2.5rem', { lineHeight: '1.2' }],
'h1': ['3rem', { lineHeight: '1.2' }],
},
colors: {
// whiteFull: "#ffffff",
snow: "#EFF7FB",
black: "#0D0D1C",
primary: { // azul oscuro
DEFAULT: "#24234C",
//900: "#3302BF",
800: "#4507C9",
// 700: "#4F1BE4",
600: "#5441FF",
// 500: "#6E76FF",
400: "#97A7FF",
300: "#b2bef7",
200: "#DBE2FF",
// 100: "#EBF0FF",
// 50: "#F5F8FF",
foreground: "#FFFFFF",
},
secondary: { // azul claro
DEFAULT: "#9CD7F5",
// 900: "#3302BF",
// 800: "#4507C9",
700: "#45bbf7",
600: "#56b9ea",
500: "#76c9f2",
400: "#9CD7F5",
300: "#B0DFF7",
200: "#C4E7F9",
100: "#D7EFFB",
50: "#EBF7FD",
foreground: "#24234C"
},
accent: { // morado
DEFAULT: "#62388E",
// 300: "#FF9900",
// 200: "#FFBD1B",
// 100: "#FFE685",
},
background: {
DEFAULT:"#323238",
400: "525259",
300: "74747a"
}
},
},
screens: {
'xs': '420px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
backgroundImage: {
'main': "url('/assets/fondos/eunomia_fondo_default.png')",
}
},
plugins: [
plugin(function({ addBase, theme }) {
addBase({
'h1': { fontFamily: theme('fontFamily.ubuntu') },
'h2': { fontFamily: theme('fontFamily.ubuntu') },
'h3': { fontFamily: theme('fontFamily.ubuntu') },
'h4': { fontFamily: theme('fontFamily.ubuntu') },
'h5': { fontFamily: theme('fontFamily.ubuntu') },
'h6': { fontFamily: theme('fontFamily.ubuntu') },
'p': { fontFamily: theme('fontFamily.sourceSans') },
'a': { fontFamily: theme('fontFamily.sourceSans') },
'button': { fontFamily: theme('fontFamily.sourceSans') },
'label': { fontFamily: theme('fontFamily.sourceSans') },
})
})
],
};