-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdark.py
25 lines (24 loc) · 1.24 KB
/
dark.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QPalette, QColor
palette = QPalette()
white = QColor(224, 224, 224)
palette.setColor(QPalette.Window, QColor(32, 32, 32))
palette.setColor(QPalette.WindowText, white)
palette.setColor(QPalette.Base, QColor(32, 32, 32))
palette.setColor(QPalette.AlternateBase, QColor(48, 48, 48))
palette.setColor(QPalette.ToolTipBase, white)
palette.setColor(QPalette.ToolTipText, white)
palette.setColor(QPalette.Text, white)
palette.setColor(QPalette.Dark, QColor(35, 35, 35))
palette.setColor(QPalette.Shadow, QColor(20, 20, 20))
palette.setColor(QPalette.Button, QColor(32, 32, 32))
palette.setColor(QPalette.ButtonText, white)
palette.setColor(QPalette.BrightText, Qt.red)
palette.setColor(QPalette.Link, QColor(255, 255, 255))
palette.setColor(QPalette.Highlight, QColor(42, 130, 218))
palette.setColor(QPalette.HighlightedText, white)
palette.setColor(QPalette.Disabled, QPalette.Text, QColor(127, 127, 127))
palette.setColor(QPalette.Disabled, QPalette.WindowText, QColor(127, 127, 127))
palette.setColor(QPalette.Disabled, QPalette.HighlightedText, QColor(127, 127, 127))
palette.setColor(QPalette.Disabled, QPalette.ButtonText, QColor(127, 127, 127))
palette.setColor(QPalette.Disabled, QPalette.Highlight, QColor(80, 80, 80))