Bootstrap 5.3 · RopeBreak.net design tokens · No JavaScript
Run the card.
Skip the script.
rb-bootstrap is a complete Bootstrap theme built from the
@ropebreak/design tokens — heritage navy, title-belt gold, program-paper cream — with every
JavaScript plugin replaced by native HTML and progressively enhanced CSS.
Token-first
Every Bootstrap variable maps to a RopeBreak.net token. The original --color-*,
--space-* and --radius-* names still resolve, aliased onto
--bs-*.
Light + dark
Follows prefers-color-scheme automatically, or pin a page or region with
data-bs-theme. Gold brightens from 700 to 500 when the lights go down.
Zero JavaScript
Modals, dropdowns, tabs, accordions, offcanvas, toasts, tooltips, popovers, carousels and
scrollspy run on <details>, <dialog>, the Popover
API, scroll-snap and scroll-driven animations.
Quick start
Link the compiled stylesheet. There is no script tag to add.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<link rel="stylesheet" href="node_modules/@ropebreak/bootstrap/dist/rb-bootstrap.min.css" />
</head>
<body>
<h1 class="display-4">WrestleMania III</h1>
<button class="btn btn-primary" popovertarget="hello">Pin it</button>
<dialog class="modal fade" popover id="hello">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">1 · 2 · 3.</div>
</div>
</div>
</dialog>
</body>
</html>
A taste
Dropdown
Main event
Intercontinental Championship
HTML
<div class="d-flex flex-wrap align-items-center gap-2 mb-4">
<button class="btn btn-primary" popovertarget="home-modal">Open modal</button>
<details class="dropdown">
<summary class="btn btn-outline-primary dropdown-toggle">Dropdown</summary>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#!">Action</a></li>
<li><a class="dropdown-item" href="#!">Another action</a></li>
</ul>
</details>
<button class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-title="Pure CSS tooltip">Hover me</button>
<span class="badge text-bg-gold">Champion</span>
</div>
<div class="accordion" style="max-width: 32rem">
<details class="accordion-item" name="home-acc" open>
<summary class="accordion-button">Main event</summary>
<div class="accordion-body">Hulk Hogan vs. André the Giant · Pontiac Silverdome · 93,173.</div>
</details>
<details class="accordion-item" name="home-acc">
<summary class="accordion-button">Intercontinental Championship</summary>
<div class="accordion-body">Ricky Steamboat defeats Randy Savage.</div>
</details>
</div>
<dialog class="modal fade" popover id="home-modal">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title h5">No JavaScript was harmed</h2>
<button type="button" class="btn-close" popovertarget="home-modal" popovertargetaction="hide" aria-label="Close"></button>
</div>
<div class="modal-body">This modal is a <code><dialog popover></code> opened by a <code>popovertarget</code> button.</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" popovertarget="home-modal" popovertargetaction="hide">Close</button>
</div>
</div>
</div>
</dialog>