Add collaborator count to collaborator list button

This commit is contained in:
Julia
2023-02-22 11:21:23 -05:00
parent c697c1a96a
commit bf8658067f
3 changed files with 45 additions and 19 deletions
+8 -2
View File
@@ -151,8 +151,7 @@ export default function workspace(colorScheme: ColorScheme) {
margin: { left: 6 },
cornerRadius: 6,
color: foreground(layer, "variant"),
iconWidth: 12,
buttonWidth: 20,
width: 12,
active: {
background: background(layer, "variant", "active"),
color: foreground(layer, "variant", "active"),
@@ -162,6 +161,13 @@ export default function workspace(colorScheme: ColorScheme) {
color: foreground(layer, "variant", "hovered"),
},
},
collaboratorCount: {
...text(layer, "mono", { size: "sm" }),
margin: {
left: 4,
right: 6,
},
},
toggleContactsButton: {
margin: { left: 6 },
cornerRadius: 6,