install tailwind

This commit is contained in:
Triston Armstrong 2023-12-24 00:12:05 -06:00
parent c245e92fde
commit c92c9e0657
4 changed files with 28 additions and 14 deletions

View File

@ -49,13 +49,16 @@
"vfile-reporter": "latest"
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"bimap": "latest",
"cytoscape": "latest",
"eslint": "latest",
"eslint-config-next": "latest",
"postcss": "^8.4.32",
"remark-frontmatter": "latest",
"remark-react": "latest",
"remark-stringify": "latest",
"tailwindcss": "^3.4.0",
"uuid": "latest"
},
"resolutions": {

6
postcss.config.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@ -1,14 +1,3 @@
html,
body {
padding: 0;
margin: 0;
font-family: 'Inter', sans-serif;
}
* {
box-sizing: border-box;
}
#sidebar {
padding-left: 16px;
}
@tailwind base;
@tailwind components;
@tailwind utilities;

16
tailwind.config.js Normal file
View File

@ -0,0 +1,16 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {},
},
plugins: [],
}