feat: add focus mode

This commit is contained in:
Paul Makles
2022-09-18 12:05:48 +01:00
parent 47bfaad508
commit e6ad6a552e
10 changed files with 40 additions and 12 deletions

View File

@@ -25,6 +25,8 @@ export function useStatusColour(user?: User) {
return user?.online && user?.status?.presence !== "Invisible"
? user?.status?.presence === "Idle"
? theme.getVariable("status-away")
: user?.status?.presence === "Focus"
? theme.getVariable("status-focus")
: user?.status?.presence === "Busy"
? theme.getVariable("status-busy")
: theme.getVariable("status-online")