aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/context/index.tsx
blob: 35c647ad68d42063e7385130f2290dd7a5559daa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { createContext } from 'react';

interface ContextInterface {
    title?: string;
    name?: string;
    subtitle?: string;
    tagline?: string;
    icon?: React.ReactNode;
    colors?: {
        main: string;
        secondary: string;
        secondary_alt: string;
        type: string;
        type_alt: string;
        dark: string;
    };
}

const ThemeContext = createContext({});

export { ThemeContext, ContextInterface };