diff --git a/client/src/components/NavigationBar.tsx b/client/src/components/NavigationBar.tsx index 600d24b..408e929 100644 --- a/client/src/components/NavigationBar.tsx +++ b/client/src/components/NavigationBar.tsx @@ -59,7 +59,7 @@ export default function NavigationBar() { : "transition-all fixed w-full p-2 mt-8" } > -
{title}
{subtitle}
diff --git a/client/src/components/UpdateAccountModule.tsx b/client/src/components/UpdateAccountModule.tsx index 2c3a565..e16f878 100644 --- a/client/src/components/UpdateAccountModule.tsx +++ b/client/src/components/UpdateAccountModule.tsx @@ -6,6 +6,7 @@ import { Accordion, AccordionItem, Button, + Card, Modal, ModalBody, ModalContent, @@ -196,8 +197,9 @@ export default function UpdateAccountModule() {More actions
Click to show more options collapsed for security @@ -205,9 +207,9 @@ export default function UpdateAccountModule() {
Danger zone
@@ -222,7 +224,7 @@ export default function UpdateAccountModule() { Archive this account
Post
diff --git a/client/src/pages/EditPostPage.tsx b/client/src/pages/EditPostPage.tsx index d0fc401..393305b 100644 --- a/client/src/pages/EditPostPage.tsx +++ b/client/src/pages/EditPostPage.tsx @@ -87,7 +87,7 @@ function editPost() {Update
diff --git a/client/src/pages/EventsPage.tsx b/client/src/pages/EventsPage.tsx index 9d454f8..a0ec497 100644 --- a/client/src/pages/EventsPage.tsx +++ b/client/src/pages/EventsPage.tsx @@ -1,6 +1,6 @@ -import { useState, useEffect } from 'react'; +import { useState, useEffect } from "react"; import DefaultLayout from "../layouts/default"; -import { useNavigate } from 'react-router-dom'; +import { useNavigate } from "react-router-dom"; import instance from "../security/http"; import config from "../config"; @@ -18,11 +18,14 @@ const EventsPage = () => {{event.description}
If you wish to recover the account, please{" "} - + contact us
diff --git a/client/tailwind.config.js b/client/tailwind.config.js index ff13130..de9c5c3 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -7,13 +7,57 @@ export default { "./src/**/*.{js,ts,jsx,tsx}", "./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}", ], - theme: { - extend: { - colors: { - 'red-color': '#F36E6E', // Your color code - }, - }, - }, darkMode: "class", - plugins: [nextui()], + plugins: [ + nextui({ + themes: { + "red-dark": { + extend: "dark", + colors: { + background: "#1A0000", + foreground: "#ffffff", + primary: { + 50: "#FFE5E5", + 100: "#FFB3B3", + 200: "#FF8080", + 300: "#FF4040", + 400: "#F00000", + 500: "#D20000", + 600: "#B50000", + 700: "#960000", + 800: "#780000", + 900: "#610000", + 950: "#420000", + DEFAULT: "#F00000", + foreground: "#ffffff", + }, + focus: "#FF4040", + }, + }, + "red-light": { + extend: "light", // <- inherit default values from light theme + colors: { + background: "#ffffff", + foreground: "#1A0000", + primary: { + 50: "#FFE5E5", + 100: "#FFB3B3", + 200: "#FF8080", + 300: "#FF4040", + 400: "#FF0000", + 500: "#E60000", + 600: "#CC0000", + 700: "#B30000", + 800: "#990000", + 900: "#800000", + 950: "#690000", + DEFAULT: "#FF0000", + foreground: "#ffffff", + }, + focus: "#FF8080", + }, + }, + }, + }), + ], };