Repository navigation
v0.4.0
New
- Brand your diagrams: a brand's
diagramsection now sets the edges (stroke, round or sharp corners, triangle, open or dot arrowheads), the group outlines and the edge labels (plain or chips, in the caption or label type step). - Cards: named node styles a brand defines under
diagram.cards: fill, border, radius, shadow, shape, icon style, an accent stripe and the title's family, weight and case. Every brand has five standard cards (default,outline,solid,tint,raised), derived from its roles, and may restyle them and add its own.diagram.kindsgives a node kind its card, and a surface can recolor a card undercolor.surfaces.<name>.diagram.cards. cardon slides:<Node>,<Actor>,<Item>and<Layer>takecard="solid", and<Flow>,<Tree>,<Cycle>,<SequenceDiagram>and<Layers>take one for all their nodes. A node uses its own card, then its diagram's, then the brand's card for its kind, thendefault.deck lint: adiagram-card-missingwarning when a slide names a card the brand does not have; the node is drawn with the next card in the order.deck brandanddeck diagramsprint a brand's diagram look and cards, and the cards guide.- PowerPoint export carries card shadows, accent stripes, arrowhead styles, radii and sharp edge corners.
- Embed mode: add
?embedto a built deck's URL to show it in an iframe with previous and next controls and a link to the full deck.
Changed
- The five brands in the repository (
default,kinetic,nocturne,fieldnote,tidewater) each have their own diagram look, so diagrams in a deck that uses a copy of them from this release look different. A brand without the new keys renders as before. deck lint's contrast rule measures a diagram node's text on its card's fill.- Corrections to command help and hints, and to the
off-brandlint rule for SVGs.
Full Changelog: v0.3.0...v0.4.0