mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 14:56:59 +08:00
feat: modify styles
This commit is contained in:
@@ -66,12 +66,12 @@ export const Header = () => {
|
||||
return (
|
||||
<>
|
||||
<StyledHeader>
|
||||
<StyledLogo>
|
||||
<LogoIcon
|
||||
onClick={() => {
|
||||
contactModalHandler(true);
|
||||
}}
|
||||
/>
|
||||
<StyledLogo
|
||||
onClick={() => {
|
||||
contactModalHandler(true);
|
||||
}}
|
||||
>
|
||||
<LogoIcon />
|
||||
</StyledLogo>
|
||||
<StyledTitle
|
||||
onMouseEnter={() => {
|
||||
|
||||
@@ -36,7 +36,11 @@ export const StyledTitleWrapper = styled('div')({
|
||||
|
||||
export const StyledLogo = styled('div')(({ theme }) => ({
|
||||
color: theme.colors.primaryColor,
|
||||
width: '60px',
|
||||
height: '60px',
|
||||
cursor: 'pointer',
|
||||
marginLeft: '-22px',
|
||||
...displayFlex('center', 'center'),
|
||||
}));
|
||||
|
||||
export const StyledHeaderRightSide = styled('div')({
|
||||
|
||||
@@ -7,6 +7,8 @@ import { EditorProvider } from '@/components/editor-provider';
|
||||
import { ModalProvider } from '@/components/global-modal-provider';
|
||||
import { Logger } from '@toeverything/pathfinder-logger';
|
||||
|
||||
import '@fontsource/roboto-mono';
|
||||
|
||||
const ThemeProvider = dynamic(() => import('@/styles/themeProvider'), {
|
||||
ssr: false,
|
||||
});
|
||||
|
||||
@@ -42,12 +42,7 @@ export default class AppDocument extends Document {
|
||||
render() {
|
||||
return (
|
||||
<Html>
|
||||
<Head>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
||||
/>
|
||||
</Head>
|
||||
<Head />
|
||||
<body>
|
||||
<Main />
|
||||
<NextScript />
|
||||
|
||||
@@ -29,7 +29,7 @@ export const lightTheme: AffineTheme = {
|
||||
sm: '16px',
|
||||
base: '18px',
|
||||
family: `Avenir Next, ${basicFontFamily}`,
|
||||
family2: `Roboto, ${basicFontFamily}`,
|
||||
family2: `Roboto Mono, ${basicFontFamily}`,
|
||||
},
|
||||
zIndex: {
|
||||
modal: 1000,
|
||||
|
||||
Reference in New Issue
Block a user