mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 08:42:08 +10:00
🚀 release: v3.0.0
This commit is contained in:
32
libs/schema/src/lib/metadata.ts
Normal file
32
libs/schema/src/lib/metadata.ts
Normal file
@ -0,0 +1,32 @@
|
||||
export type CustomCSS = {
|
||||
value: string;
|
||||
visible: boolean;
|
||||
};
|
||||
|
||||
export type Theme = {
|
||||
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;
|
||||
theme: Theme;
|
||||
layout: string[][][]; // page.column.section
|
||||
template: string;
|
||||
typography: Typography;
|
||||
date: DateConfig;
|
||||
language: string;
|
||||
};
|
||||
Reference in New Issue
Block a user