Skip to content

Commit

Permalink
Merge pull request #66 from NextCafeteria/update/fix_minor_ui_changes
Browse files Browse the repository at this point in the history
just add retro theme
  • Loading branch information
haitt00 committed Aug 12, 2023
2 parents 75b1d87 + 364ebd7 commit 452bdbb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions src/app/[lng]/dashboard/settings/page.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
"use client";
import { useEffect, useState } from "react";
import { useTranslation } from "@/app/i18n/client";
import { useRouter } from "next/navigation";
import { useSession } from "next-auth/react";
import Skeleton from "react-loading-skeleton";

import {
GetCommonSettings,
UpdateCommonSettings,
} from "@/lib/requests/settings";
import { useEffect, useState } from "react";

import Skeleton from "react-loading-skeleton";
import { useRouter } from "next/navigation";
import { useSession } from "next-auth/react";
import { useTranslation } from "@/app/i18n/client";

export default function ({ params: { lng, storeId } }) {
const router = useRouter();
Expand Down Expand Up @@ -112,6 +114,12 @@ export default function ({ params: { lng, storeId } }) {
</span>{" "}
Fantasy
</option>
<option value="retro">
<span role="img" aria-label="retro">
</span>{" "}
Retro
</option>
</select>
)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ module.exports = {
},
},
daisyui: {
themes: ["cupcake", "light", "valentine", "fantasy"],
themes: ["cupcake", "light", "valentine", "retro"],
},
plugins: [require("@tailwindcss/typography"), require("daisyui")],
};

0 comments on commit 452bdbb

Please sign in to comment.