Skip to content

Typst logo.padding could be a shorthand #10982

@gordonwoodhull

Description

@gordonwoodhull

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.

Metadata

Metadata

Labels

enhancementNew feature or requestthemesRelated to HTML theming or any other style related issue (like highlight-style)typst

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions