-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_themes.py
152 lines (135 loc) · 9.17 KB
/
custom_themes.py
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
import PySimpleGUI as sg
sg.LOOK_AND_FEEL_TABLE["Default"] = {"BACKGROUND": "#c73032",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("black", "#ffffff"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Artificer"] = {"BACKGROUND": "#a8a0a0",
"TEXT": "#000000",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#a16d37"),
"PROGRESS": ("#01826B", "#d59139"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Barbarian"] = {"BACKGROUND": "#3b3638",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#e7623e"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Bard"] = {"BACKGROUND": "#ab6dac",
"TEXT": "#000000",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#113685"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Cleric"] = {"BACKGROUND": "#91a1b2",
"TEXT": "#000000",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#4e535e"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Druid"] = {"BACKGROUND": "#4f4026",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#7a853b"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Fighter"] = {"BACKGROUND": "#9c0202",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#7f513e"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Monk"] = {"BACKGROUND": "#666666",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("black", "#51a5c5"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Paladin"] = {"BACKGROUND": "#40469c",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#b59e54"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Ranger"] = {"BACKGROUND": "#828282",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#507f62"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Rogue"] = {"BACKGROUND": "#171717",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#555752"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Sorcerer"] = {"BACKGROUND": "#991e2e",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#828282"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Warlock"] = {"BACKGROUND": "#292929",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("white", "#7b469b"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
sg.LOOK_AND_FEEL_TABLE["Wizard"] = {"BACKGROUND": "#2a50a1",
"TEXT": "#ffffff",
"INPUT": "#ffffff",
"TEXT_INPUT": "#000000",
"SCROLL": "#c7e78b", #not edited yet
"BUTTON": ("black", "#b2bcd6"),
"PROGRESS": ("#01826B", "#D0D0D0"), #not edited yet
"BORDER": 1, "SLIDER_DEPTH": 0, "PROGRESS_DEPTH": 0, #not edited yet
}
themes=["Default", "Artificer", "Barbarian", "Bard", "Cleric", "Druid", "Fighter", "Monk", "Paladin", "Ranger", "Rogue", "Sorcerer", "Warlock", "Wizard"]
if __name__=="__main__":
theme=themes[1]
print(theme)
# Switch to use your newly created theme
sg.theme(theme)
# Call a popup to show what the theme looks like
sg.popup_get_text("This how the \"{}\" custom theme looks".format(theme))