Better colors for light mode notebooks
This commit is contained in:
@ -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(() => {
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user