Move app theme related types to dedicated file

Fixes circular dependency.
This commit is contained in:
schroda
2025-09-20 18:19:34 +02:00
parent ed53aff071
commit b13bb86f40
8 changed files with 31 additions and 30 deletions

View File

@@ -10,8 +10,8 @@ import useMediaQuery from '@mui/material/useMediaQuery';
import { Breakpoint, SxProps, Theme } from '@mui/material/styles';
import { useCallback, useState } from 'react';
import { getCurrentTheme } from '@/features/theme/services/ThemeCreator.ts';
import { ThemeMode } from '@/features/theme/AppThemeContext.tsx';
import { useResizeObserver } from '@/base/hooks/useResizeObserver.tsx';
import { ThemeMode } from '@/features/theme/AppTheme.types.ts';
export class MediaQuery {
static readonly MOBILE_WIDTH: Breakpoint | number = 'sm';