提交 d013584a 编写于 作者: A Anthony Fu 提交者: D

统一字体

上级 913ae1ae
import DEFAULT_FONT from './font'
export default {
donate: {
fontFamily: 'Helvetica Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,Microsoft Yahei,sans-serif',
fontFamily: DEFAULT_FONT,
textAlign: 'center'
},
donateImg: {
......
export default 'Helvetica Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,Microsoft Yahei,sans-serif'
\ No newline at end of file
......@@ -3,6 +3,7 @@ import list from './list'
import utils from './utils'
import donate from './donate'
import welcome from './welcome'
import DEFAULT_FONT from './font'
export default theme => (
Object.assign({
......@@ -12,7 +13,7 @@ export default theme => (
width: '320px',
},
content: {
fontFamily: 'Helvetica Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,Microsoft Yahei,sans-serif',
fontFamily: DEFAULT_FONT,
padding: '63px 24px 24px 24px',
height: '100vh',
position: 'absolute',
......
import DEFAULT_FONT from './font'
export default {
fnHide: {
display: 'none',
......@@ -57,7 +59,7 @@ export default {
wordBreak: 'break-all',
},
ftOriginal: {
fontFamily: 'Helvetica Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,Microsoft Yahei,sans-serif',
fontFamily: DEFAULT_FONT,
textDecoration: 'none',
textTransform: 'inherit',
'&:hover': {
......
import React from 'react';
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import CssBaseline from '@material-ui/core/CssBaseline';
import DEFAULT_FONT from './styles/font';
const theme = createMuiTheme({
palette: {
......@@ -15,6 +16,9 @@ const theme = createMuiTheme({
dark: '#932c22',
},
},
typography: {
fontFamily: DEFAULT_FONT
},
});
function withRoot(Component) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册