Application wide updates for dark mode support including dark canvas option and better colors
This commit is contained in:
@@ -25,7 +25,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# PARAMETERS Frame
|
||||
# #############################################################################################################
|
||||
self.mill_label = FCLabel('<span style="color:blue;"><b>%s</b></span>' % _("Parameters"))
|
||||
self.mill_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('blue'), _("Parameters")))
|
||||
self.mill_label.setToolTip(
|
||||
_("Create CNCJob with toolpaths for milling either Geometry or drill holes.")
|
||||
)
|
||||
@@ -289,7 +289,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Advanced Options Frame
|
||||
# #############################################################################################################
|
||||
self.adv_label = FCLabel('<span style="color:teal;"><b>%s</b></span>' % _('Advanced Options'))
|
||||
self.adv_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('teal'), _('Advanced Options')))
|
||||
self.adv_label.setToolTip(
|
||||
_("A list of advanced parameters.")
|
||||
)
|
||||
@@ -437,7 +437,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Area Exclusion Frame
|
||||
# #############################################################################################################
|
||||
self.area_exc_label = FCLabel('<span style="color:magenta;"><b>%s</b></span>' % _('Area Exclusion'))
|
||||
self.area_exc_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('magenta'), _('Area Exclusion')))
|
||||
self.area_exc_label.setToolTip(
|
||||
_("Area exclusion parameters.")
|
||||
)
|
||||
@@ -503,7 +503,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Area Polish Frame
|
||||
# #############################################################################################################
|
||||
self.pol_label = FCLabel('<span style="color:brown;"><b>%s</b></span>' % _('Add Polish'))
|
||||
self.pol_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('brown'), _('Add Polish')))
|
||||
self.pol_label.setToolTip(
|
||||
_("Will add a Paint section at the end of the GCode.\n"
|
||||
"A metallic brush will clean the material after milling.")
|
||||
@@ -562,7 +562,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Excellon Milling Frame
|
||||
# #############################################################################################################
|
||||
self.mille_label = FCLabel('<span style="color:darkorange;"><b>%s</b></span>' % _('Excellon Milling'))
|
||||
self.mille_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('darkorange'), _('Excellon Milling')))
|
||||
self.mille_label.setToolTip(
|
||||
_("Will mill Excellon holes progressively from the center of the hole.")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user