Skip to content

Commit 03bd646

Browse files
committed
Midnight Theme
Probably the best one
1 parent 55a68f0 commit 03bd646

File tree

1 file changed

+162
-0
lines changed

1 file changed

+162
-0
lines changed

assets/ui/themes/midnight.qss

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
QWidget {
2+
background-color: #14141a;
3+
color: #e0e0e0;
4+
font-family: "Segoe UI", "Arial", sans-serif;
5+
font-size: 14px;
6+
}
7+
8+
QListWidget {
9+
background-color: #1a1a21;
10+
border: 1px solid #2e2e38;
11+
padding: 5px;
12+
}
13+
QListWidget::item {
14+
padding: 6px 10px;
15+
height: 30px;
16+
border-bottom: 1px solid #252530;
17+
}
18+
QListWidget::item:selected {
19+
background-color: #2f3d5c;
20+
color: #ffffff;
21+
border-left: 4px solid #4c6faf;
22+
}
23+
24+
QGroupBox {
25+
border: 1px solid #2e2e38;
26+
border-radius: 5px;
27+
margin-top: 12px;
28+
padding: 10px;
29+
background-color: #1a1a21;
30+
}
31+
QGroupBox::title {
32+
subcontrol-origin: margin;
33+
subcontrol-position: top left;
34+
padding: 0 4px;
35+
color: #4c6faf;
36+
font-weight: bold;
37+
}
38+
39+
QLineEdit {
40+
background-color: #1e1e28;
41+
border: 1px solid #343444;
42+
padding: 6px;
43+
color: #e0e0e0;
44+
border-radius: 4px;
45+
}
46+
47+
QComboBox {
48+
background-color: #1e1e28;
49+
border: 1px solid #343444;
50+
padding: 8px 6px;
51+
color: #e0e0e0;
52+
border-radius: 5px;
53+
min-height: 32px;
54+
}
55+
QComboBox::drop-down {
56+
width: 36px;
57+
border-left: 1px solid #343444;
58+
}
59+
QComboBox::down-arrow {
60+
image: url(./assets/icons/arrow_down.png);
61+
width: 12px;
62+
height: 12px;
63+
}
64+
QComboBox QAbstractItemView {
65+
background-color: #1a1a21;
66+
border: 1px solid #2e2e38;
67+
selection-background-color: #2f3d5c;
68+
color: white;
69+
}
70+
QComboBox QAbstractItemView::item {
71+
padding: 6px 10px;
72+
height: 28px;
73+
border-bottom: 1px solid #252530;
74+
}
75+
QComboBox QAbstractItemView::item:selected {
76+
background-color: #3e5180;
77+
}
78+
79+
QLabel {
80+
background: transparent;
81+
border: none;
82+
color: #cccccc;
83+
}
84+
QLabel#SettingsDescriptionLabel {
85+
color: #a0a0a0;
86+
font-size: 12px;
87+
font-style: italic;
88+
}
89+
QLabel#SettingsLabel {
90+
color: #4c6faf;
91+
font-size: 24px;
92+
}
93+
94+
QPushButton {
95+
background-color: #3a4e78;
96+
color: white;
97+
border: none;
98+
border-radius: 5px;
99+
padding: 8px 16px;
100+
font-size: 14px;
101+
min-height: 32px;
102+
}
103+
QPushButton:hover {
104+
background-color: #4c6faf;
105+
}
106+
QPushButton:pressed {
107+
background-color: #2b3b5a;
108+
}
109+
QPushButton#SettingsButton {
110+
background-color: #1e1e28;
111+
color: #fff;
112+
padding: 8px;
113+
height: 32px;
114+
width: 285px;
115+
border-radius: 4px;
116+
}
117+
QPushButton#SettingsButton:hover {
118+
background-color: #2a2a36;
119+
}
120+
121+
QCheckBox, QRadioButton {
122+
padding: 2px;
123+
spacing: 6px;
124+
}
125+
QCheckBox::indicator, QRadioButton::indicator {
126+
width: 16px;
127+
height: 16px;
128+
}
129+
QCheckBox::indicator:checked,
130+
QRadioButton::indicator:checked {
131+
background-color: #3a4e78;
132+
border: 1px solid #343444;
133+
}
134+
QCheckBox::indicator,
135+
QRadioButton::indicator {
136+
background-color: #1e1e28;
137+
border: 1px solid #343444;
138+
}
139+
QCheckBox::indicator:disabled,
140+
QRadioButton::indicator:disabled {
141+
background-color: #4e4e5a;
142+
border: 1px solid #343444;
143+
}
144+
145+
QScrollBar:vertical, QScrollBar:horizontal {
146+
background-color: #14141a;
147+
border: none;
148+
width: 10px;
149+
margin: 2px;
150+
}
151+
QScrollBar::handle {
152+
background-color: #343444;
153+
border-radius: 5px;
154+
}
155+
QScrollBar::handle:hover {
156+
background-color: #4c4c60;
157+
}
158+
QScrollBar::add-line, QScrollBar::sub-line {
159+
background: none;
160+
border: none;
161+
height: 0;
162+
}

0 commit comments

Comments
 (0)