-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtailwind.config.js
More file actions
110 lines (108 loc) · 4.16 KB
/
Copy pathtailwind.config.js
File metadata and controls
110 lines (108 loc) · 4.16 KB
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
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)',
70: 'var(--custom-light-blue-70)',
60: 'var(--custom-light-blue-60)',
50: 'var(--custom-light-blue-50)',
40: 'var(--custom-light-blue-40)',
30: 'var(--custom-light-blue-30)',
25: 'var(--custom-light-blue-25)',
20: 'var(--custom-light-blue-20)',
10: 'var(--custom-light-blue-10)',
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)',
80: 'var(--custom-background-80)',
70: 'var(--custom-background-70)',
60: 'var(--custom-background-60)',
50: 'var(--custom-background-50)',
40: 'var(--custom-background-40)',
30: 'var(--custom-background-30)',
20: 'var(--custom-background-20)',
10: 'var(--custom-background-10)',
5: 'var(--custom-background-5)',
0: 'var(--custom-background-0)',
},
calendar: {
border: {
DEFAULT: '#1C3D48',
// 'cloudy': '#678A97',
available: '#678A97',
selected: '#C2EEFE',
},
background: {
DEFAULT: '#03232F',
// 'cloudy': '#03232F',
available: '#678A97',
selected: '#C2EEFE',
},
},
},
calcite: {
green: {
60: `var(--calcite-color-green-060)`,
70: `var(--calcite-color-green-070)`,
},
},
arcgis: {
highlight: 'var(--arcgis-highlight-color)',
}
},
extend: {
spacing: {
'bottom-panel-height': '236px',
'app-header-size': '40px',
'map-ui-top-position': '15px',
'map-action-button-group-top-position': '56px',
// 'search-widget-top-position': '50px',
'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',
'landcover-explorer-time-slider-width': '400px',
},
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',
},
gridTemplateColumns: {
'save-option-list': '200px 1fr',
},
},
},
variants: {
extend: {},
},
plugins: [],
};