Skip to content

Commit

Permalink
Added tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
SansCaar committed Jul 18, 2024
1 parent 212ecc0 commit 8b55e0e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
4 changes: 3 additions & 1 deletion nepalingo-web/src/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand All @@ -16,4 +18,4 @@
}
.rotateY-0 {
transform: rotateY(0deg);
}
}
31 changes: 23 additions & 8 deletions nepalingo-web/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
import { Config } from 'tailwindcss';

const config: Config = {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
plugins: [],
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
primary: '#D03641',
black: '#1A1A1A',
white: '#F8F4F4',
grayDark: '#2B2B2B',
grayLight: '#C8C8C8'
},
fontFamily: {
primary: ['Nunito', 'sans serif'],
secondary: 'Roboto'
}

},

},
plugins: [],
};

export default config;

0 comments on commit 8b55e0e

Please sign in to comment.