- some changes to the dark mode stylesheet to make it look better

- darkened the text color for the dark theme in order to make it easier on the eyes
- in Distance Plugin, when using the big cursor, the cursor colors are fixed to work for the dark mode too
This commit is contained in:
Marius Stanciu
2022-05-04 05:04:53 +03:00
committed by Marius
parent 34d65a2077
commit e76568c2f1
5 changed files with 24 additions and 15 deletions

View File

@@ -217,10 +217,17 @@ class Distance(AppTool):
if self.ui.big_cursor_cb.get_value():
self.app.on_cursor_type(val="big", control_cursor=True)
self.cursor_color_memory = self.app.plotcanvas.cursor_color
if self.app.use_3d_engine is True:
self.app.plotcanvas.cursor_color = '#000000FF'
if self.app.options["global_theme"] in ['defaul', 'light']:
if self.app.use_3d_engine is True:
self.app.plotcanvas.cursor_color = '#000000FF'
else:
self.app.plotcanvas.cursor_color = '#000000'
else:
self.app.plotcanvas.cursor_color = '#000000'
if self.app.use_3d_engine is True:
self.app.plotcanvas.cursor_color = '#AAAAAAFF'
else:
self.app.plotcanvas.cursor_color = '#AAAAAA'
self.app.app_cursor.enabled = True
self.app.call_source = 'measurement'