Add the ability to expand/collapse users in notifications

This commit is contained in:
Paul Frazee 2023-01-19 11:34:07 -06:00
parent 1ed82b6c59
commit 74ab6530d4
4 changed files with 202 additions and 58 deletions

View file

@ -10,6 +10,7 @@ export interface UsePaletteValue {
textLight: TextStyle
textInverted: TextStyle
link: TextStyle
icon: TextStyle
}
export function usePalette(color: PaletteColorName): UsePaletteValue {
const palette = useTheme().palette[color]
@ -36,5 +37,8 @@ export function usePalette(color: PaletteColorName): UsePaletteValue {
link: {
color: palette.link,
},
icon: {
color: palette.icon,
},
}
}