Skip to content

v0.10.0

Choose a tag to compare

@phamvanquyit phamvanquyit released this 05 Oct 02:22
· 97 commits to main since this release

Added

  • Logo with variant (icon | text | full) and face (pixel | jakarta). size sets the icon height. color recolors the mark and the wordmark; the eyes and the smile stay.
  • Typography, Text, Title, Paragraph, and Link. Titles use levels 1–5. Decorations include type, disabled, mark, code, keyboard, underline, delete, strong, and italic.
  • MarkdownViewer renders markdown for reading: headings, lists, tables, code, and mermaid. Agent replies use the same view.
  • ThemeSwitcher, setColorPreference, and getColorPreference. The stored choice is light, dark, or system. system follows the OS and still paints light or dark on <html>, under the same nonla-color-mode key.

Changed

  • .nonla-shimmer keeps the glyphs muted and sweeps a narrow highlight across the letters.

Upgrade notes

  • chatBodyClass, chatMarkdownClass, chatMarkdownComponents, createChatMarkdownComponents, and ChatMarkdownStreamState are no longer exported. Use ChatMarkdown or MarkdownViewer. MermaidBlock stays exported.
  • setColorMode("light" | "dark") still works. A stored system value in nonla-color-mode is now valid.