-
Notifications
You must be signed in to change notification settings - Fork 0
/
colors.go
55 lines (48 loc) · 900 Bytes
/
colors.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
package main
type ColorScheme struct {
UsernameFg int
UsernameBg int
RootFg int
RootBg int
HostnameFg int
HostnameBg int
HomeFg int
HomeBg int
PathFg int
PathBg int
CwdFg int
SeparatorFg int
ReadOnlyFg int
ReadOnlyBg int
RepoCleanFg int
RepoCleanBg int
RepoDirtyFg int
RepoDirtyBg int
PromptFg int
PromptBg int
}
func InitColors() map[string]ColorScheme {
colors := make(map[string]ColorScheme)
colors["default"] = ColorScheme{
UsernameFg: 250,
UsernameBg: 240,
RootFg: 254,
RootBg: 1,
HostnameFg: 250,
HostnameBg: 238,
HomeFg: 15,
HomeBg: 31,
PathFg: 250,
PathBg: 237,
CwdFg: 254,
SeparatorFg: 244,
ReadOnlyFg: 254,
ReadOnlyBg: 124,
RepoCleanFg: 0,
RepoCleanBg: 148,
RepoDirtyFg: 15,
RepoDirtyBg: 161,
PromptFg: 15,
PromptBg: 236}
return colors
}