| ... | ... | @@ -544,9 +544,12 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 544 | 544 | |
| 545 | 545 | return ( |
| 546 | 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 | 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 | 553 | <DialogTitle>Publish repository</DialogTitle> |
| 551 | 554 | <DialogDescription> |
| 552 | 555 | Pick where to host it, then point us at a repo to push to. |
| ... | ... | @@ -567,10 +570,10 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 567 | 570 | className={cn( |
| 568 | 571 | "grid min-w-0 grid-cols-[1rem_minmax(0,1fr)] gap-x-2 rounded-lg border px-3 py-2 text-left", |
| 569 | 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 | 574 | : isComplete |
| 572 | | ? "border-border bg-background" |
| 573 | | : "border-border bg-muted/40", |
| 575 | ? "border-border bg-background dark:border-transparent dark:bg-white/[0.05]" |
| 576 | : "border-border bg-muted/40 dark:border-transparent dark:bg-white/[0.025]", |
| 574 | 577 | !isClickable && "cursor-default", |
| 575 | 578 | )} |
| 576 | 579 | > |
| ... | ... | @@ -602,7 +605,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 602 | 605 | </div> |
| 603 | 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 | 609 | <AnimatedHeight> |
| 607 | 610 | <div className={cn("space-y-2", publishWizardStep !== 0 && "hidden")}> |
| 608 | 611 | <span |
| ... | ... | @@ -627,7 +630,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 627 | 630 | return ( |
| 628 | 631 | <div |
| 629 | 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 | 635 | <option.Icon |
| 633 | 636 | className="size-5 shrink-0 text-muted-foreground" |
| ... | ... | @@ -670,8 +673,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 670 | 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 | 674 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", |
| 672 | 675 | isSelected |
| 673 | | ? "border-primary bg-background shadow-sm ring-2 ring-primary/35" |
| 674 | | : "border-border bg-background hover:border-foreground/20 hover:bg-muted/50", |
| 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" |
| 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 | 680 | <option.Icon className="size-5 shrink-0" aria-hidden /> |
| ... | ... | @@ -756,8 +759,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 756 | 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 | 760 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", |
| 758 | 761 | isSelected |
| 759 | | ? "border-primary bg-background shadow-sm ring-2 ring-primary/35" |
| 760 | | : "border-border bg-background hover:border-foreground/20 hover:bg-muted/50", |
| 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" |
| 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 | 766 | <option.Icon |
| ... | ... | @@ -831,8 +834,8 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 831 | 834 | "rounded-md border px-3 py-1.5 text-center text-sm font-medium outline-none transition", |
| 832 | 835 | "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", |
| 833 | 836 | isSelected |
| 834 | | ? "border-primary bg-background ring-2 ring-primary/35 text-foreground" |
| 835 | | : "border-border bg-background text-muted-foreground hover:border-foreground/20 hover: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" |
| 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 | 841 | {value === "ssh" ? "SSH" : "HTTPS"} |
| ... | ... | @@ -849,7 +852,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 849 | 852 | <div |
| 850 | 853 | role="status" |
| 851 | 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 | 857 | <Spinner className="size-3.5" aria-hidden /> |
| 855 | 858 | Publishing repository to {publishProviderLabel}... |
| ... | ... | @@ -884,7 +887,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 884 | 887 | : `Remote "${publishResult.remoteName}" is set up. Make a commit and push it to share your code.`} |
| 885 | 888 | </p> |
| 886 | 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 | 891 | <currentPublishProvider.Icon className="size-3.5 shrink-0 text-muted-foreground" /> |
| 889 | 892 | <span className="min-w-0 flex-1 truncate font-mono text-xs text-foreground"> |
| 890 | 893 | {publishResult.repository.nameWithOwner} |
| ... | ... | @@ -905,7 +908,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 905 | 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 | 912 | Publish result unavailable. |
| 910 | 913 | </div> |
| 911 | 914 | )} |
| ... | ... | @@ -913,7 +916,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) { |
| 913 | 916 | </AnimatedHeight> |
| 914 | 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 | 920 | {publishWizardStep === 2 ? ( |
| 918 | 921 | <Button size="sm" onClick={() => handleOpenChange(false)}> |
| 919 | 922 | Done |
| ... | ... | @@ -1736,7 +1739,7 @@ export default function GitActionsControl({ |
| 1736 | 1739 | > |
| 1737 | 1740 | <ChevronDownIcon aria-hidden="true" className="size-4" /> |
| 1738 | 1741 | </MenuTrigger> |
| 1739 | | <MenuPopup align="end" className="command-menu-surface w-full"> |
| 1742 | <MenuPopup align="end" className="w-full"> |
| 1740 | 1743 | {gitActionMenuItems.map((item) => { |
| 1741 | 1744 | const disabledReason = getMenuActionDisabledReason({ |
| 1742 | 1745 | item, |
| ... | ... | @@ -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 | 1835 | <DialogHeader> |
| 1830 | 1836 | <DialogTitle>{COMMIT_DIALOG_TITLE}</DialogTitle> |
| 1831 | 1837 | <DialogDescription>{COMMIT_DIALOG_DESCRIPTION}</DialogDescription> |
| 1832 | 1838 | </DialogHeader> |
| 1833 | 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 | 1841 | <div className="grid grid-cols-[auto_1fr] items-center gap-x-2 gap-y-1"> |
| 1836 | 1842 | <span className="text-muted-foreground">Branch</span> |
| 1837 | 1843 | <span className="flex items-center justify-between gap-2"> |
| ... | ... | @@ -1880,7 +1886,7 @@ export default function GitActionsControl({ |
| 1880 | 1886 | <p className="font-medium">none</p> |
| 1881 | 1887 | ) : ( |
| 1882 | 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 | 1890 | <div className="space-y-1 p-1"> |
| 1885 | 1891 | {allFiles.map((file) => { |
| 1886 | 1892 | const isExcluded = excludedFiles.has(file.path); |
| ... | ... | @@ -1955,7 +1961,7 @@ export default function GitActionsControl({ |
| 1955 | 1961 | /> |
| 1956 | 1962 | </div> |
| 1957 | 1963 | </DialogPanel> |
| 1958 | | <DialogFooter className="dark:border-white/5 dark:bg-white/[0.025]"> |
| 1964 | <DialogFooter className="dark:border-transparent dark:bg-transparent"> |
| 1959 | 1965 | <Button |
| 1960 | 1966 | variant="outline" |
| 1961 | 1967 | size="sm" |
| ... | ... | @@ -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 | 2011 | <DialogHeader> |
| 2003 | 2012 | <DialogTitle> |
| 2004 | 2013 | {pendingDefaultBranchActionCopy?.title ?? "Run action on default refName?"} |
| 2005 | 2014 | </DialogTitle> |
| 2006 | 2015 | <DialogDescription>{pendingDefaultBranchActionCopy?.description}</DialogDescription> |
| 2007 | 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 | 2018 | <Button |
| 2010 | 2019 | className="w-full sm:mr-auto sm:w-auto" |
| 2011 | 2020 | variant="outline" |