mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 09:11:57 +10:00
38 lines
686 B
TypeScript
38 lines
686 B
TypeScript
export type CustomCSS = {
|
|
value: string;
|
|
visible: boolean;
|
|
};
|
|
|
|
export type PageConfig = {
|
|
format: 'A4' | 'Letter';
|
|
};
|
|
|
|
export type ThemeConfig = {
|
|
text: string;
|
|
background: string;
|
|
primary: string;
|
|
};
|
|
|
|
export type TypeCategory = 'heading' | 'body';
|
|
export type TypeProperty = 'family' | 'size';
|
|
|
|
export type Typography = {
|
|
family: Record<TypeCategory, string>;
|
|
size: Record<TypeCategory, number>;
|
|
};
|
|
|
|
export type DateConfig = {
|
|
format: string;
|
|
};
|
|
|
|
export type Metadata = {
|
|
css: CustomCSS;
|
|
locale: string;
|
|
date: DateConfig;
|
|
layout: string[][][]; // page.column.section
|
|
template: string;
|
|
theme: ThemeConfig;
|
|
page?: PageConfig;
|
|
typography: Typography;
|
|
};
|