From 247e950713d64a3a58efeaeb8e6ec879bdc906ba Mon Sep 17 00:00:00 2001 From: ajnart Date: Sat, 3 Sep 2022 00:40:44 +0200 Subject: [PATCH] :bug: Fix opacity in Header and AppShelf accordion --- src/components/AppShelf/AppShelf.tsx | 33 +++++++++++++++++++++++++--- src/components/layout/Header.tsx | 15 +++++++++++-- 2 files changed, 43 insertions(+), 5 deletions(-) diff --git a/src/components/AppShelf/AppShelf.tsx b/src/components/AppShelf/AppShelf.tsx index 4cc1212c3..a6104dd01 100644 --- a/src/components/AppShelf/AppShelf.tsx +++ b/src/components/AppShelf/AppShelf.tsx @@ -155,20 +155,47 @@ const AppShelf = (props: any) => { }} > {categoryList.map((category, idx) => ( - + {category} {getItems(category)} ))} {/* Return the item for all services without category */} {noCategory && noCategory.length > 0 ? ( - + {t('accordions.others.text')} {getItems()} ) : null} {downloadEnabled ? ( - + {t('accordions.downloads.text')} ({ export function Header(props: any) { const { classes, cx } = useStyles(); + const { config } = useConfig(); + const { colorScheme } = useMantineColorScheme(); return ( - +