forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
63 lines (61 loc) · 1.95 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
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
module.exports = {
presets: [require('@mysten/core/tailwind.config')],
/*
* NOTE: The Tailwind CSS reset doesn't mix well with the existing styles.
* We currently disable the CSS reset and expect components to adapt accordingly.
* When we fix this, we should use the following as a CSS reset: @tailwind base;
*/
corePlugins: {
preflight: false,
},
theme: {
extend: {
colors: {
'gradient-blue-start': '#589AEA',
'gradient-blue-end': '#4C75A6',
},
minHeight: {
8: '2rem',
15: '3.75rem',
},
spacing: {
7.5: '1.875rem',
8: '2rem',
15: '3.75rem',
'popup-height': '595px',
'popup-width': '360px',
},
boxShadow: {
'wallet-content': '0px -5px 20px 5px rgba(160, 182, 195, 0.15)',
button: '0px 1px 2px rgba(16, 24, 40, 0.05)',
notification: '0px 0px 20px rgba(29, 55, 87, 0.11)',
'wallet-modal': '0px 0px 44px 0px rgba(0, 0, 0, 0.15)',
},
borderRadius: {
20: '1.25rem',
15: '0.9375rem',
'2lg': '0.625rem',
'3lg': '0.75rem',
'4lg': '1rem',
},
gridTemplateColumns: {
header: '1fr fit-content(200px) 1fr',
},
height: {
header: '4.25rem',
'nav-height': '76px',
},
maxWidth: {
'popup-width': '360px',
},
dropShadow: {
accountModal: [
'0px 10px 30px rgba(0, 0, 0, 0.15)',
'0px 10px 50px rgba(0, 0, 0, 0.15)',
],
},
},
},
};