Skip to content

Commit

Permalink
feat: set Roboto as default font
Browse files Browse the repository at this point in the history
  • Loading branch information
soumitradev committed Aug 1, 2023
1 parent c448cd6 commit f3d1e8a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down
15 changes: 9 additions & 6 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
module.exports = {
darkMode: ["class"],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
theme: {
container: {
center: true,
Expand All @@ -16,6 +16,9 @@ module.exports = {
},
},
extend: {
fontFamily: {
sans: ["Roboto", "sans-serif", "ui-sans-serif", "system-ui"],
},
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
Expand Down Expand Up @@ -73,4 +76,4 @@ module.exports = {
},
},
plugins: [require("tailwindcss-animate")],
}
};

0 comments on commit f3d1e8a

Please sign in to comment.