From 65f60fa07aef9465dd113d76cd08515821bb8c99 Mon Sep 17 00:00:00 2001 From: rimar1337 <132627503+rimar1337@users.noreply.github.com> Date: Mon, 03 Nov 2025 11:21:54 +0000 Subject: [PATCH] better settings styles --- src/routes/settings.tsx | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------ src/styles/app.css | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 file(s) changed, 146 insertion(s)(+), 24 deletion(s)(-) diff --git a/src/routes/settings.tsx b/src/routes/settings.tsx --- a/src/routes/settings.tsx +++ b/src/routes/settings.tsx @@ -1,7 +1,7 @@ import { createFileRoute } from "@tanstack/react-router"; import { useAtom, useAtomValue, useSetAtom } from "jotai"; import { Slider, Switch } from "radix-ui"; -import { useEffect,useState } from "react"; +import { useEffect, useState } from "react"; import { Header } from "~/components/Header"; import Login from "~/components/Login"; @@ -40,6 +40,17 @@
+ + + + + +
+ Service Endpoints + + Customize the servers to be used by the app + +
- + -

- please restart/refresh the app if changes arent applying correctly + /> +

+ Notice: Please restart/refresh the app if changes arent applying + correctly

+ ); +} + +export function SettingHeading({ + title, + top, +}: { + title: string; + top?: boolean; +}) { + return ( +
+ + {title} + +
); } @@ -105,23 +136,25 @@ } return ( -
+
-
+ +
setValue(v)} - className="w-10 h-6 bg-gray-300 rounded-full relative data-[state=checked]:bg-blue-500 transition-colors" + className="m3switch root" > - +
); @@ -130,13 +163,13 @@ function Hue() { const [hue, setHue] = useAtom(hueAtom); return ( -
- Hue -
- +
+ Hue + + Change the colors of the app + +
+