Skip to content
Snippets Groups Projects
Commit 7796c515 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Use Lato font for sans-serif and Lora for serif.

parent ad52988c
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@
"devDependencies": {
"@auditors/core": "^0.1.7",
"@babel/core": "^7.13.14",
"@fontsource/lato": "^4.3.0",
"@fontsource/lora": "^4.3.0",
"@storybook/addon-actions": "^6.2.3",
"@storybook/addon-essentials": "^6.2.3",
"@storybook/addon-links": "^6.2.3",
......@@ -1706,6 +1708,18 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/@fontsource/lato": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/@fontsource/lato/-/lato-4.3.0.tgz",
"integrity": "sha512-/qm5j4mEjaOSOl7OI8Q2tzt/QDzDMYNDhSvJPiFqY/ClxYGtqt1nBW5DRHiZOirI/IWl0tX3adoILOBMz/cRWA==",
"dev": true
},
"node_modules/@fontsource/lora": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/@fontsource/lora/-/lora-4.3.0.tgz",
"integrity": "sha512-LTjsnuxO3gLw0GmevbXO3ZqB7sof42DH93EZfaBVaIXx4MGpUsJyXgaSK+YQiWZIZfoP2dn6r1HB/1NGApoSKQ==",
"dev": true
},
"node_modules/@fullhuman/postcss-purgecss": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/@fullhuman/postcss-purgecss/-/postcss-purgecss-3.1.3.tgz",
......@@ -21721,6 +21735,18 @@
}
}
},
"@fontsource/lato": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/@fontsource/lato/-/lato-4.3.0.tgz",
"integrity": "sha512-/qm5j4mEjaOSOl7OI8Q2tzt/QDzDMYNDhSvJPiFqY/ClxYGtqt1nBW5DRHiZOirI/IWl0tX3adoILOBMz/cRWA==",
"dev": true
},
"@fontsource/lora": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/@fontsource/lora/-/lora-4.3.0.tgz",
"integrity": "sha512-LTjsnuxO3gLw0GmevbXO3ZqB7sof42DH93EZfaBVaIXx4MGpUsJyXgaSK+YQiWZIZfoP2dn6r1HB/1NGApoSKQ==",
"dev": true
},
"@fullhuman/postcss-purgecss": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/@fullhuman/postcss-purgecss/-/postcss-purgecss-3.1.3.tgz",
<script>
import "@fontsource/lato/index.css"
import "@fontsource/lora/index.css"
import "../global.css"
import { setContext } from "svelte"
......
......@@ -19,6 +19,10 @@ module.exports = {
},
theme: {
extend: {},
fontFamily: {
sans: ["Lato", "sans-serif"],
serif: ["Lora", "serif"],
},
},
variants: {
extend: {},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment