-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdark_theme.qss
More file actions
125 lines (104 loc) · 2.18 KB
/
dark_theme.qss
File metadata and controls
125 lines (104 loc) · 2.18 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* dark_theme.qss */
/* A professional dark theme for the PySide6 Node Editor */
QWidget {
background-color: #2E2E2E;
color: #E0E0E0;
font-family: Arial, sans-serif;
}
/* --- Main Window & Docking --- */
QMainWindow, QDockWidget {
background-color: #2E2E2E;
color: #F0F0F0;
}
QDockWidget::title {
background-color: #424242;
padding: 4px;
border: 1px solid #222222;
border-radius: 4px;
}
/* --- Menu Bar --- */
QMenuBar {
background-color: #3C3C3C;
color: #E0E0E0;
border-bottom: 1px solid #2A2A2A;
}
QMenuBar::item {
background-color: transparent;
padding: 4px 10px;
}
QMenuBar::item:selected {
background-color: #5A5A5A;
}
/* --- Menus --- */
QMenu {
background-color: #3C3C3C;
color: #E0E0E0;
border: 1px solid #5A5A5A;
}
QMenu::item {
padding: 4px 20px;
}
QMenu::item:selected {
background-color: #0078D7; /* A nice highlight color */
}
QMenu::separator {
height: 1px;
background-color: #5A5A5A;
margin: 4px 0px;
}
/* --- Buttons --- */
QPushButton {
background-color: #4A4A4A;
color: #E0E0E0;
border: 1px solid #5A5A5A;
padding: 6px 12px;
border-radius: 4px;
font-weight: bold;
}
QPushButton:hover {
background-color: #5A5A5A;
}
QPushButton:pressed {
background-color: #6A6A6A;
}
/* --- Text Edit & Input Fields --- */
QTextEdit, QLineEdit {
background-color: #252525;
color: #E0E0E0;
border: 1px solid #4A4A4A;
border-radius: 4px;
padding: 4px;
}
/* --- Scroll Bars --- */
QScrollBar:vertical {
border: 1px solid #2A2A2A;
background: #3C3C3C;
width: 15px;
margin: 15px 0 15px 0;
}
QScrollBar::handle:vertical {
background: #5A5A5A;
min-height: 20px;
border-radius: 7px;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
height: 0px;
}
QScrollBar:horizontal {
border: 1px solid #2A2A2A;
background: #3C3C3C;
height: 15px;
margin: 0 15px 0 15px;
}
QScrollBar::handle:horizontal {
background: #5A5A5A;
min-width: 20px;
border-radius: 7px;
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
width: 0px;
}
/* --- Dialogs --- */
QDialog {
background-color: #3C3C3C;
}