-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathcustom-full.jsx
60 lines (58 loc) · 1.35 KB
/
custom-full.jsx
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
import WormholeConnect, {
WormholeConnectTheme,
} from '@wormhole-foundation/wormhole-connect';
import red from '@mui/material/colors/red';
import lightblue from '@mui/material/colors/lightBlue';
import grey from '@mui/material/colors/grey';
import green from '@mui/material/colors/green';
import orange from '@mui/material/colors/orange';
const customTheme: WormholeConnectTheme = {
mode: 'dark',
primary: grey,
secondary: grey,
divider: 'rgba(255, 255, 255, 0.2)',
background: {
default: '#232323',
},
text: {
primary: '#ffffff',
secondary: grey[500],
},
error: red,
info: lightblue,
success: green,
warning: orange,
button: {
primary: 'rgba(255, 255, 255, 0.2)',
primaryText: '#ffffff',
disabled: 'rgba(255, 255, 255, 0.1)',
disabledText: 'rgba(255, 255, 255, 0.4)',
action: orange[300],
actionText: '#000000',
hover: 'rgba(255, 255, 255, 0.7)',
},
options: {
hover: '#474747',
select: '#5b5b5b',
},
card: {
background: '#333333',
secondary: '#474747',
elevation: 'none',
},
popover: {
background: '#1b2033',
secondary: 'rgba(255, 255, 255, 0.5)',
elevation: 'none',
},
modal: {
background: '#474747',
},
font: {
primary: 'Impact',
header: 'Impact',
},
};
export default function App() {
return <WormholeConnect theme={customTheme} />;
}