-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
41 lines (39 loc) · 976 Bytes
/
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
const plugin = require('tailwindcss/plugin')
module.exports = {
darkMode: 'class',
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
boxShadow: {
card: '0 1px 3px 0 #999999',
'dark-card': '0 1px 4px 0 rgba(12, 12, 13, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.15)',
},
colors: {
'button-submit': '#40a9f3',
card: '#f9f9f9',
container: '#ededed',
'dark-container': '#1f2022',
'dark-card': '#121416',
'dark-title': '#f9f9fa',
'dark-temperature': '#dddddd',
default: '#828282',
'dark-default': '#cccccc',
temperature: '#757575',
title: '#212121',
},
minWidth: {
card: '360px'
},
animation: {
'spin-slow': 'spin 1.5s linear infinite'
}
},
},
plugins: [
plugin(function ({ addVariant, e}) {
})
],
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}),
}