Introduce a + button in the titlebar

This commit is contained in:
Antonio Scandurra
2022-09-28 11:33:38 +02:00
parent c8a48e8990
commit 5a3a85b2c8
5 changed files with 78 additions and 20 deletions
+12 -1
View File
@@ -16,6 +16,7 @@ export function workspaceBackground(theme: Theme) {
export default function workspace(theme: Theme) {
const titlebarPadding = 6;
const titlebarHeight = 33;
return {
background: backgroundColor(theme, 300),
@@ -54,7 +55,7 @@ export default function workspace(theme: Theme) {
titlebar: {
avatarWidth: 18,
avatarMargin: 8,
height: 33,
height: titlebarHeight,
background: backgroundColor(theme, 100),
padding: {
left: 80,
@@ -118,6 +119,16 @@ export default function workspace(theme: Theme) {
},
cornerRadius: 6,
},
addCollaboratorButton: {
cornerRadius: 6,
color: iconColor(theme, "secondary"),
iconWidth: 8,
buttonWidth: 20,
hover: {
background: backgroundColor(theme, "on300", "hovered"),
color: iconColor(theme, "active"),
},
},
},
toolbar: {
height: 34,