Skip to content

Conversation

gordonwoodhull
Copy link
Contributor

@gordonwoodhull gordonwoodhull commented Oct 16, 2024

Closes #10982

In order to provide complete control over logo placement, the padding on each side should be independent.

The right way to do this is to implement the CSS padding shorthand along with padding-left, padding-top, ...

This required refactoring a lot more of typst-css-property-processing.lua to _quarto.modules.typst.css

Also adds

  • _quarto.modules.typst.as_typst_dictionary
  • _quarto.modules.typst.sortedPairs _quarto.utils.table.sortedPairs

@gordonwoodhull gordonwoodhull force-pushed the feature/typst-logo-padding-shorthand branch from b92abd3 to 70a5665 Compare October 16, 2024 19:05
@gordonwoodhull gordonwoodhull marked this pull request as ready for review October 16, 2024 19:06
@gordonwoodhull gordonwoodhull force-pushed the feature/typst-logo-padding-shorthand branch from 70a5665 to 51877b2 Compare October 16, 2024 19:31
@gordonwoodhull gordonwoodhull force-pushed the feature/typst-logo-padding-shorthand branch from 51877b2 to b2fc83e Compare October 16, 2024 19:32
@gordonwoodhull
Copy link
Contributor Author

Also merging this once tests pass...

@gordonwoodhull gordonwoodhull merged commit a2026c8 into main Oct 16, 2024
47 checks passed
@gordonwoodhull gordonwoodhull deleted the feature/typst-logo-padding-shorthand branch October 16, 2024 19:59
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 logo.padding could be a shorthand

1 participant