forked from ORKO06/project-oregano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
91 lines (81 loc) · 2.34 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: ['./src/**/*.{js,jsx}', './public/index.html'],
darkMode: false, // or 'media' or 'class'
theme: {
container: {
padding: {
default: '1rem',
sm: '2rem',
lg: '4rem',
xl: '5rem',
},
center: true,
},
extend: {
gridColumn: {
'span-15': 'span 15 / span 15',
},
gridTemplateColumns: {
track: 'repeat(auto-fit, minmax(300px, 1fr))',
logo: 'repeat(auto-fit, minmax(50px, 1fr))',
schedule: 'repeat(4, minmax(500px, 1fr))',
},
spacing: {
18: '4rem',
100: '41rem',
92: '22rem',
'1/10': '10%',
'2/10': '20%',
'4/10': '40%',
'28/100': '28%',
'60/100': '60%',
'70/100': '70%',
'8/10': '80%',
},
colors: {
'color-primary': 'var(--text-color-primary)',
'color-secondary': 'var(--text-color-secondary)',
'background-dark': 'var(--background-dark)',
'background-darker': 'var(--background-darker)',
secondary: '#17171D',
'purple-light': '#B6BAEA',
date: '#E78967',
'b-blue': '#71A0CE',
'b-green': '#8FA963',
hover: '#f8f0e3',
},
fontFamily: {
roboto: ['Roboto', ...defaultTheme.fontFamily.sans],
poppins: ['Poppins', ...defaultTheme.fontFamily.sans],
sixcaps: ['Six Caps', ...defaultTheme.fontFamily.sans],
},
},
screens: {
'2xl': { max: '1535px' },
// => @media (max-width: 1535px) { ... }
xl: { max: '1279px' },
// => @media (max-width: 1279px) { ... }
mid: { max: '1150px' },
// => @media (max-width: 1150px) { ... }
lg: { max: '1023px' },
// => @media (max-width: 1023px) { ... }
md: { max: '760px' },
// => @media (max-width: 767px) { ... }
sm: { max: '639px' },
// => @media (max-width: 639px) { ... }
sxm: { max: '600px' },
// => @media {max-width: 600px}{...}
'1xsm': { max: '540px' },
// => @media {max-width: 540px}{...}
'2xsm': { max: '500px' },
// => @media {max-width: 500px}{...}
'3xsm': { max: '400px' },
// => @media {max-width: 500px}{...}
},
},
variants: {
extend: {},
},
plugins: ['gatsby-plugin-postcss'],
};