Add the ability to expand/collapse users in notifications
This commit is contained in:
parent
1ed82b6c59
commit
74ab6530d4
4 changed files with 202 additions and 58 deletions
|
@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue