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.
This commit is contained in:
Koen Vlaswinkel
2022-11-29 17:19:14 +01:00
parent ec9d6b1907
commit c7dbaebcec

View File

@@ -12,7 +12,7 @@ const Container = styled.div`
`;
const Header = styled.div`
color: var(--vscode-badge-foreground);
color: var(--vscode-editor-foreground);
font-size: 0.85em;
font-weight: 800;
text-transform: uppercase;