Application wide updates for dark mode support including dark canvas option and better colors
This commit is contained in:
@@ -27,7 +27,7 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Plot Frame
|
||||
# #############################################################################################################
|
||||
self.plot_options_label = FCLabel('<span style="color:blue;"><b>%s</b></span>' % _("Plot Options"))
|
||||
self.plot_options_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('blue'), _("Plot Options")))
|
||||
self.layout.addWidget(self.plot_options_label)
|
||||
|
||||
plot_frame = FCFrame()
|
||||
@@ -77,7 +77,7 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Excellon Format Frame
|
||||
# #############################################################################################################
|
||||
self.excellon_format_label = FCLabel('<span style="color:green;"><b>%s</b></span>' % _("Excellon Format"))
|
||||
self.excellon_format_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('green'), _("Excellon Format")))
|
||||
self.excellon_format_label.setToolTip(
|
||||
_("The NC drill files, usually named Excellon files\n"
|
||||
"are files that can be found in different formats.\n"
|
||||
@@ -220,7 +220,7 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Optimization Frame
|
||||
# #############################################################################################################
|
||||
self.excellon_general_label = FCLabel('<span style="color:teal;"><b>%s</b></span>' % _("Path Optimization"))
|
||||
self.excellon_general_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('teal'), _("Path Optimization")))
|
||||
self.layout.addWidget(self.excellon_general_label)
|
||||
|
||||
opt_frame = FCFrame()
|
||||
@@ -272,7 +272,7 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
|
||||
# Fusing Frame
|
||||
# #############################################################################################################
|
||||
# Fuse Tools
|
||||
self.join_geo_label = FCLabel('<span style="color:magenta;"><b>%s</b></span>' % _('Join Option'))
|
||||
self.join_geo_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('magenta'), _('Join Option')))
|
||||
self.layout.addWidget(self.join_geo_label)
|
||||
|
||||
fuse_frame = FCFrame()
|
||||
@@ -291,7 +291,7 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Object Color Frame
|
||||
# #############################################################################################################
|
||||
self.gerber_color_label = FCLabel('<span style="color:darkorange;"><b>%s</b></span>' % _('Object Color'))
|
||||
self.gerber_color_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('darkorange'), _('Object Color')))
|
||||
self.layout.addWidget(self.gerber_color_label)
|
||||
|
||||
obj_frame = FCFrame()
|
||||
|
||||
Reference in New Issue
Block a user