22 lines
440 B
TypeScript
22 lines
440 B
TypeScript
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 };
|