(core) Add dark mode for comments

Summary:
Also fixes the CSS for the page/workspace input so that it's always
readable in dark mode.

Test Plan: Tested manually.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3682
This commit is contained in:
George Gevoian
2022-10-24 20:10:15 -07:00
parent aa88c156e6
commit 3145af36c6
9 changed files with 92 additions and 36 deletions

View File

@@ -690,7 +690,7 @@ const cssTopBarIcon = styled(icon, `
margin: 16px;
height: 16px;
width: 16px;
background-color: vars(--icon-color);
background-color: var(--icon-color);
`);
const cssHoverCircle = styled('div', `
@@ -705,14 +705,14 @@ const cssHoverCircle = styled('div', `
justify-content: center;
&:hover {
background-color: ${theme.rightPanelTabCloseButtonHoverBg};
background-color: ${theme.rightPanelTabButtonHoverBg};
}
`);
const cssHoverIcon = styled(icon, `
height: 16px;
width: 16px;
background-color: vars(--icon-color);
background-color: var(--icon-color);
`);
const cssSubTabContainer = styled('div', `