Skip to content

feat(web-ui): theme-aware code preview Prism and editor polish#223

Merged
GCWing merged 1 commit intogcwing/devfrom
feat/flowchat-thinking-markdown-scroll-fade
Mar 22, 2026
Merged

feat(web-ui): theme-aware code preview Prism and editor polish#223
GCWing merged 1 commit intogcwing/devfrom
feat/flowchat-thinking-markdown-scroll-fade

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented Mar 22, 2026

Summary

  • Flow chat embedded code blocks use a shared Prism theme helper: light surfaces get oneLight, dark surfaces keep vscDarkPlus, with transparent backgrounds and --markdown-font-mono alignment.
  • CodePreview and InlineDiffPreview both consume the shared styles; small SCSS tweaks for consistency.
  • Nav panel and persistent footer actions adjusted for layout/behavior.
  • Meditor Tiptap inline AI composer: slightly smaller input/icons and expanded SCSS for the inline AI UI.

Files

  • src/web-ui/src/flow_chat/components/codePreviewPrismTheme.ts (new)
  • src/web-ui/src/flow_chat/components/CodePreview.tsx / .scss
  • src/web-ui/src/flow_chat/components/InlineDiffPreview.tsx / .scss
  • src/web-ui/src/app/components/NavPanel/NavPanel.scss
  • src/web-ui/src/app/components/NavPanel/components/PersistentFooterActions.tsx
  • src/web-ui/src/tools/editor/meditor/components/TiptapEditor.tsx / .scss

- Add shared codePreviewPrismTheme (oneLight / vscDarkPlus) and markdown mono font for CodePreview and InlineDiffPreview

- Tweak NavPanel layout and PersistentFooterActions

- Refine Tiptap inline AI composer sizing and styles
@GCWing GCWing merged commit 0152194 into gcwing/dev Mar 22, 2026
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