mirror of https://github.com/eyhc1/rendercv.git
design: add `last_updated_date_style` option
This commit is contained in:
parent
2bd1e98617
commit
7b6190a70e
|
@ -235,6 +235,15 @@ class ThemeOptions(pydantic.BaseModel):
|
||||||
" in the header. The default value is true."
|
" in the header. The default value is true."
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
last_updated_date_style: str = pydantic.Field(
|
||||||
|
default="Last updated in TODAY",
|
||||||
|
title="Last Updated Date Style",
|
||||||
|
description=(
|
||||||
|
"The style of the last updated date. The following placeholder can be"
|
||||||
|
" used:\n- TODAY: Today's month and year (April 2024)\nThe default value is"
|
||||||
|
" Last updated in TODAY."
|
||||||
|
),
|
||||||
|
)
|
||||||
header_font_size: LaTeXDimension = pydantic.Field(
|
header_font_size: LaTeXDimension = pydantic.Field(
|
||||||
default="30 pt",
|
default="30 pt",
|
||||||
title="Header Font Size",
|
title="Header Font Size",
|
||||||
|
@ -243,7 +252,9 @@ class ThemeOptions(pydantic.BaseModel):
|
||||||
" 30 pt."
|
" 30 pt."
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
text_alignment: Literal["left-aligned", "justified", "justified-with-no-hyphenation"] = pydantic.Field(
|
text_alignment: Literal[
|
||||||
|
"left-aligned", "justified", "justified-with-no-hyphenation"
|
||||||
|
] = pydantic.Field(
|
||||||
default="justified",
|
default="justified",
|
||||||
title="Text Alignment",
|
title="Text Alignment",
|
||||||
description="The alignment of the text. The default value is justified.",
|
description="The alignment of the text. The default value is justified.",
|
||||||
|
|
Loading…
Reference in New Issue