/
dark.go
118 lines (102 loc) · 3.63 KB
/
dark.go
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
114
115
116
117
118
package theme
import (
"image/color"
"github.com/g45t345rt/g45w/components"
)
var Dark = &Theme{
Key: "dark",
Name: "Dark", //@lang.Translate("Dark")
IndicatorColor: color.NRGBA{A: 255},
TextColor: whiteColor,
TextMuteColor: color.NRGBA{R: 255, G: 255, B: 255, A: 50},
DividerColor: color.NRGBA{R: 255, G: 255, B: 255, A: 25},
BgColor: blackColor,
BgGradientStartColor: color.NRGBA{R: 30, G: 30, B: 30, A: 255},
BgGradientEndColor: color.NRGBA{R: 15, G: 15, B: 15, A: 255},
HideBalanceBgColor: color.NRGBA{A: 255},
HeaderBackButtonColors: components.ButtonColors{
TextColor: color.NRGBA{R: 255, G: 255, B: 255, A: 100},
HoverTextColor: &whiteColor,
},
HeaderTopBgColor: color.NRGBA{R: 30, G: 30, B: 30, A: 255},
BottomBarBgColor: blackColor,
BottomButtonColors: components.ButtonColors{
TextColor: color.NRGBA{R: 255, G: 255, B: 255, A: 100},
HoverTextColor: &whiteColor,
},
BottomButtonSelectedColor: whiteColor,
BottomShadowColor: blackColor,
NodeStatusBgColor: color.NRGBA{A: 255},
NodeStatusHeightTextColor: color.NRGBA{R: 255, G: 255, B: 255, A: 255},
NodeStatusNodeTextColor: color.NRGBA{R: 255, G: 255, B: 255, A: 100},
NodeStatusDotGreenColor: color.NRGBA{R: 0, G: 200, B: 0, A: 255},
NodeStatusDotYellowColor: color.NRGBA{R: 255, G: 255, B: 0, A: 255},
NodeStatusDotRedColor: color.NRGBA{R: 200, G: 0, B: 0, A: 255},
XSWDBgColor: blackColor,
XSWDBgTextColor: whiteColor,
InputColors: components.InputColors{
BackgroundColor: blackColor,
TextColor: whiteColor,
BorderColor: whiteColor,
HintColor: color.NRGBA{R: 255, G: 255, B: 255, A: 50},
ReadOnlyTextColor: color.NRGBA{R: 255, G: 255, B: 255, A: 50},
},
ButtonIconPrimaryColors: components.ButtonColors{
TextColor: whiteColor,
},
ButtonPrimaryColors: components.ButtonColors{
TextColor: blackColor,
BackgroundColor: whiteColor,
},
ButtonSecondaryColors: components.ButtonColors{
TextColor: whiteColor,
BorderColor: whiteColor,
},
ButtonInvertColors: components.ButtonColors{
TextColor: whiteColor,
BackgroundColor: blackColor,
},
ButtonDangerColors: components.ButtonColors{
TextColor: whiteColor,
BackgroundColor: color.NRGBA{R: 200, G: 0, B: 0, A: 255},
},
TabBarsColors: components.TabBarsColors{
InactiveColor: whiteColor,
ActiveColor: whiteColor,
},
ModalColors: components.ModalColors{
BackgroundColor: blackColor,
BackdropColor: &color.NRGBA{R: 20, G: 20, B: 20, A: 230},
},
ModalButtonColors: components.ButtonColors{
TextColor: color.NRGBA{R: 255, G: 255, B: 255, A: 100},
HoverTextColor: &whiteColor,
},
NotificationSuccessColors: components.NotificationColors{
BackgroundColor: color.NRGBA{R: 0, G: 200, B: 0, A: 255},
TextColor: whiteColor,
},
NotificationErrorColors: components.NotificationColors{
BackgroundColor: color.NRGBA{R: 200, G: 0, B: 0, A: 255},
TextColor: whiteColor,
},
NotificationInfoColors: components.NotificationColors{
BackgroundColor: whiteColor,
TextColor: blackColor,
},
ProgressBarColors: components.ProgressBarColors{
BackgroundColor: blackColor,
IndicatorColor: whiteColor,
},
ListTextColor: whiteColor,
ListBgColor: color.NRGBA{R: 15, G: 15, B: 15, A: 255},
ListItemHoverBgColor: color.NRGBA{R: 25, G: 25, B: 25, A: 255},
ListScrollBarBgColor: whiteColor,
ListItemTagBgColor: blackColor,
ListItemTagTextColor: whiteColor,
SwitchColors: SwitchColors{
Enabled: whiteColor,
Disabled: color.NRGBA{R: 60, G: 60, B: 60, A: 255},
Track: color.NRGBA{R: 60, G: 60, B: 60, A: 255},
},
}