Directives
The directives this theme adds to what an author can write, and the document
field. The extension registers them, so a project with the theme can use
them at once. There is nothing to add to guides.xml and no template to
copy.
Bands, the hero, splits, grids and the page field.
The call to action, a button and a row of buttons.
Cards, figures, quotes, logos and lists with checks.
Numbered steps, and answers behind a fold.
Facts, directory trees, diagrams, swatches and registers.
Badges, states, anchors and ids in a line of text.
The parts of a paper, its decisions and its slides.
Raw markup, examples that print themselves, and rendered cards.
Bands, the hero, splits, grids and the page field.
The call to action, a button and a row of buttons.
Cards, figures, quotes, logos and lists with checks.
Numbered steps, and answers behind a fold.
Facts, directory trees, diagrams, swatches and registers.
Badges, states, anchors and ids in a line of text.
The parts of a paper, its decisions and its slides.
Raw markup, examples that print themselves, and rendered cards.
sds-hero.sds-band.sds-split.sds-stacksds-grid| Written | What it is for | Draws |
|---|---|---|
| layout | a field, not a directive: which of the two shapes the page takes | — |
| hero, hero-figure | the opening claim of a page, its press, and one image or what stands beside it | sds-hero |
| band | a full-bleed section of a landing page, and everything after it | .sds-band |
| split | two of anything, side by side until there is no room for two | .sds-split |
| half | one side of a split, where that side is several blocks | .sds-stack |
| grid | a set read side by side, reflowed by its own minimum width | sds-grid |
sds-ctasds-button.sds-actions| Written | What it is for | Draws |
|---|---|---|
| cta | the one thing a reader can do next: what they get, and the press | sds-cta |
| button | one press, and where it goes | sds-button |
| button-bar | the presses of a page, in one row | .sds-actions |
sds-cardsds-statsds-surfacesds-quotesds-bylinesds-figuresds-checkssds-logos| Written | What it is for | Draws |
|---|---|---|
| card | a way into something: a title that goes somewhere, and what is behind it | sds-card |
| stat | one number as a fact | sds-stat |
| surface | one filled plane, with a statement in place | sds-surface |
| quote | a sentence from somewhere else, with its source | sds-quote |
| byline | who wrote the page, and when | sds-byline |
| figure | a picture with its caption, in a frame or plain | sds-figure |
| checks | a list whose items each carry a check | sds-checks |
| logos, logo | a wall of marks, each in the ink of the page | sds-logos |
sds-stepssds-accordion| Written | What it is for | Draws |
|---|---|---|
| steps, step | an instruction read from the top, numbered down one rail | sds-steps |
| accordion, accordion-item | questions with their answers folded behind them | sds-accordion |
sds-factssds-tablesds-treesds-diagramsds-swatchsds-register| Written | What it is for | Draws |
|---|---|---|
| facts | a block of facts, scanned down the terms | sds-facts |
| table | a table with a title, and a role for each column | sds-table |
| directory-tree | a directory, in the shape it has on disk | sds-tree |
| diagram | a drawing, written as the text that describes it | sds-diagram |
| swatch | one colour of a palette: the chip, its name, its value | sds-swatch |
| register, entry | a list a reader cites: numbered, addressed, and the work it asks for | sds-register |
sds-badgesds-iconsds-decisionsds-slide| Written | What it is for | Draws |
|---|---|---|
| part | where a part of a paper begins | what the paper reads |
| outline | the short name the outline gives the next section | what the paper reads |
| decision, answer | the question a concept puts, and the answers it can take | sds-decision |
| slide | one frame of a deck, in the text of a paper | sds-slide |
sds-code in .sds-examplesds-embedEach of them draws an element of this system and takes that element's own
options, spelt the way the element spells them. So href links and
src takes a file here as everywhere else, and what a component gains,
the directive gains with it. Every section of these pages names the element
it draws, and Components is that element's reference.
Every example in these pages stands once: the block is the body that drew
the thing under it, which is what example is for.