import { useRef } from "preact/hooks"; import { useTheme } from "../../components/ThemeProvider"; import { motion } from "framer-motion"; import { tabContentVariant, settingsPageVariant } from "./Variants"; import { useTranslation } from "react-i18next"; import Dropdown from "./Dropdown"; import ThemeDropdown from "./ThemeDropdown"; function Customization({ id, active }) { const bgInput = useRef(null); const { t } = useTranslation(); const { background, setBackground } = useTheme(); const particles = [ { id: "none", label: t("settings.theme.particlesNone") }, { id: "/crismas.json", label: t("themes.crismas") } ]; return (
{t("settings.theme.title")}
{t("settings.theme.subtitle")}
{t("settings.theme.particles")}
{t("settings.theme.particlesDesc")}
{t("settings.theme.background")}
{t("settings.theme.backgroundDesc")}
); } export default Customization;