diff --git a/frontend/src/components/ContactInfoPane.tsx b/frontend/src/components/ContactInfoPane.tsx index dda63db..274feb0 100644 --- a/frontend/src/components/ContactInfoPane.tsx +++ b/frontend/src/components/ContactInfoPane.tsx @@ -515,7 +515,7 @@ function SectionLabel({ children }: { children: React.ReactNode }) { function ChannelAttributionWarning({ includeAliasNote = false, nameOnly = false, - className = 'mx-5 my-3 px-3 py-2 rounded-md bg-yellow-500/10 border border-yellow-500/20', + className = 'mx-5 my-3 px-3 py-2 rounded-md bg-warning/10 border border-warning/20', }: { includeAliasNote?: boolean; nameOnly?: boolean; @@ -523,7 +523,7 @@ function ChannelAttributionWarning({ }) { return (
-

+

Channel sender identity is based on best-effort name matching. Different nodes using the same name will be attributed to the same {nameOnly ? 'sender name' : 'contact'}. Stats below may be inaccurate. diff --git a/frontend/src/components/settings/SettingsLocalSection.tsx b/frontend/src/components/settings/SettingsLocalSection.tsx index 3adb34e..8ced94b 100644 --- a/frontend/src/components/settings/SettingsLocalSection.tsx +++ b/frontend/src/components/settings/SettingsLocalSection.tsx @@ -40,6 +40,7 @@ export function SettingsLocalSection({

+
@@ -91,3 +92,64 @@ export function SettingsLocalSection({
); } + +function ThemePreview({ className }: { className?: string }) { + return ( +
+

+ Preview alert and message contrast for the selected theme. +

+ +
+ + Connected preview: radio link healthy and syncing. + + + Warning preview: packet audit suggests missing history. + + + Error preview: radio reconnect failed. + +
+ +
+ + +
+
+ ); +} + +function PreviewBanner({ children, className }: { children: React.ReactNode; className: string }) { + return
{children}
; +} + +function PreviewMessage({ + sender, + text, + bubbleClassName, + alignRight = false, +}: { + sender: string; + text: string; + bubbleClassName: string; + alignRight?: boolean; +}) { + return ( +
+
+ {sender} +
{text}
+
+
+ ); +} diff --git a/frontend/src/components/settings/SettingsRadioSection.tsx b/frontend/src/components/settings/SettingsRadioSection.tsx index 8cdb180..ac509ef 100644 --- a/frontend/src/components/settings/SettingsRadioSection.tsx +++ b/frontend/src/components/settings/SettingsRadioSection.tsx @@ -460,7 +460,7 @@ export function SettingsRadioSection({ -
+

Compatibility Warning

ALL nodes along a message's route — your radio, every repeater, and the diff --git a/frontend/src/components/visualizer/VisualizerControls.tsx b/frontend/src/components/visualizer/VisualizerControls.tsx index 0c475fc..4dd4be8 100644 --- a/frontend/src/components/visualizer/VisualizerControls.tsx +++ b/frontend/src/components/visualizer/VisualizerControls.tsx @@ -298,7 +298,7 @@ export function VisualizerControls({