-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.py
66 lines (66 loc) · 1.42 KB
/
style.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
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
def load_dark_theme():
return """
QMainWindow {
background-color: #333333;
color: #ffffff;
}
QPushButton {
background-color: #555555;
color: #ffffff;
border: 1px solid #777777;
padding: 5px;
}
QPushButton:hover {
background-color: #666666;
}
QPushButton:disabled {
background-color: #444444;
color: #aaaaaa;
}
QLabel {
color: #ffffff;
}
QProgressBar {
background-color: #2B2B2B;
border: none;
border-radius: 2px;
text-align: center;
margin-top: 8px;
margin-bottom: 8px;
height: 4px;
max-height: 4px;
}
QProgressBar::chunk {
background-color: #4CAF50;
border-radius: 2px;
}
QDialog {
background-color: #333333;
color: #ffffff;
}
QLabel#dateLabel {
font-size: 50px;
font-weight: bold;
}
QLabel#monthLabel,
QLabel#yearLabel,
QLabel#dayLabel {
font-size: 18px;
font-weight: bold;
}
QLabel#motivationalPhraseLabel {
font-size: 15px;
font-weight: bold;
}
QLabel#countdownLabel {
font-size: 24px;
}
QPushButton#startPauseButton,
QPushButton#resetButton {
font-size: 18px;
padding: 5px;
}
QLabel#yearLabel {
font-weight: normal; /* you had it not bold previously */
}
"""