chore: use font inter

This commit is contained in:
Fernando Falci 2024-04-25 12:49:15 +02:00
parent a39c2a1d79
commit 8d37a728a8
No known key found for this signature in database
GPG Key ID: AB787B833D90361D
2 changed files with 12 additions and 1 deletions

View File

@ -5,9 +5,17 @@
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WALLET.ID</title> <title>WALLET.ID</title>
<!-- Google font -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400..700&display=swap"
rel="stylesheet"
/>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root" class="font-inter"></div>
<script type="module" src="/src/main.jsx"></script> <script type="module" src="/src/main.jsx"></script>
</body> </body>
</html> </html>

View File

@ -2,6 +2,9 @@
export default { export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'], content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: { theme: {
fontFamily: {
inter: ['Inter', 'sans-serif'],
},
extend: {}, extend: {},
}, },
plugins: [], plugins: [],