Theme colours a host supplies to resolveThemeParamColors(). More...
#include <PhosphorSurface/SurfaceThemeResolve.h>
Public Attributes | |
| QColor | accent |
| System accent / highlight (useSystemAccent active border). | |
| QColor | inactive |
| Unfocused accent (useSystemAccent inactive border). | |
| QColor | background |
| Theme window background (useThemeNeutral lerp base, useThemeTint halo). | |
| QColor | foreground |
| Theme window foreground (useThemeNeutral lerp target). | |
| QColor | windowAccent = {} |
| Optional per-window identity colour (useWindowAccent); invalid when the host has no identity for the surface. | |
Theme colours a host supplies to resolveThemeParamColors().
Every host that composes a decoration chain (the daemon's overlay decorations, the KWin window decorations, the shell's chrome and the settings preview) resolves these from its own colour source and passes them in, so the flag→colour synthesis stays identical across them. The KWin host, for one, takes accent and inactive from the daemon's border colours and background and foreground from its own palette.
| QColor PhosphorSurfaceShaders::SurfaceThemeColors::accent |
System accent / highlight (useSystemAccent active border).
| QColor PhosphorSurfaceShaders::SurfaceThemeColors::background |
Theme window background (useThemeNeutral lerp base, useThemeTint halo).
| QColor PhosphorSurfaceShaders::SurfaceThemeColors::foreground |
Theme window foreground (useThemeNeutral lerp target).
| QColor PhosphorSurfaceShaders::SurfaceThemeColors::inactive |
Unfocused accent (useSystemAccent inactive border).
| QColor PhosphorSurfaceShaders::SurfaceThemeColors::windowAccent = {} |
Optional per-window identity colour (useWindowAccent); invalid when the host has no identity for the surface.
Only its RGB is used. The default member initializer keeps the hosts' four-colour aggregate initialisers free of -Wmissing-field-initializers.