-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (50 loc) · 1.44 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
const colors = require('tailwindcss/colors')
module.exports = {
purge: ['./src/**/*.js', './public/index.html'],
darkMode: 'class', // or 'media' or 'class'
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.coolGray,
indigo: colors.indigo,
red: colors.red,
yellow: colors.amber,
green: colors.emerald,
blue: colors.blue,
purple: colors.violet,
pink: colors.pink,
//custom colors
gdb: "#33323D", //grayish dark blue
db: "#203A4C", //dark blue
sdc: "#5FB4A2", //slightly desaturated cyan
name1: "#dc2424",
name2: "#4a569d",
name3: "#4bc0c8"
},
extend: {
gridTemplateColumns: {
'autoFit': 'repeat(auto-fit, minmax(300px, 1fr))',
'autoFitMin': 'repeat(auto-fit, minmax(250px, 1fr))',
'autoFitSkillSet': 'repeat(auto-fit, minmax(200px, 1fr))',
'autoFitSkillSetMin': 'repeat(auto-fit, minmax(150px, 1fr))',
'autoFitSkillSetSm': 'repeat(auto-fit, minmax(100px, 1fr))',
}
},
screens: {
'2xl': { 'max': '1640px' },
'xl': { 'max': '1366px' },
'lg': { 'max': '1040px' },
'md': { 'max': '780px' },
'sm': { 'max': '590px' },
'xs': { 'max': '100px' },
'print': { 'raw': 'print' }
}
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/aspect-ratio')],
}