Skip to content

Conversation

gordonwoodhull
Copy link
Contributor

@gordonwoodhull gordonwoodhull commented Nov 1, 2024

Partial fix for #11273

When I removed support for brand.typography.base.color in #11253 I did not apprehend that because of Typst's limitation where you can't not-set optional properties,

#set text(fill: x)

at the root level of the document will not propagate to the title.

So we must populate brand.typography.headings.color for typst-show.typ even when there is not otherwise any brand.typography.headings. (And test that it is populated.)

because we don't have a way to not-set optional properties in Typst
@gordonwoodhull gordonwoodhull added this to the v1.6 milestone Nov 1, 2024
@gordonwoodhull gordonwoodhull changed the title brand.typography.headings must populate foreground color brand.typography.headings must take foreground color Nov 1, 2024
@gordonwoodhull gordonwoodhull merged commit ffe274c into main Nov 1, 2024
47 checks passed
@gordonwoodhull gordonwoodhull deleted the bugfix/typst-title-takes-foreground-color branch November 1, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant