💄 美化应用详情页按钮样式

This commit is contained in:
柚子
2025-02-06 17:01:39 +08:00
parent 7fabad5bc8
commit 0d5618ffd1

View File

@@ -162,7 +162,7 @@ const AppDetail: Component = () => {
)} )}
<Dialog open={showCollectionDialog()} onOpenChange={setShowCollectionDialog}> <Dialog open={showCollectionDialog()} onOpenChange={setShowCollectionDialog}>
<DialogTrigger> <DialogTrigger>
<Button variant="outline" size="lg" class='w-full'></Button> <Button variant="secondary" size="lg" class='w-full'></Button>
</DialogTrigger> </DialogTrigger>
<DialogContent> <DialogContent>
<DialogHeader> <DialogHeader>
@@ -185,7 +185,7 @@ const AppDetail: Component = () => {
<Label for={`collection-${collection.id}-input`}>{collection.name}</Label> <Label for={`collection-${collection.id}-input`}>{collection.name}</Label>
</div> </div>
))} ))}
<Button variant="outline" onClick={() => setShowNewCollectionDialog(true)}></Button> <Button variant="secondary" onClick={() => setShowNewCollectionDialog(true)}></Button>
<Button onClick={() => { <Button onClick={() => {
const selected = selectedCollections(); const selected = selectedCollections();
addAppToCollections(selected, params.category, params.pkgname); addAppToCollections(selected, params.category, params.pkgname);
@@ -198,7 +198,7 @@ const AppDetail: Component = () => {
</Dialog> </Dialog>
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger> <DropdownMenuTrigger>
<Button variant="outline" size="lg" class='w-full'></Button> <Button variant="secondary" size="lg" class='w-full'></Button>
</DropdownMenuTrigger> </DropdownMenuTrigger>
<DropdownMenuContent> <DropdownMenuContent>
<DropdownMenuLabel></DropdownMenuLabel> <DropdownMenuLabel></DropdownMenuLabel>