Card title
Optional subtitle
Body content with optional footer below.
Reference for the pb-* utility and component classes. Tokens and fonts come from
variables.css (imported by parkerbarker.css), shared with the semantic stack.
Link the stylesheet, then the shared JS core and ParkerBarker entry. Call ParkerBarker.init() after DOMContentLoaded so fonts and enhancements run in step with the CSS fonts-ready behavior.
Use the minified CDN URLs from the README for production; parkerbarker.min.css inlines variables.css.
Match the home page: Parker in the serif stack (GT Ultra Fine) and Barker in the sans stack (GT Ultra Standard). Use pb-nav-brand on the link so size and weight stay consistent.
<!-- Nav brand (serif Parker + sans Barker; requires parkerbarker.css + variables webfonts) --> <a href="/" class="pb-nav-brand"><span class="pb-text-serif">Parker</span><span class="pb-text-sans">Barker</span></a> <!-- Optional: same split in a heading --> <h1 class="hero-title"><span class="pb-text-serif">Parker</span><span class="pb-text-sans">Barker</span> Style System</h1>
Customize css/variables.css: --core-* is the source of truth. Public --pb-* names alias those values so this sheet stays aligned with semantic.css.
Headings and body use GT Ultra via CSS defaults. Utility classes add display, quote, and caption treatments.
Subtitle style (.pb-subtitle)
Body copy uses the sans stack at base size.
Quote style with .pb-quote
Caption with .pb-caption
Center content with max-width utilities. Pair with horizontal padding via the container defaults.
Layout helpers follow a predictable prefix: pb-flex, pb-grid, justify/align utilities, and gap scales.
Wrap fields in .pb-form. Labels, inputs, validation, and custom checkbox/radio patterns are scoped there.
Default anchors pick up brand colors. Variants tune contrast for nav and footers.
Something you should know.
Saved successfully.
Optional subtitle
Body content with optional footer below.
.pb-card-clickable lifts on hover.
Spacing, display, borders, shadows, and text helpers use the pb- prefix. Examples:
Tooltips: add data-tooltip="Your hint" to supported elements (see stylesheet).
System dark preference can seed the UI; data-pb-theme-toggle flips the pb-dark-mode class on body. Pair with your own dark overrides or the built-in .pb-dark-mode variable overrides in CSS.
ParkerBarker.init() wires font loading, theme, toasts, forms, and optional iOS helpers. Public surface:
Load ui-core.js first; shared primitives live on ParkerBarkerCore.