Skip to content

Commit

Permalink
添加下载 Google fonts 工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillhappy1314 committed Dec 2, 2020
1 parent 7e4d10a commit f9a2bf9
Show file tree
Hide file tree
Showing 5 changed files with 357 additions and 246 deletions.
45 changes: 45 additions & 0 deletions assets/styles/base/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-display: auto;
src: url(../fonts/Open_Sans-italic-400.woff) format('woff');
unicode-range: U+0-10FFFF;
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
font-display: auto;
src: url(../fonts/Open_Sans-normal-300.woff) format('woff');
unicode-range: U+0-10FFFF;
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-display: auto;
src: url(../fonts/Open_Sans-normal-400.woff) format('woff');
unicode-range: U+0-10FFFF;
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-display: auto;
src: url(../fonts/Open_Sans-normal-600.woff) format('woff');
unicode-range: U+0-10FFFF;
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-display: auto;
src: url(../fonts/Open_Sans-normal-700.woff) format('woff');
unicode-range: U+0-10FFFF;
}

1 change: 1 addition & 0 deletions fonts.list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400
Loading

0 comments on commit f9a2bf9

Please sign in to comment.