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

@@ -22,11 +22,11 @@ import { deepmerge } from '@mui/utils';
// eslint-disable-next-line no-restricted-imports
import { PaletteBackgroundChannel } from '@mui/material/styles/createThemeWithVars';
import { Palette } from '@vibrant/color';
import { TAppThemeContext, ThemeMode } from '@/features/theme/AppThemeContext.tsx';
import { MediaQuery } from '@/base/utils/MediaQuery.tsx';
import { AppTheme, loadThemeFonts } from '@/features/theme/services/AppThemes.ts';
import { defaultPromiseErrorHandler } from '@/lib/DefaultPromiseErrorHandler.ts';
import { applyStyles } from '@/base/utils/ApplyStyles.ts';
import { TAppThemeContext, ThemeMode } from '@/features/theme/AppTheme.types.ts';
const SCROLLBAR_SIZE = 14;