Skip to content

Commit

Permalink
feat: update font
Browse files Browse the repository at this point in the history
  • Loading branch information
edvein-rin committed Aug 3, 2024
1 parent c29f00c commit bdff8d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
<meta name="theme-color" content="#000000" />
<meta name="description" content="Порівняння електросамокатів Києва. Мапа покриття, ціни." />
<title>Електросамокати Києва</title>
<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=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet">
</head>

<body>
Expand Down
12 changes: 8 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
const defaultTheme = require("tailwindcss/defaultTheme");

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{ts,tsx}"],
theme: {
extend: {},
extend: {
fontFamily: {
sans: ['"Open Sans"', ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [
require("@tailwindcss/typography"),
],
plugins: [require("@tailwindcss/typography")],
};

0 comments on commit bdff8d3

Please # to comment.