Pages and menus
Whole pages with their menus and footers. The theme switch at the top changes every preview.
Three outfits, one wardrobe
Every layout is built only from wg.css and the tokens. Website is the Met Gala, interface is jeans and a t-shirt, academic is a suit. Take the source, keep the structure, change the words.
Website: home page
Header with menu, hero, text bands, a split with a cut-out image, case study cards, a call to action and the footer. The menu folds into a button below 48rem.
Website: post
The same header and footer around an article: standfirst, byline, lead image, prose and links to the next posts.
Interface: app shell
Top bar, side navigation, page heading with actions, tabs, filters, a table with status badges and an empty state. New project opens the dialog; creating one shows the toast.
Academic: paper
Title block, abstract, prose, a numbered figure and table, references with hanging indents. No Lichen, no Sulfur at rest.
Classes
| Layout | Classes |
|---|---|
| Website | .wg-site-header, .wg-nav, .wg-menu-button, .wg-hero, .wg-band, .wg-split, .wg-cta, .wg-site-footer, .wg-legal |
| Post | .wg-post, .wg-post-head, .wg-meta, .wg-prose, .wg-media, .wg-pager |
| Interface | .wg-app, .wg-app-bar, .wg-app-side, .wg-app-main, .wg-page-head, .wg-tabs, .wg-toolbar, .wg-empty, .wg-dialog, .wg-toast |
| Academic | .wg-paper, .wg-paper-head, .wg-authors, .wg-abstract, .wg-refs |
| Frames | .wg-frame with .is-slide, .is-square, .is-portrait, .is-story, .is-bleed, .has-media; .wg-frame-body, .wg-frame-foot, .wg-statement, .wg-lower-third |
| Shared | .wg-container, .wg-lead, .wg-logo |