minor sidebar + buttons adjustments

This commit is contained in:
Oliver Bryan
2026-01-07 23:43:05 +00:00
parent bce2623727
commit 77a9b32841
3 changed files with 31 additions and 8 deletions

View File

@@ -1,8 +1,9 @@
import { Moon, Sun } from "lucide-react";
import { useEffect, useState } from "react";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
function ThemeToggle() {
function ThemeToggle({ className }: { className?: string }) {
const [theme, setTheme] = useState<string | null>();
useEffect(() => {
@@ -22,9 +23,9 @@ function ThemeToggle() {
return (
<Button
type="button"
variant="dummy"
size="none"
className="rounded cursor-pointer"
variant="ghost"
size="icon"
className={cn("", className)}
onClick={() => {
if (!theme || theme === "light") updateTheme("dark");
else updateTheme("light");