Show worktree root names when sharing additional projects on a call
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
94c68d246e
commit
b8c2acf0f2
9 changed files with 153 additions and 35 deletions
|
@ -2,8 +2,10 @@ import Theme from "../themes/common/theme";
|
|||
import { backgroundColor, borderColor, text } from "./components";
|
||||
|
||||
export default function projectSharedNotification(theme: Theme): Object {
|
||||
const avatarSize = 32;
|
||||
const avatarSize = 48;
|
||||
return {
|
||||
windowHeight: 72,
|
||||
windowWidth: 360,
|
||||
background: backgroundColor(theme, 300),
|
||||
ownerContainer: {
|
||||
padding: 12,
|
||||
|
@ -24,6 +26,10 @@ export default function projectSharedNotification(theme: Theme): Object {
|
|||
...text(theme, "sans", "secondary", { size: "xs" }),
|
||||
margin: { top: -3 },
|
||||
},
|
||||
worktreeRoots: {
|
||||
...text(theme, "sans", "secondary", { size: "xs", weight: "bold" }),
|
||||
margin: { top: -3 },
|
||||
},
|
||||
buttonWidth: 96,
|
||||
joinButton: {
|
||||
background: backgroundColor(theme, "info", "active"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue