This commit is contained in:
Deleted user 2026-05-27 10:17:21 +08:00 committed by GitHub
commit 18bfbb2f13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 2 deletions

View file

@ -9,8 +9,10 @@ const buttonVariants = cva(
{
variants: {
variant: {
primary: "bg-primary text-primary-foreground hover:bg-primary/70",
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/70",
primary:
"bg-primary text-primary-foreground hover:bg-primary/70 border border-vscode-button-background",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/70 border border-vscode-button-secondaryBackground",
ghost: "hover:bg-accent hover:text-accent-foreground",
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
outline:

View file

@ -442,6 +442,15 @@ vscode-dropdown::part(listbox) {
min-height: 16px;
}
/* Ensure checkbox borders are visible in custom themes */
vscode-checkbox::part(control) {
border: 1px solid var(--vscode-input-border, var(--vscode-dropdown-border));
}
vscode-checkbox::part(control):hover {
border-color: var(--vscode-focusBorder);
}
/**
* @shadcn/ui Overrides / Hacks
*/