diff --git a/ElementX/Sources/AppHooks/HealthChat/HealthChatCompoundHook.swift b/ElementX/Sources/AppHooks/HealthChat/HealthChatCompoundHook.swift index 154eda0fc..231229440 100644 --- a/ElementX/Sources/AppHooks/HealthChat/HealthChatCompoundHook.swift +++ b/ElementX/Sources/AppHooks/HealthChat/HealthChatCompoundHook.swift @@ -28,6 +28,7 @@ struct HealthChatCompoundHook: CompoundHookProtocol { \.textActionAccent, \.textLinkExternal, \.borderInteractivePrimary, + \.borderAccentPrimary, \.textBadgeAccent ] let solidUIColorTokens: [KeyPath & Sendable] = [ @@ -39,6 +40,7 @@ struct HealthChatCompoundHook: CompoundHookProtocol { \.textActionAccent, \.textLinkExternal, \.borderInteractivePrimary, + \.borderAccentPrimary, \.textBadgeAccent ] for keyPath in solidColorTokens { @@ -63,6 +65,19 @@ struct HealthChatCompoundHook: CompoundHookProtocol { colors.override(keyPath, with: Color(brand)) } + // Subtle gradient (home screen bloom, highlighted timeline item) → brand blue fading out, + // at the opacities Compound uses for its green stops. Stop 6 stays transparent. + let subtleGradientTokens: [KeyPath] = [ + \.gradientSubtleStop1, + \.gradientSubtleStop2, + \.gradientSubtleStop3, + \.gradientSubtleStop4, + \.gradientSubtleStop5 + ] + for (keyPath, opacity) in zip(subtleGradientTokens, [0.41, 0.23, 0.11, 0.06, 0.03]) { + colors.override(keyPath, with: Color(brand).opacity(opacity)) + } + // Subtle accent backgrounds (paired with accent-coloured foregrounds) → brand tint. let tintColorTokens: [KeyPath] = [ \.bgAccentSelected, diff --git a/HEALTHCHAT_CHANGES.md b/HEALTHCHAT_CHANGES.md index 3686825e9..e07f3b48c 100644 --- a/HEALTHCHAT_CHANGES.md +++ b/HEALTHCHAT_CHANGES.md @@ -9,6 +9,13 @@ matches `## Changes in ` exactly. Upstream's `CHANGES.md` tracks element-hq's own releases and must not be edited here. +## Changes in 26.11.2 (2026-10-20) + +🙌 Improvements + +- The coloured fade at the top of the chat list, the highlight when jumping to a message and + the unread marker line now use HealthChat blue instead of Element green. + ## Changes in 26.11.1 (2026-10-19) 🙌 Improvements