-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.ts
113 lines (112 loc) · 2.81 KB
/
styles.ts
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
111
112
113
import { mode, StyleFunctionProps } from '@chakra-ui/theme-tools';
export const styles = {
global: (props: StyleFunctionProps) => ({
fonts: {
heading: `'Poppins', sans-serif`,
body: `'Poppins', sans-serif`,
},
body: {
bg: mode('black', 'black')(props),
color: mode('white', 'white')(props),
},
text: {
marginTop: '0',
},
'.chakra-alert': {
gap: '1.2rem',
bg: 'black',
color: 'white',
},
':root': {
'--chakra-colors-primary-400': '#FACB47',
'--chakra-colors-primary-500': '#FACB47',
},
'.wallet-adapter-button-trigger': {},
'.wallet-adapter-button': {
padding: '0rem 1.2rem',
rounded: '6px',
fontSize: '16px',
lineHeight: '0',
fontWeight: '600',
height: '2.5rem',
bg: mode('black', '#FF0000')(props),
color: mode('#white', 'black')(props),
_hover: {
bg: mode('#EF1818', '#FDFDFF')(props),
color: mode('#FDFDFF', 'black')(props),
},
_active: {
bg: mode('#EF1818', '#FDFDFF')(props),
color: mode('#FDFDFF', 'black')(props),
},
},
'.wallet-adapter-button wallet-adapter-button-trigger ': {
display: 'none',
},
'.wallet-adapter-modal-wrapper': {
bg: 'white',
color: 'black',
},
'.wallet-adapter-modal-button-close': {
bg: '#dbdbdb',
color: 'black',
},
'.wallet-adapter-modal-title': {
color: 'black',
},
'.wallet-adapter-modal-content': {
color: 'black',
},
'.wallet-adapter-modal-list .wallet-adapter-button': {
bg: 'white',
color: 'black',
border: '1px solid gray.100',
_hover: {
bg: 'gray.100',
color: 'string',
shadow: 'none',
transform: 'translate(0)',
transition: 'none',
},
},
'.wallet-adapter-button-end-icon, .wallet-adapter-button-start-icon, ': {
// display: 'none',
},
'.wallet-adapter-modal-list-more': {
color: 'black',
},
'.wallet-adapter-modal-list-more .svg': {
color: 'black',
},
'.wallet-adapter-modal-list-more-icon-rotate': {
color: 'black',
},
'.wallet-adapter-dropdown-list': {
bg: 'white',
color: 'black',
shadow: 'none',
border: '1px solid',
borderColor: 'gray.200',
rounded: 'md',
},
'.wallet-adapter-dropdown-list-item': {
bg: 'white',
color: 'black',
border: '1px solid gray.100',
fontSize: 'lg',
fontWeight: '400',
padding: '0.5rem 1rem',
textAlign: 'left',
_hover: {
bg: '#eaeaea',
color: 'black',
shadow: 'none',
transform: 'translate(0)',
transition: 'none',
},
},
'.wallet-adapter-dropdown-list-item:not([disabled]):hover': {
bg: '#eaeaea',
},
}),
};