- more changes for dark theme

This commit is contained in:
Marius Stanciu
2022-05-04 05:43:47 +03:00
committed by Marius
parent 96817e3417
commit 73ae30e016
4 changed files with 25 additions and 3 deletions

View File

@@ -51,9 +51,13 @@ class VisPyCanvas(scene.SceneCanvas):
tick_color = Color('#000000')
back_color = str(QPalette().color(QPalette.ColorRole.Window).name())
else:
theme_color = Color('#000000')
if theme not in ['default', 'light']:
theme_color = Color('#202124')
back_color = Color('#202124')
else:
theme_color = Color('#000000')
back_color = Color('#000000')
tick_color = Color('gray')
back_color = Color('#000000')
# back_color = Color('#272822') # darker
# back_color = Color('#3c3f41') # lighter