feat: enhance translation and invoice layout
This commit is contained in:
@ -1,9 +1,23 @@
|
||||
import * as translation from '../translation.js';
|
||||
import * as translation from "../translation.js";
|
||||
|
||||
export interface IDocumentTheme {
|
||||
colorPrimaryForeground?: string;
|
||||
colorPrimaryBackground?: string;
|
||||
colorAccentForeground?: string;
|
||||
colorAccentBackground?: string;
|
||||
fontFamily?: string;
|
||||
pageBackground?: string;
|
||||
coverPageBackground?: string;
|
||||
}
|
||||
|
||||
export interface IDocumentSettings {
|
||||
enableTopDraftText?: boolean;
|
||||
enableDefaultHeader?: boolean;
|
||||
enableDefaultFooter?: boolean;
|
||||
languageCode?: translation.TLanguageCode;
|
||||
enableFoldMarks?: boolean;
|
||||
enableInvoiceContractRefSection?: boolean;
|
||||
languageCode?: translation.LanguageCode;
|
||||
dateStyle?: Intl.DateTimeFormatOptions["dateStyle"];
|
||||
vatGroupPositions?: boolean;
|
||||
}
|
||||
theme?: IDocumentTheme;
|
||||
}
|
||||
|
Reference in New Issue
Block a user