From 150ed641ae4ef64cbc4a586baffc013eae685e6d Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 19 Oct 2023 12:40:10 -0700 Subject: [PATCH] Render read notifications in a different color --- styles/src/style_tree/notification_panel.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/styles/src/style_tree/notification_panel.ts b/styles/src/style_tree/notification_panel.ts index 9afdf1e00a2c81bcc8f1b662c55466db032c7388..996f05398b634849ff77ca5256ce2acb145827b6 100644 --- a/styles/src/style_tree/notification_panel.ts +++ b/styles/src/style_tree/notification_panel.ts @@ -16,7 +16,7 @@ export default function chat_panel(): any { outer_width: 24, outer_corner_radius: 16, }, - read_text: text(layer, "sans", "base"), + read_text: text(layer, "sans", "disabled"), unread_text: text(layer, "sans", "base"), button: interactive({ base: { @@ -40,11 +40,9 @@ export default function chat_panel(): any { left: 2, top: 2, bottom: 2, - } - }, - list: { - + }, }, + list: {}, icon_button: icon_button({ variant: "ghost", color: "variant", @@ -52,6 +50,6 @@ export default function chat_panel(): any { }), sign_in_prompt: { default: text(layer, "sans", "base"), - } + }, } }