Skip to content

typst: dark callout fixes#12435

Merged
gordonwoodhull merged 1 commit intomainfrom
feature/typst-dark-callout
Apr 2, 2025
Merged

typst: dark callout fixes#12435
gordonwoodhull merged 1 commit intomainfrom
feature/typst-dark-callout

Conversation

@gordonwoodhull
Copy link
Copy Markdown
Member

@gordonwoodhull gordonwoodhull commented Apr 2, 2025

Mix brand callout title color when there is a brand background color, with different mixing for light (15%) and dark (50%) brand-mode. Fixes #11825

Also mix tool color with background when falling back to built-in callout colors.

Set callout body background color to brand background color.

image

@gordonwoodhull gordonwoodhull changed the title typst: dark callouts typst: dark callout fixes Apr 2, 2025
@gordonwoodhull gordonwoodhull force-pushed the feature/typst-dark-callout branch from f291d52 to e66287e Compare April 2, 2025 20:58
mix callout title color whenever there is a brand background color
different mixing for light (15%) and dark (50%) modes

set callout body background color to brand background color
@gordonwoodhull gordonwoodhull force-pushed the feature/typst-dark-callout branch from e66287e to 7c2913f Compare April 2, 2025 21:22
@gordonwoodhull gordonwoodhull merged commit f125971 into main Apr 2, 2025
36 checks passed
@gordonwoodhull gordonwoodhull deleted the feature/typst-dark-callout branch April 2, 2025 21:23
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.

typst brand yaml: callout title backgrounds should use mix instead of lighten

1 participant