Skip to content

Commit c7dbaeb

Browse files
committed
Fix header color of stat item
The header color of a stat item was using the badge foreground color, but badges can have a different background color than the editor. For some themes, this would result in unreadable text. By using the editor foreground color, the header should be readable in many more themes.
1 parent ec9d6b1 commit c7dbaeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/src/view/variant-analysis/StatItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Container = styled.div`
1212
`;
1313

1414
const Header = styled.div`
15-
color: var(--vscode-badge-foreground);
15+
color: var(--vscode-editor-foreground);
1616
font-size: 0.85em;
1717
font-weight: 800;
1818
text-transform: uppercase;

0 commit comments

Comments
 (0)