Move "theme.tsx" to proper module

This commit is contained in:
schroda
2024-12-11 13:57:24 +01:00
parent 7ffcfc1a16
commit b3e3d94bda
20 changed files with 19 additions and 19 deletions

View File

@@ -24,7 +24,7 @@ import { ReaderPage } from '@/modules/reader/components/viewer/ReaderPage.tsx';
import { reverseString } from '@/util/Strings.ts';
import { getPage } from '@/modules/reader/utils/ReaderProgressBar.utils.tsx';
import { DirectionOffset } from '@/Base.types.ts';
import { getOptionForDirection } from '@/theme.tsx';
import { getOptionForDirection } from '@/modules/theme/services/theme.tsx';
import { READING_DIRECTION_TO_THEME_DIRECTION } from '@/modules/reader/constants/ReaderSettings.constants.tsx';
type CSSObject = ReturnType<Theme['applyStyles']>;