aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tailwind.config.js
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2024-07-10 15:56:33 +0100
committerGitHub <noreply@github.com>2024-07-10 15:56:33 +0100
commit8d9f677c4e9ccfcc6dc9297864dc49446fb5ee59 (patch)
tree1fe507403c4d690937834a815a663336bf104039 /ui/tailwind.config.js
parentchore(deps): update to tonic 0.12, prost 0.13 (#2250) (diff)
downloadatuin-8d9f677c4e9ccfcc6dc9297864dc49446fb5ee59.zip
feat(gui): use fancy new side nav (#2243)
* feat(gui): use fancy new side nav * compact only sidebar, no expand-collapse * custom drag region, remove titlebar * add user popup * wire up login/logout/register, move user button to bottom and add menu * link help and feedback to forum
Diffstat (limited to 'ui/tailwind.config.js')
-rw-r--r--ui/tailwind.config.js17
1 files changed, 10 insertions, 7 deletions
diff --git a/ui/tailwind.config.js b/ui/tailwind.config.js
index 7cb7e37a..3bb36c2d 100644
--- a/ui/tailwind.config.js
+++ b/ui/tailwind.config.js
@@ -1,11 +1,14 @@
+const { nextui } = require("@nextui-org/react");
+
/** @type {import('tailwindcss').Config} */
module.exports = {
- darkMode: ["class"],
+ darkMode: "class",
content: [
- './pages/**/*.{ts,tsx}',
- './components/**/*.{ts,tsx}',
- './app/**/*.{ts,tsx}',
- './src/**/*.{ts,tsx}',
+ "./pages/**/*.{ts,tsx}",
+ "./components/**/*.{ts,tsx}",
+ "./app/**/*.{ts,tsx}",
+ "./src/**/*.{ts,tsx}",
+ "./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
prefix: "",
theme: {
@@ -73,5 +76,5 @@ module.exports = {
},
},
},
- plugins: [require("tailwindcss-animate")],
-} \ No newline at end of file
+ plugins: [require("tailwindcss-animate"), nextui()],
+};