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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue