feat: modify theme colors (#1421)

This commit is contained in:
Qi
2023-03-09 02:29:56 +08:00
committed by GitHub
parent dc319f664f
commit 867ea9cf2b
6 changed files with 19 additions and 21 deletions

View File

@@ -1,5 +1,3 @@
import '@blocksuite/editor/themes/affine.css';
import { config } from '@affine/env';
import { BlockHub } from '@blocksuite/blocks';
import { EditorContainer } from '@blocksuite/editor';

View File

@@ -8,7 +8,7 @@ export const StyledSliderBar = styled('div')<{ show: boolean }>(
height: '100vh',
minHeight: '450px',
background: theme.colors.hubBackground,
boxShadow: theme.shadow.modal,
boxShadow: theme.shadow.popover,
transition: 'width .15s, padding .15s',
position: 'relative',
zIndex: theme.zIndex.modal,

View File

@@ -20,7 +20,10 @@ const ThemeInjector = React.memo<{
return (
<GlobalStyles
styles={{
'#__next': {
// '#__next': {
// ...globalThemeVariables(themeStyle),
// },
':root': {
...globalThemeVariables(themeStyle),
},
html: {