Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
9cce45e0
Commit
9cce45e0
authored
Aug 14, 2024
by
HoMeTown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加字体
parent
1b59b918
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
+11
-1
src/assets/fonts/Alibaba-PuHuiTi-Medium.ttf
+0
-0
src/assets/fonts/Alibaba-PuHuiTi-Regular.ttf
+0
-0
src/styles/global.less
+11
-1
No files found.
src/assets/fonts/Alibaba-PuHuiTi-Medium.ttf
0 → 100644
View file @
9cce45e0
File added
src/assets/fonts/Alibaba-PuHuiTi-Regular.ttf
0 → 100644
View file @
9cce45e0
File added
src/styles/global.less
View file @
9cce45e0
...
@@ -4,6 +4,16 @@
...
@@ -4,6 +4,16 @@
// 其他全局 CSS 变量...
// 其他全局 CSS 变量...
}
}
@font-face {
font-family: 'alim';
src: url('../assets/fonts/Alibaba-PuHuiTi-Medium.ttf');
}
@font-face {
font-family: 'alir';
src: url('../assets/fonts/Alibaba-PuHuiTi-Regular.ttf');
}
// 其他全局样式...
// 其他全局样式...
html {
html {
height: 100%;
height: 100%;
...
@@ -12,7 +22,7 @@ html {
...
@@ -12,7 +22,7 @@ html {
body {
body {
height: 100%;
height: 100%;
min-width: 375px;
min-width: 375px;
font-family: -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, "segoe ui", arial, roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
font-family:
alir,
-apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, "segoe ui", arial, roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
color: var(--sdream-text-primary);
color: var(--sdream-text-primary);
}
}
#root {
#root {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment