fix and update remote design

This commit is contained in:
jeffvli 2025-06-24 14:36:14 -07:00
parent ad533a1d9c
commit 6689e84f67
24 changed files with 326 additions and 453 deletions

View file

@ -12,7 +12,7 @@ export const THEME_DATA = [
{ label: 'Default Light', type: 'light', value: AppTheme.DEFAULT_LIGHT },
];
export const useAppTheme = () => {
export const useAppTheme = (overrideTheme?: AppTheme) => {
const accent = useSettingsStore((store) => store.general.accent);
const nativeImageAspect = useSettingsStore((store) => store.general.nativeAspectRatio);
const { builtIn, custom, system, type } = useSettingsStore((state) => state.font);
@ -28,6 +28,10 @@ export const useAppTheme = () => {
};
const getSelectedTheme = () => {
if (overrideTheme) {
return overrideTheme;
}
if (followSystemTheme) {
return isDarkTheme ? themeDark : themeLight;
}