Skip to content

Commit

Permalink
Some theming tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Scullin committed Aug 31, 2023
1 parent b40c628 commit 5c08e1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/extension/webviews/query_page/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -432,13 +432,14 @@ const Tooltip = styled.div`
const Warning = styled.div`
color: var(--vscode-statusBarItem-warningForeground);
background-color: var(--vscode-statusBarItem-warningBackground);
font-size: 12px;
padding: 5px;
`;

const StatsBar = styled.div`
background-color: #505050;
color: white;
box-shadow: rgb(144 144 144) 0px 1px 5px 0px;
color: var(--vscode-editorWidget-Foreground);
background-color: var(--vscode-editorWidget-background);
font-size: 12px;
padding: 5px;
`;

Expand Down
4 changes: 2 additions & 2 deletions src/extension/webviews/query_page/ResultKindToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ interface ResultControlProps {
selected: boolean;
}

const ResultControl = styled.button<ResultControlProps>`
const ResultControl = styled.div<ResultControlProps>`
border: 0;
border-bottom: 1px solid ${props => (props.selected ? '#4285f4' : 'white')};
cursor: pointer;
background-color: white;
padding: 3px 5px;
color: ${props => (props.selected ? '#4285f4' : '#b1b1b1')};
margin-bottom: -1px;
&:hover {
border-bottom: 1px solid;
Expand Down

0 comments on commit 5c08e1d

Please sign in to comment.