Add collaborator count to collaborator list button

This commit is contained in:
Julia committed 2023-02-22 11:21:23 -05:00
1 parent 944c6fba5f
commit ea3bb46d2b
3 files changed
+45 -19

No files matched your search

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