Better colors for light mode notebooks

This commit is contained in:
Jackson Harper
2023-06-27 13:41:56 +08:00
parent 6c4ad1e176
commit 80652dcf23
3 changed files with 6 additions and 4 deletions

View File

@ -35,8 +35,6 @@ export const NotebookPresenter = (props: NotebookPresenterProps) => {
<NotebookContent
viewer={props.viewer}
item={props.item}
// highlights={highlights}
// onClose={handleCloseNotebook}
viewInReader={(highlightId) => {
// The timeout here is a bit of a hack to work around rerendering
setTimeout(() => {

View File

@ -181,6 +181,8 @@ export const { styled, css, theme, getCssText, globalCss, keyframes, config } =
thLibrarySelectionColor: '#FFEA9F',
thNotebookSubtle: '#6A6968',
thNotebookBorder: '#D9D9D9',
thNotebookBackground: '#FCFCFC',
thTextContrast: '#1E1E1E',
thTextContrast2: '#3D3D3D',
@ -277,6 +279,8 @@ const darkThemeSpec = {
thLibrarySelectionColor: '#3D3D3D',
thNotebookSubtle: '#898989',
thNotebookBorder: '#898989',
thNotebookBackground: '#3D3D3D',
thNotebookHighContrast: '#2A2A2A',
thTextContrast: '#FFFFFF',

View File

@ -430,8 +430,8 @@ button {
pointer-events: all;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-left: 1px solid var(--colors-thNotebookSubtle);
background: var(--colors-thLibrarySearchbox);
border-left: 1px solid var(--colors-thNotebookBorder);
background: var(--colors-thNotebookBackground);
}
.slide-pane {