-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.js
86 lines (84 loc) · 2.49 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
const colors = require('tailwindcss/colors')
/**
* suppress the warning of deprecated colors.
* @see https://github.com/tailwindlabs/tailwindcss/issues/4690#issuecomment-1046087220
*/
delete colors['lightBlue'];
delete colors['warmGray'];
delete colors['trueGray'];
delete colors['coolGray'];
delete colors['blueGray'];
module.exports = {
content: [
'./src/**/*.html',
'./src/**/*.{js,jsx,ts,tsx}'
],
darkMode: 'media', // or 'media' or 'class'
theme: {
colors: {
...colors,
custom: {
'light-blue': {
DEFAULT: 'rgb(191,238,254)',
90: 'var(--custom-light-blue-90)',
80: 'var(--custom-light-blue-80)',
50: 'var(--custom-light-blue-50)',
25: 'var(--custom-light-blue-25)',
5: 'var(--custom-light-blue-5)',
0: 'var(--custom-light-blue-0)'
},
'background': {
DEFAULT: 'rgb(0,35,47)',
95: 'var(--custom-background-95)',
90: 'var(--custom-background-90)',
85: 'var(--custom-background-85)',
70: 'var(--custom-background-70)',
},
'calendar': {
border: {
DEFAULT: '#1C3D48',
// 'cloudy': '#678A97',
'available': '#678A97',
'selected': '#C2EEFE',
},
background: {
DEFAULT: '#03232F',
// 'cloudy': '#03232F',
'available': '#678A97',
'selected': '#C2EEFE',
}
}
}
},
extend: {
spacing: {
'bottom-panel-height': '236px',
'app-header-size': '40px',
'app-header-position': '15px',
'layer-toggle-top-position': '15px',
'layer-toggle-top-position-mobile': '55px',
'search-widget-top-position': '50px',
'search-widget-top-position-mobile': '90px',
'cloud-slider-height': '80px',
'space-between-main-secondary-selectors': 'var(--space-between-main-secondary-selectors)',
'analysis-tool-container-width': '255px',
'search-widget-width': '270px',
'map-action-button-size': '32px'
},
dropShadow: {
'custom-light-blue': '0px 0px 4px rgba(191,238,254, 1)',
'custom-light-blue-90': '0px 0px 4px rgba(191,238,254, .9)',
'custom-light-blue-50': '1px 1px 4px rgba(191,238,254, .5)',
},
screens: {
'bottom-panel-content-min-width': '1540px',
'2xl': '1620px',
'3xl': '1920px'
},
},
},
variants: {
extend: {},
},
plugins: [],
}