Spell Circle
Current default. Subtle navy veil, rotating gold rings, orbiting motes, and visible Loading text.
Loading...
Local Reference
A local-only kitchen sink for theme-owned patterns: hero modes, page loaders, button roles, dividers, cards, badges, forms, empty states, and atmospheric treatments.
Local MAMP reference only. Keep this page out of production exports and update it whenever a reusable Divine Realm theme pattern changes.
Open WooCommerce ComponentsMotion
Static specimens for the current production loader and opt-in variants. Production navigation still injects the loader only during eligible internal page transitions.
Page Transition Loader.drb-page-transition.drb-page-transition--compact-spell.drb-page-transition--brand-sealscss/components/_page-transition-loader.scssCurrent default. Subtle navy veil, rotating gold rings, orbiting motes, and visible Loading text.
Loading...
A smaller, quieter version of the default spell circle with Loading text tucked underneath.
Loading...
Separate archived variant inspired by the store mark: stars, double ring, and open-book hints.
Loading...
Interaction
Semantic role modifiers control typography and scale, while primary, secondary, and outline remain independent color variants.
Pattern: Divine ButtonRoles: .divine-button--section-anchor, .divine-button--commerceVariants: .divine-button--primary, .divine-button--secondary, .divine-button--outlineSCSS: scss/components/_buttons.scssReference: docs/20-reference/THEME-STYLE-GUIDE.mdPage Hierarchy
Compact reference specimens for choosing the correct page-opening treatment. These cards document hierarchy without duplicating full production heroes.
Threshold Hero: homepage onlyRealm Section Hero: section and landing gatewaysUtility Hero: search and 404 recoveryCommerce / Transactional Header: cart, checkout, account, and order statesReference: docs/20-reference/THEME-STYLE-GUIDE.mdHomepage Gateway
The most immersive invitation into the bookstore, with discovery-first search and selective editorial actions.
.drb-home-hero-alternative
Section Gateway
Establishes the identity of Books, Events, About, Beyond, shelf, and collection landing pages.
.drb-books-hero / .drb-shop-hero
Task And Recovery
A compact, state-first introduction for product search, general search, no-results, and 404 recovery.
.drb-shop-archive--product-search / .drb-not-found-hero
High-Intent Flow
A restrained practical header for Cart, Checkout, My Account, and order states where clarity comes first.
.drb-transactional-header
Books
Static references for the reusable WooCommerce book-cover treatment, including the canonical no-cover fallback and contained placeholder behavior.
Pattern: Book CoverClasses: .drb-book-cover, .drb-book-cover__image, .has-placeholder-imageSCSS: scss/components/_book-cover.scssTemplate: template-parts/woocommerce/book-cover.phpFallback: assets/images/store/No-Cover-Image-Available.webp
Uses the standard 2:3 frame and cover crop behavior.
Theme-owned fallback for products without a WooCommerce product image.
Placeholder-style artwork should contain rather than crop awkwardly.
WooCommerce Display
Static, inert examples of the current WooCommerce card classes. These do not query products, add to cart, or navigate to product pages.
Pattern: Product CardsClasses: .drb-product-card--collection, .drb-product-card--category, .drb-product-badgeSCSS: scss/components/_product-card.scss, scss/components/_book-cover.scssTemplates: template-parts/woocommerce/collection-book-card.php, category-book-card.php, book-cover.php, product-badges.php
A polished editorial card for featured rows and curated collections.
Storefront
Theme Cards / Dividers.drb-theme-guide__feature-card.drb-theme-guide__event-card.drb-theme-guide__dividerscss/pages/_theme-style-guide.scssShelf Card
Use this rhythm for small editorial blocks, store pathways, and calm internal prompts.
Atmospheric Card
Dark surface, gold lift, restrained rose accent, and enough contrast for repeated scanning.
Event Card
Friday, 7:00 PM - In store
State
Theme Surfaces.drb-theme-guide__notice.drb-theme-guide__notice--info.drb-theme-guide__emptyUse this when a collection, event list, or search result needs a calm empty state.
Structure
Compact source map for the theme-owned shell. This guide does not recreate the full header or footer because those are live site components.
Pattern: Site ShellHeader: components/navbar.php, scss/components/_navbar.scssFooter: components/footer.php, scss/components/_footer.scssJS: assets/js/main.jsUtilities: Search, Account, Cart; active launch storefront is dark-onlycomponents/navbar.php.main-navigation, .drb-nav-action, .drb-books-megacomponents/footer.phpscss/components/_footer.scssTheme Pattern
Use this pattern when structured information needs to stay readable on dark Divine Realm surfaces.
Theme Tables.drb-theme-guide__table-wrap.drb-theme-guide__table.drb-theme-guide__statusscss/pages/_theme-style-guide.scss| Shelf / Category | Example Use | Status | Items | Notes |
|---|---|---|---|---|
| Cozy Fantasy | Category archive QA | Checked | 24 | Use for shelf inventory or comparison rows. |
| Pre-Orders | Launch checklist reference | Watch | 8 | Keep date, stock, and badge states easy to scan. |
| Local Events | Event policy or schedule table | Draft | 3 | Wrapper keeps horizontal scroll inside the specimen. |
Inputs
Theme Forms.drb-theme-guide__form.drb-theme-guide__choice-group.drb-theme-guide__field-error[data-drb-static-example-form]Maintenance
Local Reference Links.drb-theme-guide__reference-listtemplate-theme-style-guide.phpdocs/20-reference/THEME-STYLE-GUIDE.mdThis paragraph shows the default body copy treatment for the Divine Realm Books theme.
Strong text, emphasized text, and inline links should remain readable and distinct.
Stories are doors. Some open quietly. Some open with a little magic.
Inline code example: add_theme_support( 'woocommerce' );
.divine-realm-example {
color: var(--drb-color-gold);
background: var(--drb-color-navy);
}
| Title | Shelf | Status |
|---|---|---|
| Stolen Embers | Dark Fantasy | In stock |
| Throne of Nightmares | Fantasy Romance | Featured |
| Test Book | Pre-order | Coming soon |
This article block can test long-form content rhythm inside the theme.

Inline span text,
ACF,
and keyboard input like Tab should all render cleanly.