Skip to content

Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.

Windows: give the screen sharing pill its colors

Bee2dfaf9c49b57
diff --git a/desktop/app/qml/Theme.qml b/desktop/app/qml/Theme.qml
index d5be6e0..9acc9ff 100644
--- a/desktop/app/qml/Theme.qml
+++ b/desktop/app/qml/Theme.qml
@@ -139,6 +139,10 @@ QtObject {
readonly property color warning: status.warning
readonly property color error: status.error
readonly property color errorContent: status.onError
+ // A quiet error surface (the "sharing your screen" pill): the error hue
+ // over the surface, with the surface's own ink so text stays readable.
+ readonly property color errorContainer: Qt.tint(surfaceContainerHigh, Qt.rgba(error.r, error.g, error.b, dark ? 0.22 : 0.14))
+ readonly property color errorContainerContent: surfaceContent
// ---- Component colors (docs/design/assets/nl.css) ----
// Hive: nearly opaque, so the comb shows through as texture without