forked from statamic/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
145 lines (144 loc) · 4.77 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
const colors = require('tailwindcss/colors')
const plugin = require('tailwindcss/plugin')
module.exports = {
mode: 'jit',
purge: {
content: [
'./resources/**/*.antlers.html',
'./resources/**/*.blade.php',
'./content/**/*.md'
]
},
important: true,
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#191A1B',
white: '#FFFFFF',
ninja: {
blue: '#00b1e1',
orange: '#f49b0b',
red: '#e03a10',
purple: '#925aa1',
green: '#4c9c23'
},
pink: {
lightest: '#FFFCFE',
lighter: '#FFF6FA',
light: '#FFDCED',
DEFAULT: '#FF269E'
},
red: {
DEFAULT: '#DE3618',
dark: '#98230E',
},
purple: '#6B26FF',
blue: {
lightest: '#B1D8FC',
light: '#01A1D7',
DEFAULT: '#339CE5',
dark: '#066A85'
},
teal: '#01D7B0',
mint: '#B8FFF3',
yellow: '#FAF77D',
gray: {
lightest: '#F3F4F6',
lighter: '#EEF2F6',
light: '#E7ECF1',
DEFAULT: '#CBD5E1',
'dark': '#94A3B8',
'darker': '#4B5563',
'darkest': '#374151'
}
},
borderColor: theme => ({
...theme('colors'),
DEFAULT: theme('colors.black', 'currentColor'),
}),
boxShadow: {
'none': 'none',
DEFAULT: "2px 2px 0 theme('colors.black', 'currentColor')",
'sm': "1px 1px 0 theme('colors.black', 'currentColor')",
'md': "2px 2px 0 theme('colors.black', 'currentColor')",
'lg': "4px 4px 0 theme('colors.black', 'currentColor')",
'white': "2px 2px 0 theme('colors.white', 'currentColor')",
'white-lg': "4px 4px 0 theme('colors.white', 'currentColor')",
'mint': "1px 1px 0 theme('colors.mint', 'currentColor')",
'mint-md': "3px 3px 0 theme('colors.mint', 'currentColor')",
'mint-lg': "7px 7px 0 theme('colors.mint', 'currentColor')",
'yellow': "1px 1px 0 theme('colors.yellow', 'currentColor')",
'yellow-md': "3px 3px 0 theme('colors.yellow', 'currentColor')",
'yellow-lg': "7px 7px 0 theme('colors.yellow', 'currentColor')",
'pink': "1px 1px 0 theme('colors.pink.DEFAULT', 'currentColor')",
'pink-md': "3px 3px 0 theme('colors.pink.DEFAULT', 'currentColor')",
'pink-lg': "7px 7px 0 theme('colors.pink.DEFAULT', 'currentColor')",
'purple': "1px 1px 0 theme('colors.purple', 'currentColor')",
'purple-md': "3px 3px 0 theme('colors.purple', 'currentColor')",
'purple-lg': "7px 7px 0 theme('colors.purple', 'currentColor')",
'red': "1px 1px 0 theme('colors.red.DEFAULT', 'currentColor')",
'red-md': "3px 3px 0 theme('colors.red.DEFAULT', 'currentColor')",
'red-lg': "7px 7px 0 theme('colors.red.DEFAULT', 'currentColor')",
'red-dark': "1px 1px 0 theme('colors.red.dark', 'currentColor')",
'red-dark-md': "3px 3px 0 theme('colors.red.dark', 'currentColor')",
'red-dark-lg': "7px 7px 0 theme('colors.red.dark', 'currentColor')",
'teal': "1px 1px 0 theme('colors.teal', 'currentColor')",
'teal-md': "3px 3px 0 theme('colors.teal', 'currentColor')",
'teal-lg': "7px 7px 0 theme('colors.teal', 'currentColor')",
'stack-yellow-sm': "3px 3px 0 -1px #fff, 3px 3px 0 theme('colors.black'), 4px 4px 4px theme('colors.yellow')",
'stack-sm': "3px 3px 0 -1px #fff, 3px 3px 0 theme('colors.black')",
'stack': "5px 5px 0 -1px #fff, 5px 5px 0 theme('colors.black')",
'stack-md': "10px 10px 0 -1px #fff, 10px 10px 0 theme('colors.black')",
'stack-lg': "20px 20px 0 -1px #fff, 20px 20px 0 theme('colors.black'), 40px 40px 0 -1px #fff, 40px 40px 0 theme('colors.black')",
'bleed-yellow': "0 3px 1px theme('colors.yellow')",
'outline': '0 0 0 3px rgba(66, 153, 225, 0.5)',
},
extend: {
fontFamily: {
display: ['tenon', 'sans-serif'],
mono: ['Menlo', 'monospace'],
'mono-alt': ['code-saver', 'monospace'],
},
fontSize: {
'3xl': ['2rem', 1],
'7xl': ['4.25rem', 1],
'8xl': ['5rem', 1],
'9xl': ['6rem', 1],
},
height: {
'screen-sans-nav': 'calc(100vh - 100px)',
},
maxHeight: {
'screen-sans-nav': 'calc(100vh - 100px)',
},
spacing: {
68: '17rem',
74: '18.5rem',
76: '19rem'
}
},
},
variants: {},
plugins: [
plugin(function({ addUtilities }) {
const newUtilities = {
'.list-col-1': {
'column-count': '1',
},
'.list-col-2': {
'column-count': '2',
},
'.list-col-3': {
'column-count': '3',
},
'.list-col-4': {
'column-count': '4',
},
}
addUtilities(newUtilities, {
variants: ['responsive'],
})
})
],
}