Skip to content

Commit d8c24aa

Browse files
committed
Tone down theme to neutral system-style buttons and subtle accents
Buttons use light grey background with borders instead of bright blue. Tab selection uses dark text instead of blue highlight. Focus borders toned down to grey. Bump version to 1.4.0.
1 parent 1d88727 commit d8c24aa

2 files changed

Lines changed: 15 additions & 13 deletions

File tree

src/utils/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Application constants
22

33
APP_NAME = "Merisio"
4-
APP_VERSION = "1.3.1"
4+
APP_VERSION = "1.4.0"
55
FILE_EXTENSION = ".merisio"
66
FILE_FILTER = "Merisio Projects (*.merisio);;All Files (*)"
77
MSD_FILE_EXTENSION = ".msd"

src/utils/theme.py

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ def get_stylesheet() -> str:
132132
133133
QTabBar::tab:selected {{
134134
background-color: {COLORS['bg_main']};
135-
color: {COLORS['primary']};
136-
border-bottom: 2px solid {COLORS['primary']};
135+
color: {COLORS['text_primary']};
136+
border-bottom: 2px solid {COLORS['text_secondary']};
137137
margin-bottom: -1px;
138138
}}
139139
@@ -163,24 +163,26 @@ def get_stylesheet() -> str:
163163
164164
/* Push Buttons */
165165
QPushButton {{
166-
background-color: {COLORS['primary']};
167-
color: white;
168-
border: none;
169-
padding: 8px 16px;
170-
border-radius: 6px;
166+
background-color: {COLORS['bg_sidebar']};
167+
color: {COLORS['text_primary']};
168+
border: 1px solid {COLORS['border']};
169+
padding: 6px 14px;
170+
border-radius: 4px;
171171
}}
172172
173173
QPushButton:hover {{
174-
background-color: {COLORS['primary_hover']};
174+
background-color: {COLORS['bg_hover']};
175+
border-color: #BBBFC4;
175176
}}
176177
177178
QPushButton:pressed {{
178-
background-color: {COLORS['primary']};
179+
background-color: #D0D0D0;
179180
}}
180181
181182
QPushButton:disabled {{
182-
background-color: {COLORS['border']};
183+
background-color: {COLORS['bg_main']};
183184
color: {COLORS['text_muted']};
185+
border-color: {COLORS['border_light']};
184186
}}
185187
186188
/* Line Edit */
@@ -194,7 +196,7 @@ def get_stylesheet() -> str:
194196
}}
195197
196198
QLineEdit:focus {{
197-
border-color: {COLORS['primary']};
199+
border-color: {COLORS['text_secondary']};
198200
}}
199201
200202
/* Text Edit */
@@ -207,7 +209,7 @@ def get_stylesheet() -> str:
207209
}}
208210
209211
QTextEdit:focus {{
210-
border-color: {COLORS['primary']};
212+
border-color: {COLORS['text_secondary']};
211213
}}
212214
213215
/* Combo Box */

0 commit comments

Comments
 (0)