Skip to content

Commit 0e083e5

Browse files
committed
fix: Copy JSON button color
1 parent ac2a84d commit 0e083e5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

widget/src/traceDisplay.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,9 +1116,9 @@ const ModelCheckerView: React.FC<ModelCheckerViewProps> = ({
11161116
align-items: center;
11171117
gap: 4px;
11181118
font-size: 11px;
1119-
color: var(--vscode-foreground);
1120-
background: var(--vscode-button-secondaryBackground);
1121-
border: 1px solid var(--vscode-panel-border);
1119+
color: var(--vscode-button-foreground);
1120+
background: var(--vscode-button-background);
1121+
border: none;
11221122
border-radius: 4px;
11231123
padding: 4px 8px;
11241124
cursor: pointer;
@@ -1130,7 +1130,7 @@ const ModelCheckerView: React.FC<ModelCheckerViewProps> = ({
11301130
opacity: 1;
11311131
}
11321132
.mc-copy-button:hover {
1133-
background: var(--vscode-button-secondaryHoverBackground);
1133+
background: var(--vscode-button-hoverBackground);
11341134
}
11351135
.mc-copy-button svg {
11361136
width: 14px;

widget/src/verificationResults.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,9 @@ const VerificationResultsView: React.FC<VerificationResultsProps> = ({ results }
609609
align-items: center;
610610
gap: 4px;
611611
font-size: 11px;
612-
color: var(--vscode-foreground);
613-
background: var(--vscode-button-secondaryBackground);
614-
border: 1px solid var(--vscode-panel-border);
612+
color: var(--vscode-button-foreground);
613+
background: var(--vscode-button-background);
614+
border: none;
615615
border-radius: 4px;
616616
padding: 4px 8px;
617617
cursor: pointer;
@@ -623,7 +623,7 @@ const VerificationResultsView: React.FC<VerificationResultsProps> = ({ results }
623623
opacity: 1;
624624
}
625625
.vr-copy-button:hover {
626-
background: var(--vscode-button-secondaryHoverBackground);
626+
background: var(--vscode-button-hoverBackground);
627627
}
628628
.vr-copy-button svg {
629629
width: 14px;

0 commit comments

Comments
 (0)