-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
45 lines (41 loc) · 1.03 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
// https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
container: {
center: true,
padding: '1rem',
},
screens: {
xs: '300px',
// => @media (min-width: 400px) { ... }
sm: '640px',
// => @media (min-width: 640px) { ... }
md: '768px',
// => @media (min-width: 768px) { ... }
lg: '1024px',
// => @media (min-width: 1024px) { ... }
},
extend: {
colors: {
blue: '#0ADBDE',
primary: '#6566A3',
secondary: '#3E358A',
grey: '#414143',
},
fontFamily: {
sans: ['Avenir Next', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {},
plugins: [
function({ addVariant, e }) {
addVariant('disabled', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.${e(`disabled${separator}${className}`)}:disabled`
})
})
},
],
}