Typst logo.padding could be a shorthand #10982
Labels
enhancement
New feature or request
themes
Related to HTML theming or any other style related issue (like highlight-style)
typst
Milestone
For now (#10974) it is a scalar CSS length which gets applied on all sides of the logo. (As Typst
inset
.)But it could be upgraded in a backward-compatible way to a shorthand for
padding-top
,padding-right
, etc. like CSS padding.The code already exists e.g. for
border-width
, which is the same kind of shorthand. It just needs to be abstracted somewhat.The text was updated successfully, but these errors were encountered: