mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-12 15:52:56 +10:00
Feature: Toggle Page Size between ISO A4 and US Letter
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
"build": "tsc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.24.0",
|
||||
"eslint": "^8.25.0",
|
||||
"typescript": "^4.8.4"
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,7 +3,11 @@ export type CustomCSS = {
|
||||
visible: boolean;
|
||||
};
|
||||
|
||||
export type Theme = {
|
||||
export type PageConfig = {
|
||||
format: 'A4' | 'Letter';
|
||||
};
|
||||
|
||||
export type ThemeConfig = {
|
||||
text: string;
|
||||
background: string;
|
||||
primary: string;
|
||||
@ -27,6 +31,7 @@ export type Metadata = {
|
||||
date: DateConfig;
|
||||
layout: string[][][]; // page.column.section
|
||||
template: string;
|
||||
theme: Theme;
|
||||
theme: ThemeConfig;
|
||||
page?: PageConfig;
|
||||
typography: Typography;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user