style(preview): increase preview contrast

In this commit I increased the preview contrast of the color preview
buffer background to look better on different colors.
This commit is contained in:
r3b00thx 2025-06-05 17:06:05 +03:00
parent 289603c9b4
commit a9d1808f4c
No known key found for this signature in database
GPG key ID: D972C6E6008EA013

View file

@ -464,7 +464,7 @@ void CHyprpicker::renderSurface(CLayerSurface* pSurface, bool forceInactive) {
break;
};
};
cairo_set_source_rgba(PCAIRO, 0.0, 0.0, 0.0, 0.5);
cairo_set_source_rgba(PCAIRO, 0.0, 0.0, 0.0, 0.75);
double x, y, width = 8 + (11 * previewBuffer.length()), height = 28, radius = 6;