From 8d9f677c4e9ccfcc6dc9297864dc49446fb5ee59 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 10 Jul 2024 15:56:33 +0100 Subject: 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 --- ui/tailwind.config.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'ui/tailwind.config.js') 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()], +}; -- cgit v1.3.1