![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <QColor>Go to the source code of this file.
Classes | |
| struct | openswmmvis::ui::ThemeColors |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Functions | |
| const ThemeColors & | openswmmvis::ui::lightColors () |
| const ThemeColors & | openswmmvis::ui::darkColors () |
UI redesign P2 — the design-token layer: one semantic color vocabulary generating both the light and dark chrome themes. Chrome code consumes roles (error, hint, banner, plot axis, ...) instead of hex literals so the two schemes stay in lockstep and contrast is enforceable by test.
Every text-role/surface pairing here meets WCAG AA (≥ 4.5:1 for text, ≥ 3:1 for non-text UI glyphs) — tests/gui/test_theme_contrast.cpp fails any edit that regresses that.
Data symbology (color ramps, categorical palettes, series cycles) is NOT part of this vocabulary — those encode data, not chrome, and stay untouched by theming.