|
Wireshark 5.1.0
The Wireshark network protocol analyzer
|
#include <color_math.h>
Public Attributes | |
| ThemeContrast | level |
| The contrast level this set belongs to. | |
| qreal | readableText |
| qreal | largeText |
| qreal | nonText |
| qreal | divider |
| qreal | distinctSurface |
| qreal | cardSurfaceDark |
| qreal | icon |
One set of derivation contrast ratios. ratiosFor() builds the Standard and the High set; activeRatios() is the set the running theme was derived with.
| qreal ColorMath::ContrastRatios::cardSurfaceDark |
A raised card against Base in dark mode. Softer than distinctSurface: a card is a grouping, not a state. Light mode needs no lift, because the card border sets the card apart on a light base.
| qreal ColorMath::ContrastRatios::distinctSurface |
A fill against a neighboring one it must read apart from: a hover tint against the selection it is derived from, the welcome header against the window.
| qreal ColorMath::ContrastRatios::divider |
A divider or border line against the surface it sits on: separators on Base, card borders and lines drawn on a card.
| qreal ColorMath::ContrastRatios::icon |
A contrast-adapted icon glyph against the surface it is drawn on.
| qreal ColorMath::ContrastRatios::largeText |
Text that may be quieter than body text: large or secondary text such as a version label or transient state text.
| qreal ColorMath::ContrastRatios::nonText |
Non-text elements (control borders, progress fills) against their neighbor.
| qreal ColorMath::ContrastRatios::readableText |
Body text against its surface (WCAG AA, AAA in High).