1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-24 13:39:35 +02:00
flame/client/src/store/actions/theme.ts

18 lines
367 B
TypeScript
Raw Normal View History

import { ActionType } from '../action-types';
import { Theme, ThemeColors } from '../../interfaces';
export interface SetThemeAction {
type: ActionType.setTheme;
payload: ThemeColors;
}
export interface FetchThemesAction {
type: ActionType.fetchThemes;
payload: Theme[];
}
2022-03-24 16:07:14 +01:00
export interface AddThemeAction {
type: ActionType.addTheme;
payload: Theme;
}