Slight color changes

This commit is contained in:
Rikko 2022-12-05 20:55:07 +05:30
parent eb20b171a5
commit e122d0f709
2 changed files with 9 additions and 10 deletions

View file

@ -1,12 +1,7 @@
{ {
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
"versions": { "versions": {
"0.1.10": { "0.1.10": null,
"api_version": 7,
"commit_sha": "7700ee1",
"released_on": "05-12-2022",
"md5sum": "d6c963bf62e5bfdcd3d83ff44b58f855"
},
"0.1.9": { "0.1.9": {
"api_version": 7, "api_version": 7,
"commit_sha": "09b6832", "commit_sha": "09b6832",
@ -50,4 +45,4 @@
"https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json"
], ],
"external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json"
} }

View file

@ -1665,8 +1665,12 @@ class PluginManagerSettingsWindow(popup.PopupWindow):
width = 380 * s width = 380 * s
height = 150 + 150 * s height = 150 + 150 * s
color = (0.9, 0.9, 0.9) color = (0.9, 0.9, 0.9)
discord_bg_color = ba.normalized_color((88, 101, 242))
github_bg_color = (0.2, 0.2, 0.2) # Subtracting the default bluish-purple color from the texture, so it's as close
# as to white as possible.
discord_fg_color = (10 - 0.32, 10 - 0.39, 10 - 0.96)
discord_bg_color = (0.525, 0.595, 1.458)
github_bg_color = (0.23, 0.23, 0.23)
text_scale = 0.7 * s text_scale = 0.7 * s
self._transition_out = 'out_scale' self._transition_out = 'out_scale'
transition = 'in_scale' transition = 'in_scale'
@ -1743,7 +1747,7 @@ class PluginManagerSettingsWindow(popup.PopupWindow):
position=((width * 0.20)+0.5 - button_size[0] / 2, pos), position=((width * 0.20)+0.5 - button_size[0] / 2, pos),
size=button_size, size=button_size,
texture=ba.gettexture("discordLogo"), texture=ba.gettexture("discordLogo"),
color=(10, 10, 10), color=discord_fg_color,
draw_controller=self.discord_button) draw_controller=self.discord_button)
self.github_button = ba.buttonwidget(parent=self._root_widget, self.github_button = ba.buttonwidget(parent=self._root_widget,