Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
The current implementation of the Basic style does not support Dark mode. This task involves updating the Basic style to ensure compatibility with Dark mode and adherence to the system theme settings.
With the increasing adoption of Dark mode across applications and operating systems, users expect seamless transitions between light and dark themes. Supporting Dark mode improves user experience, accessibility, and aligns with modern UI standards. Also the Basic style is the default style if the current quick style does not implement the control.
Requirements
- Implement Dark mode support for the Basic style.
- Ensure proper adherence to the system theme settings (e.g., auto-switching based on system preference).
- Maintain accessibility standards, including sufficient color contrast and readability.
Subtasks
- Technical implementation
- Auto tests
- Update examples
TODO (✅⬜⌛)
✅ General colors for Dark mode ✅ Dynamic system theme update ✅ CheckBox: Pressed+Hovered background color ✅ ComboBox: background color of Hovered item ✅ RadioButton: Pressed+Hovered background color ✅ RangeSlider: brighter border color ✅ Slider: same as RangeSlider ✅ Tumbler: the further numbers are too much vague ✅ Update Gallery Controls example: enable Basic style settings
❌ Update QQuickBasicStyle class. (The style is not used and should be removed)
Attachments
Issue Links
- is required for
-
QTBUG-134970 Ensure that the QQC2 Basic style respects high contrast, color scheme and preferred font size
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-135207 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
634855,6 | Basic Style: Add support for dark mode color scheme | dev | qt/qtdeclarative | Status: NEW | +1 | 0 |
635960,2 | Controls: Deprecate and remove QQuickBasicStyle | dev | qt/qtdeclarative | Status: NEW | +2 | 0 |