Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Alderaan
baidu-netdisk-downloaderx
提交
d013584a
B
baidu-netdisk-downloaderx
项目概览
Alderaan
/
baidu-netdisk-downloaderx
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
baidu-netdisk-downloaderx
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d013584a
编写于
7月 16, 2019
作者:
A
Anthony Fu
提交者:
D
7月 16, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
统一字体
上级
913ae1ae
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
13 addition
and
3 deletion
+13
-3
bnd2/react/src/styles/donate.js
bnd2/react/src/styles/donate.js
+3
-1
bnd2/react/src/styles/font.js
bnd2/react/src/styles/font.js
+1
-0
bnd2/react/src/styles/index.js
bnd2/react/src/styles/index.js
+2
-1
bnd2/react/src/styles/utils.js
bnd2/react/src/styles/utils.js
+3
-1
bnd2/react/src/withRoot.js
bnd2/react/src/withRoot.js
+4
-0
未找到文件。
bnd2/react/src/styles/donate.js
浏览文件 @
d013584a
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
:
{
...
...
bnd2/react/src/styles/font.js
0 → 100644
浏览文件 @
d013584a
export
default
'
Helvetica Neue,Luxi Sans,DejaVu Sans,Tahoma,Hiragino Sans GB,Microsoft Yahei,sans-serif
'
\ No newline at end of file
bnd2/react/src/styles/index.js
浏览文件 @
d013584a
...
...
@@ -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
'
,
...
...
bnd2/react/src/styles/utils.js
浏览文件 @
d013584a
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
'
:
{
...
...
bnd2/react/src/withRoot.js
浏览文件 @
d013584a
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录