Skip to content

Commit

Permalink
docs: fix fonts loading (#3492)
Browse files Browse the repository at this point in the history
* docs: fix fonts loading

* docs: fix icon fonts loading
  • Loading branch information
m0ksem committed Jun 21, 2023
1 parent 85a2857 commit c6293a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ export default defineNuxtConfig({

googleFonts: {
preload: true,
swap: true,
prefetch: true,
preconnect: true,
display: 'swap',
families: {
'Source+Sans+Pro': {
wght: [400, 600, 700],
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const isMobileMenuOpen = ref(false)
@import "@/assets/variables.scss";
.landing {
font-family: Source Sans Pro;
font-family: var(--va-font-family);
a {
@include link(2px);
Expand Down

0 comments on commit c6293a8

Please sign in to comment.