Skip to content

Commit

Permalink
feat: change font
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Dec 29, 2023
1 parent 5d98e96 commit c83d365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,10 @@ const config: Config = {
},
},
],
stylesheets: ['https://cdn.jsdelivr.net/npm/misans@4.0.0/lib/Normal/MiSans-Normal.min.css'],
stylesheets: [
'https://cdn.jsdelivr.net/npm/misans@4.0.0/lib/Normal/MiSans-Normal.min.css',
'https://cdn.jsdelivr.net/npm/misans@4.0.0/lib/Normal/MiSans-Semibold.min.css',
],
i18n: {
defaultLocale: 'zh-CN',
locales: ['en', 'zh-CN'],
Expand Down
1 change: 1 addition & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

--ifm-heading-color: hsl(214deg 78% 17%);
--ifm-heading-font-weight: 500;
--ifm-font-weight-bold: 520;
--ifm-toc-border-color: #f1f5f9;

--content-background-color: #f8fafc;
Expand Down

1 comment on commit c83d365

@vercel
Copy link

@vercel vercel bot commented on c83d365 Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-git-main-kuizuo1.vercel.app
blog-kuizuo.vercel.app
blog-kuizuo1.vercel.app
kuizuo.cn

Please sign in to comment.