Skip to content

Commit fe1e3ef

Browse files
authored
Merge pull request ChartsCSS#23 from ChartsCSS/fonts
Fonts
2 parents 18d2132 + fa3af93 commit fe1e3ef

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/.vuepress/config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ module.exports = {
2020
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
2121
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
2222
['meta', { name: 'msapplication-TileImage', content: '/assets/img/logo.svg' }],
23-
['meta', { name: 'msapplication-TileColor', content: '#000000' }]
23+
['meta', { name: 'msapplication-TileColor', content: '#000000' }],
24+
// Google Fonts
25+
[ "link", { rel: "preconnect", href: "https://fonts.googleapis.com" }],
26+
[ "link", { rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" } ],
27+
[ "link", { rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@400;500;700&display=swap" } ]
2428
],
2529

2630
themeConfig: {

src/.vuepress/styles/index.styl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
* ref: https://v1.vuepress.vuejs.org/config/#index-styl
55
*/
66

7+
h1, h2, h3, h4, h5, h6, .sidebar-heading, .site-name, .nav-link
8+
font-family 'Baloo Tamma 2'
9+
710
.theme-container .home
811
padding-top 0
912

0 commit comments

Comments
 (0)