refactor: Make Aspirant the official theme - remove toggle, lock to aspirant

This commit is contained in:
fullsizemalt 2026-01-11 22:23:31 -08:00
parent f0db9d5e5f
commit 6c91d4cd42
2 changed files with 4 additions and 5 deletions

View file

@ -14,7 +14,7 @@ import { Breadcrumbs } from './ui/Breadcrumbs';
import { pageVariants } from '../lib/animations';
import { Search, Bell, Settings, Filter, ChevronDown } from 'lucide-react';
import ThemeToggle from './ThemeToggle';
import DesignSwitch from './DesignSwitch';
import { UserMenu } from './layout/UserMenu';
import { NotificationBell } from './notifications/NotificationBell';
@ -95,7 +95,6 @@ export default function Layout() {
</div>
</div>
<DesignSwitch />
<ThemeToggle />
<NotificationBell />
<button className="lg:hidden p-2 text-[var(--color-text-tertiary)]" onClick={() => setMobileSheetOpen(true)}>

View file

@ -10,9 +10,9 @@ interface ThemeContextType {
const ThemeContext = createContext<ThemeContextType | undefined>(undefined);
export function ThemeProvider({ children }: { children: React.ReactNode }) {
const [theme, setTheme] = useState<Theme>(() => {
return (localStorage.getItem('veridian-theme') as Theme) || 'default';
});
// Aspirant is now the official theme - no switching available
const [theme] = useState<Theme>('aspirant');
const setTheme = (_theme: Theme) => { }; // No-op, theme is locked
useEffect(() => {
localStorage.setItem('veridian-theme', theme);