Skip to content

Commit 41f25f0

Browse files
committed
Button tweaks
1 parent a7101a9 commit 41f25f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webview-ui/.storybook/vscode.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
--vscode-button-foreground: #ffffff; /* "button.foreground" */
1515
--vscode-button-secondaryBackground: #313131; /* "button.secondaryBackground" */
1616
--vscode-button-secondaryForeground: #cccccc; /* "button.secondaryForeground" */
17-
--vscode-disabledForeground: red; /* "disabledForeground" */
17+
--vscode-disabledForeground: #313131; /* "disabledForeground" */
1818
--vscode-descriptionForeground: #9d9d9d; /* "descriptionForeground" */
1919
--vscode-focusBorder: #0078d4; /* "focusBorder" */
2020
--vscode-errorForeground: #f85149; /* "errorForeground" */

webview-ui/src/components/ui/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { cva, type VariantProps } from "class-variance-authority"
55
import { cn } from "@/lib/utils"
66

77
const buttonVariants = cva(
8-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
8+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
99
{
1010
variants: {
1111
variant: {

0 commit comments

Comments
 (0)