Skip to main content

Theme Standards

Authored Text

KBI Theme Standards

Use this page as the canonical style reference when building pages in Elementor.

Color Palette

Primary #2A2F6F
Secondary #E7E7E7
Web Action #F89938
Accent #FFBE2F
Alert #C81E23

Typography

Font: Source Sans Pro

Header 1

44px, bold, #000000

Header 2

35px, bold, #000000

Header 3

20px, bold, #000000

Body text on white background. The quick brown fox jumps over the lazy dog.

20px, regular, #2B2B2B

Body text on navy blue background. The quick brown fox jumps over the lazy dog.

20px, regular, #FFFFFF

Body text on grey background. The quick brown fox jumps over the lazy dog.

20px, regular, #333333

Body text on grey background. Use sparingly. Reserved for emphasis.

20px, regular, #2A2F6F

Buttons & Links

Primary Button

Default Primary CTA

Navy background, white text

Hover Primary CTA

Orange background, navy text

Secondary Button

Default Primary CTA

White background, navy border and text

Hover Primary CTA

Orange background, navy text

Inline Link on White Background

Default

Body text with an inline link on white.

Hover

Body text with an inline link on white.

Navy text, underlined

Inline Link on Grey Background

Default

Body text with an inline link on grey.

Hover

Body text with an inline link on grey.

Navy text, underlined

Inline Link on Navy Background

Default

Body text with an inline link on navy.

Hover

Body text with an inline link on navy.

Web action orange (#F89938), underlined

Elementor Site Settings

These global tokens are synced automatically into Elementor. Authors can pick them from any color or typography control.

  • Site Settings → Design System → Global Colors: Primary (Navy), Secondary (Grey), Text, Accent (Sunflower), plus custom Web Action, Alert, and White
  • Site Settings → Design System → Global Fonts: Primary (H1), Secondary (H2), Text (Body), Accent (H3 / Buttons)
  • Site Settings → Theme Style → Typography: Body, link, H1, H2, and H3 defaults
  • Site Settings → Theme Style → Buttons: Primary CTA default and hover styles

Elementor CSS Class Reference

  • kbi-btn kbi-btn--primary - Primary CTA button (classic widgets / utility class)
  • kbi-btn kbi-btn--secondary - Secondary CTA button (classic widgets / utility class)
  • Atomic Button (e-button): Settings → Type → Primary or Secondary
  • Classic Button widget: Content → Type → Primary or Secondary
  • Accordion widgets: Content → KBI Style → Navy (filled blue headers) or Outlined (light header, navy border, 18px body — Careers Areas of Work). Optional Content → Show More: set how many items are visible and the button text.
  • Alert widget: Type → Information (primary navy), Warning (web action orange), Alert (imperial red), or Success; grey panel, 12px left accent, Source Sans Pro 20px. Content uses the rich text toolbar so you can add links without writing HTML.
  • Global Alerts (WP Admin → Global Alerts): Full-width site-wide alert bands injected between the header utility bar and the main navigation row. Title = heading, content = message, Type = Information (navy), Warning (orange), Alert (red), or Success (green); optional dismiss. Publish to show, Draft to hide; reorder multiple alerts via the Order field (Page Attributes).
  • Tabs: Atomic Tabs (e-tabs) or Nested Tabs widget — left-aligned navy-bordered tabs, full-width navy separator below, active tab filled navy, white content panel, Source Sans Pro 20px. Above 768px the tab row scrolls when it overflows the center column or the viewport.
  • KBI News widget: Pulls Media Releases by default (homepage and any other page that uses the widget). In the widget: Content → Default Card Image sets the stock photo for every card. To override one item, edit that Media Release and set News Card Image Override (the Featured Image box). Hidden releases stay out of the cards. More News should point at the Media Releases page. To use the original blog instead, set Content → Content Source to News Articles.
  • Breadcrumbs: Add shortcode
    via a Shortcode widget (or Theme Builder template). Parent pages build the trail automatically. Hide per page/post via Page Settings → KBI Breadcrumb Settings → Hide Breadcrumbs (or the KBI Breadcrumb Settings meta box in the block editor).
  • Page title: The Single Page template outputs the page title at the top when the hero is hidden. If the hero is enabled, the title is omitted because the hero already displays it.
  • Container / Flexbox → Layout → KBI Layout: Use Full Bleed Section for viewport-width background bands inside page content (content stays in the 1202px column). Use Site Column to center a section without full bleed.
  • kbi-content-column or kbi-site-column - Legacy CSS classes for centered 1202px columns; prefer the KBI Layout toggles above
  • kbi-link-on-white - Inline link on white backgrounds
  • kbi-link-on-grey - Inline link on grey backgrounds
  • kbi-link-on-primary - Inline link on navy backgrounds
  • kbi-bg-primary - Navy blue section background
  • kbi-bg-secondary - Grey section background
  • kbi-body-on-primary - Body copy on dark backgrounds
  • kbi-body-on-grey - Body copy on grey backgrounds
  • kbi-body-emphasis - Emphasis text color on grey

USWDS Hybrid Components

USWDS 3.x is compiled into this theme for gov-style components. Elementor remains the primary layout tool; use USWDS where you need accessible, standards-compliant markup.

  • Skip link: Output automatically on every page. Single, Single Page, and Single Post Theme Builder templates use <main id="main-content"> as the content wrapper.
  • Alerts:
  • Prose block:

    Rich text content

  • Contact Form 7: Forms receive usa-form classes automatically; submit buttons use usa-button usa-button--primary.
  • Build assets: From the child theme directory run npm run build (Node 20+). Commit compiled files in assets/uswds/ for WP Engine deploys.

Alert Example

This is my paragraph