| ... | @@ -544,9 +544,12 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -544,9 +544,12 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 544 | | 544 | |
| 545 | return ( | 545 | return ( |
| 546 | <Dialog open={props.open} onOpenChange={handleOpenChange}> | 546 | <Dialog open={props.open} onOpenChange={handleOpenChange}> |
| 547 | <DialogPopup className="workflow-dialog-surface max-w-xl overflow-hidden before:hidden"> | 547 | <DialogPopup |
| | 548 | backdropClassName="bg-black/40 backdrop-blur-none" |
| | 549 | className="workflow-dialog-surface max-w-xl overflow-hidden before:hidden" |
| | 550 | > |
| 548 | <div className="flex min-h-0 flex-col overflow-hidden border-foreground/10 bg-transparent"> | 551 | <div className="flex min-h-0 flex-col overflow-hidden border-foreground/10 bg-transparent"> |
| 549 | <DialogHeader className="border-b border-border/70 bg-foreground/[0.025]"> | 552 | <DialogHeader className="border-b border-border/70 bg-foreground/[0.025] dark:border-transparent dark:bg-transparent"> |
| 550 | <DialogTitle>Publish repository</DialogTitle> | 553 | <DialogTitle>Publish repository</DialogTitle> |
| 551 | <DialogDescription> | 554 | <DialogDescription> |
| 552 | Pick where to host it, then point us at a repo to push to. | 555 | Pick where to host it, then point us at a repo to push to. |
| ... | @@ -567,10 +570,10 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -567,10 +570,10 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 567 | className={cn( | 570 | className={cn( |
| 568 | "grid min-w-0 grid-cols-[1rem_minmax(0,1fr)] gap-x-2 rounded-lg border px-3 py-2 text-left", | 571 | "grid min-w-0 grid-cols-[1rem_minmax(0,1fr)] gap-x-2 rounded-lg border px-3 py-2 text-left", |
| 569 | index === publishWizardStep | 572 | index === publishWizardStep |
| 570 | ? "border-primary bg-primary/10 ring-1 ring-primary/25" | 573 | ? "border-primary bg-primary/10 ring-1 ring-primary/25 dark:border-transparent" |
| 571 | : isComplete | 574 | : isComplete |
| 572 | ? "border-border bg-background" | 575 | ? "border-border bg-background dark:border-transparent dark:bg-white/[0.05]" |
| 573 | : "border-border bg-muted/40", | 576 | : "border-border bg-muted/40 dark:border-transparent dark:bg-white/[0.025]", |
| 574 | !isClickable && "cursor-default", | 577 | !isClickable && "cursor-default", |
| 575 | )} | 578 | )} |
| 576 | > | 579 | > |
| ... | @@ -602,7 +605,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -602,7 +605,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 602 | </div> | 605 | </div> |
| 603 | </DialogHeader> | 606 | </DialogHeader> |
| 604 | | 607 | |
| 605 | <DialogPanel className="space-y-5 border-b border-border/70 bg-muted/20 px-6 py-5"> | 608 | <DialogPanel className="space-y-5 border-b border-border/70 bg-muted/20 px-6 py-5 dark:border-transparent dark:bg-transparent"> |
| 606 | <AnimatedHeight> | 609 | <AnimatedHeight> |
| 607 | <div className={cn("space-y-2", publishWizardStep !== 0 && "hidden")}> | 610 | <div className={cn("space-y-2", publishWizardStep !== 0 && "hidden")}> |
| 608 | <span | 611 | <span |
| ... | @@ -627,7 +630,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -627,7 +630,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 627 | return ( | 630 | return ( |
| 628 | <div | 631 | <div |
| 629 | key={option.value} | 632 | key={option.value} |
| 630 | className="relative flex cursor-not-allowed items-center gap-3 rounded-lg border border-border bg-background px-3 py-3 text-left opacity-55" | 633 | className="relative flex cursor-not-allowed items-center gap-3 rounded-lg border border-border bg-background px-3 py-3 text-left opacity-55 dark:border-transparent dark:bg-white/[0.035]" |
| 631 | > | 634 | > |
| 632 | <option.Icon | 635 | <option.Icon |
| 633 | className="size-5 shrink-0 text-muted-foreground" | 636 | className="size-5 shrink-0 text-muted-foreground" |
| ... | @@ -670,8 +673,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -670,8 +673,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 670 | "relative flex cursor-pointer items-center gap-3 rounded-lg border px-3 py-3 text-left outline-none transition-[background-color,border-color,box-shadow]", | 673 | "relative flex cursor-pointer items-center gap-3 rounded-lg border px-3 py-3 text-left outline-none transition-[background-color,border-color,box-shadow]", |
| 671 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", | 674 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", |
| 672 | isSelected | 675 | isSelected |
| 673 | ? "border-primary bg-background shadow-sm ring-2 ring-primary/35" | 676 | ? "border-primary bg-background shadow-sm ring-2 ring-primary/35 dark:border-transparent dark:bg-primary/10 dark:shadow-none dark:ring-1 dark:ring-primary/30" |
| 674 | : "border-border bg-background hover:border-foreground/20 hover:bg-muted/50", | 677 | : "border-border bg-background hover:border-foreground/20 hover:bg-muted/50 dark:border-transparent dark:bg-white/[0.035] dark:hover:bg-accent", |
| 675 | )} | 678 | )} |
| 676 | > | 679 | > |
| 677 | <option.Icon className="size-5 shrink-0" aria-hidden /> | 680 | <option.Icon className="size-5 shrink-0" aria-hidden /> |
| ... | @@ -756,8 +759,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -756,8 +759,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 756 | "relative flex cursor-pointer items-center gap-3 rounded-lg border px-3 py-2.5 text-left outline-none transition-[background-color,border-color,box-shadow]", | 759 | "relative flex cursor-pointer items-center gap-3 rounded-lg border px-3 py-2.5 text-left outline-none transition-[background-color,border-color,box-shadow]", |
| 757 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", | 760 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", |
| 758 | isSelected | 761 | isSelected |
| 759 | ? "border-primary bg-background shadow-sm ring-2 ring-primary/35" | 762 | ? "border-primary bg-background shadow-sm ring-2 ring-primary/35 dark:border-transparent dark:bg-primary/10 dark:shadow-none dark:ring-1 dark:ring-primary/30" |
| 760 | : "border-border bg-background hover:border-foreground/20 hover:bg-muted/50", | 763 | : "border-border bg-background hover:border-foreground/20 hover:bg-muted/50 dark:border-transparent dark:bg-white/[0.035] dark:hover:bg-accent", |
| 761 | )} | 764 | )} |
| 762 | > | 765 | > |
| 763 | <option.Icon | 766 | <option.Icon |
| ... | @@ -831,8 +834,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -831,8 +834,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 831 | "rounded-md border px-3 py-1.5 text-center text-sm font-medium outline-none transition", | 834 | "rounded-md border px-3 py-1.5 text-center text-sm font-medium outline-none transition", |
| 832 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", | 835 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", |
| 833 | isSelected | 836 | isSelected |
| 834 | ? "border-primary bg-background ring-2 ring-primary/35 text-foreground" | 837 | ? "border-primary bg-background ring-2 ring-primary/35 text-foreground dark:border-transparent dark:bg-primary/10 dark:ring-1 dark:ring-primary/30" |
| 835 | : "border-border bg-background text-muted-foreground hover:border-foreground/20 hover:text-foreground", | 838 | : "border-border bg-background text-muted-foreground hover:border-foreground/20 hover:text-foreground dark:border-transparent dark:bg-white/[0.035]", |
| 836 | )} | 839 | )} |
| 837 | > | 840 | > |
| 838 | {value === "ssh" ? "SSH" : "HTTPS"} | 841 | {value === "ssh" ? "SSH" : "HTTPS"} |
| ... | @@ -849,7 +852,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -849,7 +852,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 849 | <div | 852 | <div |
| 850 | role="status" | 853 | role="status" |
| 851 | aria-live="polite" | 854 | aria-live="polite" |
| 852 | className="flex items-center gap-2 rounded-md border border-input bg-muted/40 px-3 py-2 text-xs text-muted-foreground" | 855 | className="flex items-center gap-2 rounded-md border border-input bg-muted/40 px-3 py-2 text-xs text-muted-foreground dark:border-transparent dark:bg-white/[0.035]" |
| 853 | > | 856 | > |
| 854 | <Spinner className="size-3.5" aria-hidden /> | 857 | <Spinner className="size-3.5" aria-hidden /> |
| 855 | Publishing repository to {publishProviderLabel}... | 858 | Publishing repository to {publishProviderLabel}... |
| ... | @@ -884,7 +887,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -884,7 +887,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 884 | : `Remote "${publishResult.remoteName}" is set up. Make a commit and push it to share your code.`} | 887 | : `Remote "${publishResult.remoteName}" is set up. Make a commit and push it to share your code.`} |
| 885 | </p> | 888 | </p> |
| 886 | </div> | 889 | </div> |
| 887 | <div className="flex items-center gap-2 rounded-lg border border-input bg-muted/40 px-3 py-2"> | 890 | <div className="flex items-center gap-2 rounded-lg border border-input bg-muted/40 px-3 py-2 dark:border-transparent dark:bg-white/[0.035]"> |
| 888 | <currentPublishProvider.Icon className="size-3.5 shrink-0 text-muted-foreground" /> | 891 | <currentPublishProvider.Icon className="size-3.5 shrink-0 text-muted-foreground" /> |
| 889 | <span className="min-w-0 flex-1 truncate font-mono text-xs text-foreground"> | 892 | <span className="min-w-0 flex-1 truncate font-mono text-xs text-foreground"> |
| 890 | {publishResult.repository.nameWithOwner} | 893 | {publishResult.repository.nameWithOwner} |
| ... | @@ -905,7 +908,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -905,7 +908,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 905 | </Button> | 908 | </Button> |
| 906 | </> | 909 | </> |
| 907 | ) : ( | 910 | ) : ( |
| 908 | <div className="rounded-md border border-input bg-background px-3 py-2 text-xs text-muted-foreground"> | 911 | <div className="rounded-md border border-input bg-background px-3 py-2 text-xs text-muted-foreground dark:border-transparent dark:bg-white/[0.035]"> |
| 909 | Publish result unavailable. | 912 | Publish result unavailable. |
| 910 | </div> | 913 | </div> |
| 911 | )} | 914 | )} |
| ... | @@ -913,7 +916,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { | ... | @@ -913,7 +916,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 913 | </AnimatedHeight> | 916 | </AnimatedHeight> |
| 914 | </DialogPanel> | 917 | </DialogPanel> |
| 915 | | 918 | |
| 916 | <DialogFooter className="dark:border-white/5 dark:bg-white/[0.025]"> | 919 | <DialogFooter className="dark:border-transparent dark:bg-transparent"> |
| 917 | {publishWizardStep === 2 ? ( | 920 | {publishWizardStep === 2 ? ( |
| 918 | <Button size="sm" onClick={() => handleOpenChange(false)}> | 921 | <Button size="sm" onClick={() => handleOpenChange(false)}> |
| 919 | Done | 922 | Done |
| ... | @@ -1736,7 +1739,7 @@ export default function GitActionsControl({ | ... | @@ -1736,7 +1739,7 @@ export default function GitActionsControl({ |
| 1736 | > | 1739 | > |
| 1737 | <ChevronDownIcon aria-hidden="true" className="size-4" /> | 1740 | <ChevronDownIcon aria-hidden="true" className="size-4" /> |
| 1738 | </MenuTrigger> | 1741 | </MenuTrigger> |
| 1739 | <MenuPopup align="end" className="command-menu-surface w-full"> | 1742 | <MenuPopup align="end" className="w-full"> |
| 1740 | {gitActionMenuItems.map((item) => { | 1743 | {gitActionMenuItems.map((item) => { |
| 1741 | const disabledReason = getMenuActionDisabledReason({ | 1744 | const disabledReason = getMenuActionDisabledReason({ |
| 1742 | item, | 1745 | item, |
| ... | @@ -1825,13 +1828,16 @@ export default function GitActionsControl({ | ... | @@ -1825,13 +1828,16 @@ export default function GitActionsControl({ |
| 1825 | } | 1828 | } |
| 1826 | }} | 1829 | }} |
| 1827 | > | 1830 | > |
| 1828 | <DialogPopup className="workflow-dialog-surface before:hidden"> | 1831 | <DialogPopup |
| | 1832 | backdropClassName="bg-black/40 backdrop-blur-none" |
| | 1833 | className="command-palette-dialog-surface workflow-dialog-surface before:hidden" |
| | 1834 | > |
| 1829 | <DialogHeader> | 1835 | <DialogHeader> |
| 1830 | <DialogTitle>{COMMIT_DIALOG_TITLE}</DialogTitle> | 1836 | <DialogTitle>{COMMIT_DIALOG_TITLE}</DialogTitle> |
| 1831 | <DialogDescription>{COMMIT_DIALOG_DESCRIPTION}</DialogDescription> | 1837 | <DialogDescription>{COMMIT_DIALOG_DESCRIPTION}</DialogDescription> |
| 1832 | </DialogHeader> | 1838 | </DialogHeader> |
| 1833 | <DialogPanel className="space-y-4"> | 1839 | <DialogPanel className="space-y-4"> |
| 1834 | <div className="space-y-3 rounded-lg border border-input bg-muted/40 p-3 text-xs"> | 1840 | <div className="space-y-3 rounded-lg border border-input bg-muted/40 p-3 text-xs dark:border-transparent dark:bg-white/[0.035]"> |
| 1835 | <div className="grid grid-cols-[auto_1fr] items-center gap-x-2 gap-y-1"> | 1841 | <div className="grid grid-cols-[auto_1fr] items-center gap-x-2 gap-y-1"> |
| 1836 | <span className="text-muted-foreground">Branch</span> | 1842 | <span className="text-muted-foreground">Branch</span> |
| 1837 | <span className="flex items-center justify-between gap-2"> | 1843 | <span className="flex items-center justify-between gap-2"> |
| ... | @@ -1880,7 +1886,7 @@ export default function GitActionsControl({ | ... | @@ -1880,7 +1886,7 @@ export default function GitActionsControl({ |
| 1880 | <p className="font-medium">none</p> | 1886 | <p className="font-medium">none</p> |
| 1881 | ) : ( | 1887 | ) : ( |
| 1882 | <div className="space-y-2"> | 1888 | <div className="space-y-2"> |
| 1883 | <ScrollArea className="h-44 rounded-md border border-input bg-background"> | 1889 | <ScrollArea className="h-44 rounded-md border border-input bg-background dark:border-transparent dark:bg-white/[0.025]"> |
| 1884 | <div className="space-y-1 p-1"> | 1890 | <div className="space-y-1 p-1"> |
| 1885 | {allFiles.map((file) => { | 1891 | {allFiles.map((file) => { |
| 1886 | const isExcluded = excludedFiles.has(file.path); | 1892 | const isExcluded = excludedFiles.has(file.path); |
| ... | @@ -1955,7 +1961,7 @@ export default function GitActionsControl({ | ... | @@ -1955,7 +1961,7 @@ export default function GitActionsControl({ |
| 1955 | /> | 1961 | /> |
| 1956 | </div> | 1962 | </div> |
| 1957 | </DialogPanel> | 1963 | </DialogPanel> |
| 1958 | <DialogFooter className="dark:border-white/5 dark:bg-white/[0.025]"> | 1964 | <DialogFooter className="dark:border-transparent dark:bg-transparent"> |
| 1959 | <Button | 1965 | <Button |
| 1960 | variant="outline" | 1966 | variant="outline" |
| 1961 | size="sm" | 1967 | size="sm" |
| ... | @@ -1998,14 +2004,17 @@ export default function GitActionsControl({ | ... | @@ -1998,14 +2004,17 @@ export default function GitActionsControl({ |
| 1998 | } | 2004 | } |
| 1999 | }} | 2005 | }} |
| 2000 | > | 2006 | > |
| 2001 | <DialogPopup className="workflow-dialog-surface max-w-xl before:hidden"> | 2007 | <DialogPopup |
| | 2008 | backdropClassName="bg-black/40 backdrop-blur-none" |
| | 2009 | className="workflow-dialog-surface max-w-xl before:hidden" |
| | 2010 | > |
| 2002 | <DialogHeader> | 2011 | <DialogHeader> |
| 2003 | <DialogTitle> | 2012 | <DialogTitle> |
| 2004 | {pendingDefaultBranchActionCopy?.title ?? "Run action on default refName?"} | 2013 | {pendingDefaultBranchActionCopy?.title ?? "Run action on default refName?"} |
| 2005 | </DialogTitle> | 2014 | </DialogTitle> |
| 2006 | <DialogDescription>{pendingDefaultBranchActionCopy?.description}</DialogDescription> | 2015 | <DialogDescription>{pendingDefaultBranchActionCopy?.description}</DialogDescription> |
| 2007 | </DialogHeader> | 2016 | </DialogHeader> |
| 2008 | <DialogFooter className="dark:border-white/5 dark:bg-white/[0.025] sm:flex-wrap sm:items-center"> | 2017 | <DialogFooter className="dark:border-transparent dark:bg-transparent sm:flex-wrap sm:items-center"> |
| 2009 | <Button | 2018 | <Button |
| 2010 | className="w-full sm:mr-auto sm:w-auto" | 2019 | className="w-full sm:mr-auto sm:w-auto" |
| 2011 | variant="outline" | 2020 | variant="outline" |