- made sure that the 'default' theme gets the 'stronger' colors
This commit is contained in:
@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM Evo beta
|
|||||||
|
|
||||||
- fixed and prettified the 'Light' theme
|
- fixed and prettified the 'Light' theme
|
||||||
- some more fixes for the 'Light' theme
|
- some more fixes for the 'Light' theme
|
||||||
|
- made sure that the 'default' theme gets the 'stronger' colors
|
||||||
|
|
||||||
18.04.2022
|
18.04.2022
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ class MainGUI(QtWidgets.QMainWindow):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if color in self.theme_safe_colors:
|
if color in self.theme_safe_colors:
|
||||||
if self.app.options['global_theme'] == 'light':
|
if self.app.options['global_theme'] in ['default', 'light']:
|
||||||
return color
|
return color
|
||||||
else:
|
else:
|
||||||
return self.theme_safe_colors[color]
|
return self.theme_safe_colors[color]
|
||||||
|
|||||||
Reference in New Issue
Block a user