Skip to content

Pattern library + RISE theme#198

Merged
acobster merged 112 commits intomainfrom
feature/pattern-library
Mar 12, 2026
Merged

Pattern library + RISE theme#198
acobster merged 112 commits intomainfrom
feature/pattern-library

Conversation

@acobster
Copy link
Contributor

@acobster acobster commented Jan 10, 2026

Implements #196.

This establishes a convention of each theme implementing its own PatternLibrary. Introduces the RISE theme, bread's default UI layer, and referencing the rise/PatternLibrary var directly from the /_/patterns route in main.clj.

This PR also:

  • Creates some abstractions in the theme ns for building up a pattern library for custom themes. Docs for this API are out of scope for now.
  • Adds highlight.js for syntax highlighting Clojure and HTML on this and future pattern library pages.
  • Includes support for switching between viewing the rendered Hiccup and the rendered HTML Add affordance for switching between viewing Hiccup and HTML in docs #199
  • Ports existing CMS UI to the RISE theme
  • Documents existing components in RISE's pattern library (mostly)
  • Fixes several bugs

@acobster acobster force-pushed the feature/pattern-library branch from ba571ff to d3ba8c0 Compare January 17, 2026 07:09
@acobster acobster merged commit 501a01b into main Mar 12, 2026
4 checks passed
@acobster acobster deleted the feature/pattern-library branch March 12, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant