Merge branch 'main' into capture

This commit is contained in:
Antonio Scandurra
2022-09-15 12:02:07 +02:00
64 changed files with 2586 additions and 1431 deletions
+5
View File
@@ -46,6 +46,11 @@ export default function search(theme: Theme) {
background: backgroundColor(theme, "on500", "active"),
border: border(theme, "muted"),
},
clicked: {
...text(theme, "mono", "active"),
background: backgroundColor(theme, "on300", "active"),
border: border(theme, "secondary"),
},
hover: {
...text(theme, "mono", "active"),
background: backgroundColor(theme, "on500", "hovered"),
-1
View File
@@ -96,7 +96,6 @@ export default function tabBar(theme: Theme) {
buttonWidth: activePaneActiveTab.height,
hover: {
color: iconColor(theme, "active"),
background: backgroundColor(theme, 300),
},
},
}
+22 -5
View File
@@ -37,11 +37,14 @@ export default function workspace(theme: Theme) {
},
cursor: "Arrow",
},
sidebarResizeHandle: {
background: border(theme, "primary").color,
padding: {
left: 1,
},
sidebar: {
initialSize: 240,
border: {
color: border(theme, "primary").color,
width: 1,
left: true,
right: true,
}
},
paneDivider: {
color: border(theme, "secondary").color,
@@ -156,5 +159,19 @@ export default function workspace(theme: Theme) {
width: 400,
margin: { right: 10, bottom: 10 },
},
dock: {
initialSizeRight: 640,
initialSizeBottom: 480,
wash_color: withOpacity(theme.backgroundColor[500].base, 0.5),
flex: 0.5,
panel: {
margin: 4,
},
maximized: {
margin: 32,
border: border(theme, "secondary"),
shadow: modalShadow(theme),
}
}
};
}