made some fixes for prettier

This commit is contained in:
Anthony Cooper 2025-08-30 21:52:28 -04:00
parent a7b7188218
commit 21fc2f3b98
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ const ThemeSelect = ({ value, onValueChange, className }: ThemeSelectProps = {})
{ value: "paper", icon: <Palette className="w-4 h-4" />, label: "Paper" },
{ value: "whitewall", icon: <Wallpaper className="w-4 h-4" />, label: "Whitewall" },
{ value: "nauticalblue", icon: <Anchor className="w-4 h-4" strokeWidth={1.3} />, label: "Nautical Blue Light" },
{ value: "nauticalblue-dark", icon: <Anchor className="w-4 h-4" strokeWidth={2.57} />, label: "Nautical Blue Dark" }
{ value: "nauticalblue-dark", icon: <Anchor className="w-4 h-4" strokeWidth={2.57} />, label: "Nautical Blue Dark" },
];
const handleThemeChange = (newTheme: Theme) => {

View File

@ -1,8 +1,8 @@
import defaultDarkThemeContent from "../themes/default-dark.css?raw";
import nauticalBlueDarkThemeContent from "../themes/nauticalblue-dark.css?raw";
import nauticalBlueThemeContent from "../themes/nauticalblue.css?raw";
import paperThemeContent from "../themes/paper.css?raw";
import whitewallThemeContent from "../themes/whitewall.css?raw";
import nauticalBlueThemeContent from "../themes/nauticalblue.css?raw";
import nauticalBlueDarkThemeContent from "../themes/nauticalblue-dark.css?raw";
const VALID_THEMES = ["default", "default-dark", "paper", "whitewall", "nauticalblue", "nauticalblue-dark"] as const;
type ValidTheme = (typeof VALID_THEMES)[number];
@ -13,7 +13,7 @@ const THEME_CONTENT: Record<ValidTheme, string | null> = {
paper: paperThemeContent,
whitewall: whitewallThemeContent,
nauticalblue: nauticalBlueThemeContent,
"nauticalblue-dark": nauticalBlueDarkThemeContent
"nauticalblue-dark": nauticalBlueDarkThemeContent,
};
const validateTheme = (theme: string): ValidTheme => {