-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vue) add fontface config to vue
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
{{cookiecutter.project_slug}}/clients/web/vue3/src/main.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
/*TODO: Add your own custom fonts for the project. Make sure you also update the entry in tailwind.config.js to match the font family you use*/ | ||
@layer base { | ||
@font-face { | ||
font-family: 'Montserrat'; | ||
font-display: swap; | ||
font-style: italic; | ||
src: | ||
url('assets/fonts/montserrat-italic-variable.woff2') format('woff2'), | ||
url('assets/fonts/montserrat-italic-variable.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Montserrat'; | ||
font-display: swap; | ||
font-style: normal; | ||
src: | ||
url('assets/fonts/montserrat-variable.woff2') format('woff2'), | ||
url('assets/fonts/montserrat-variable.woff') format('woff'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters