Open gustavo-iniguez-goya opened 4 months ago
Original style (2.14):
dark:
light:
Proposed style:
For light theme style maybe is clearer the original style (2.14).
Another option could be to have another primary text color for dark themes (like secondaryDarkColor): primaryTextDarkColor or similar.
Hi, this looks fine to me. I see another problem (at least, it was one for me): The styles of several widgets are entered twice (wit different settings):
QDateEdit,
QDateTimeEdit,
QSpinBox,
QDoubleSpinBox,
QTextEdit,
QLineEdit,
QPushButton {
color: {{primaryColor}};
background-color: {{secondaryDarkColor}};
border: 2px solid {{primaryColor}};
border-radius: 4px;
height: {{36|density(density_scale, border=2)}}px;
}
QDateEdit,
QDateTimeEdit,
QSpinBox,
QDoubleSpinBox,
QTreeView,
QListView,
QLineEdit,
QComboBox {
color: {{primaryTextColor}};
padding-left: {{16|density(density_scale)}}px;
border-radius: 0px;
border-radius: 0px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
height: {{36|density(density_scale, border=2)}}px;
background-color: {{secondaryColor|opacity(0.75)}};
border: 2px solid {{secondaryTextColor|opacity(0.2)}};
border-width: 0 0 2px 0;
}
For widgets' default state, use primaryColor with less opacity, instead of primaryTextColor.
Issue #85