Skip to content

Commit

Permalink
🎨palette fix
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaygediz committed Dec 24, 2023
1 parent 2bfc020 commit cc94b32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RichSpan.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,17 +791,18 @@ def RS_themePalette(self):
self.dark_theme = QPalette()

self.light_theme.setColor(QPalette.Window, QColor(89, 111, 183))
self.light_theme.setColor(QPalette.WindowText, QColor(37, 38, 39))
self.light_theme.setColor(QPalette.WindowText, QColor(255, 255, 255))
self.light_theme.setColor(QPalette.Base, QColor(255, 255, 255))
self.light_theme.setColor(QPalette.Text, QColor(0, 0, 0))
self.light_theme.setColor(QPalette.Highlight, QColor(221, 216, 184))
self.light_theme.setColor(QPalette.ButtonText, QColor(0, 0, 0))

self.dark_theme.setColor(QPalette.Window, QColor(58, 68, 93))
self.dark_theme.setColor(QPalette.WindowText, QColor(239, 213, 195))
self.dark_theme.setColor(QPalette.WindowText, QColor(255, 255, 255))
self.dark_theme.setColor(QPalette.Base, QColor(94, 87, 104))
self.dark_theme.setColor(QPalette.Text, QColor(255, 255, 255))
self.dark_theme.setColor(QPalette.Highlight, QColor(221, 216, 184))
self.dark_theme.setColor(QPalette.ButtonText, QColor(255, 255, 255))

def RS_themeAction(self):
settings = QSettings("berkaygediz", "RichSpan")
Expand Down

0 comments on commit cc94b32

Please sign in to comment.