Skip to content

Commit

Permalink
add tailwind to konfigthis.com
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Jul 25, 2023
1 parent c4e76ec commit 169362c
Show file tree
Hide file tree
Showing 5 changed files with 398 additions and 12 deletions.
5 changes: 5 additions & 0 deletions konfigthis.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
"react-dom": "18.2.0",
"reactflow": "^11.7.4",
"typescript": "5.0.4"
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"postcss": "^8.4.27",
"tailwindcss": "^3.3.3"
}
}
6 changes: 6 additions & 0 deletions konfigthis.com/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
10 changes: 7 additions & 3 deletions konfigthis.com/src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
--max-width: 1100px;
--border-radius: 12px;
--font-mono: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono',
'Roboto Mono', 'Oxygen Mono', 'Ubuntu Monospace', 'Source Code Pro',
'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;
--font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono",
"Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
"Fira Mono", "Droid Sans Mono", "Courier New", monospace;

--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
Expand Down
11 changes: 11 additions & 0 deletions konfigthis.com/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {},
},
plugins: [],
};
Loading

0 comments on commit 169362c

Please sign in to comment.