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,
},
}
}

View file

@ -13,7 +13,7 @@ export const defaultTheme: Theme = {
textInverted: colors.white,
link: colors.blue3,
border: '#f0e9e9',
icon: colors.gray2,
icon: colors.gray3,
// non-standard
textVeryLight: colors.gray4,