Skip to content

Commit

Permalink
chore: add fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-kedis authored and AbdelruhmanSamy committed May 6, 2024
1 parent f7f73b1 commit d764806
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mistermeow/app/src/meowapp/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function App() {
return (
<>
<div id="theme" className="rose black dark">
<div className="bg-home flex text-logo flex-col items-center justify-center min-h-screen bg-gray-100">
<div className="bg-home font-bilya font-inter flex text-logo flex-col items-center justify-center min-h-screen">
Hello World
</div>
</div>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 12 additions & 0 deletions mistermeow/app/src/meowapp/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
@tailwind components;
@tailwind utilities;

@import url("https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap");

@font-face {
font-family: "Bilya Layered";
src: local("Bilya Layered BASE"), local("Bilya-Layered-BASE"),
url("./assets/BILYALAYEREDBASE.woff2") format("woff2"),
url("./assets/BILYALAYEREDBASE.woff") format("woff"),
url("./assets/BILYALAYEREDBASE.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}

@layer base {
:root {
--home-bg: #ffffff;
Expand Down
6 changes: 6 additions & 0 deletions mistermeow/app/src/meowapp/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const backgroundColor = {
"sr-tag": generateColorClass("tag-secondary"),
};

const fontFamily = {
bilya: ["Bilya Layered", "sans-serif"],
inter: ["Inter", "sans-serif"],
};

module.exports = {
darkMode: ["class"],
content: [
Expand All @@ -39,6 +44,7 @@ module.exports = {
extend: {
textColor,
backgroundColor,
fontFamily,
},
},
plugins: [require("tailwindcss-animate")],
Expand Down

0 comments on commit d764806

Please sign in to comment.