Skip to content

Commit

Permalink
chore(global styling): configure & design system in tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail-benlaredj committed Oct 13, 2023
1 parent 7be9ccc commit ed9f4ce
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
html {
font-family: "Poppins", sans-serif;
}
}

.brd {
border: 1px solid red;
}
13 changes: 12 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ module.exports = {
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {},
extend: {
fontFamily: {
'poppins': ['"Poppins"', "sans-serif"],
},
colors: {
'green': '#33956D',
'black': '#3C4347',
'red': '#F07167',
'gray': '#E9E9E9',
}

},
},
plugins: [],
}
Expand Down

0 comments on commit ed9f4ce

Please sign in to comment.