Skip to content

Commit c2081fe

Browse files
Version Packages (#17)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d61c771 commit c2081fe

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.changeset/diagram-color-theme.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @k11k/better-blocks-astro-renderer
22

3+
## 0.5.1
4+
5+
### Patch Changes
6+
7+
- [#16](https://github.com/k11k-labs/better-blocks-astro-renderer/pull/16) [`d61c771`](https://github.com/k11k-labs/better-blocks-astro-renderer/commit/d61c77174d9534a12b3c0dcaf53c081d7d8af3c4) Thanks [@kkukielka](https://github.com/kkukielka)! - Render Mermaid diagrams in color. Previously diagrams were passed to `beautiful-mermaid` with no palette, so every color was derived from a single dark foreground and the output looked monochrome. They now default to a palette that mirrors mermaid.js's familiar look (lavender node fills, purple borders, dark edges), and a new `diagramTheme` prop on `BlocksRenderer` accepts either a built-in theme name (`github-light`, `github-dark`, `dracula`, `nord`, `tokyo-night`, …) or a custom color object (`{ bg, fg, line, accent, muted, surface, border }`). The theme also propagates to diagrams nested inside `callout` and `details` blocks.
8+
39
## 0.5.0
410

511
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@k11k/better-blocks-astro-renderer",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "Astro renderer for Strapi v5 Blocks content with full Better Blocks plugin support — colors, tables, to-do lists, media embeds, alignment, and more. Native Astro components, zero client-side JavaScript.",
55
"type": "module",
66
"types": "./index.ts",

0 commit comments

Comments
 (0)