Skip to content

Conversation

@ksen0
Copy link
Member

@ksen0 ksen0 commented Dec 9, 2025

Applying #1044 to 2.0 branch

  • Installed astro mermaid

  • Fixed title for mermaid by adding jsx line to print title above diagram

  • Trying to split single line title into three lines hoping github will understand them

  • This is my third attempt, trying to use a html solution without font size but rather h4, because git doesnt recognize font size either

  • Try Add example markdown files for collections #4, adding a space between title and mermaid text

  • Revert "Installed astro mermaid"

This reverts commit e32991e.

  • Installed astro mermaid

  • Removed html fix for title, and use mermaid's class chart built in title support

  • Removed Html Line from Main branch (unneeded for current install)

  • Revert "Merge branch 'main' into hien"

This reverts commit 1b67d8f, reversing changes made to 4b9274c.

  • installed astro mermaid

  • removed some typo

  • removed some typo

  • The MDX file includes two Mermaid diagrams—one for light mode and one for dark—because Mermaid diagrams are rendered at build time and can’t switch themes dynamically. Each version is wrapped in its own container using a html script, and CSS rules in global.scss hide or show the appropriate diagram depending on whether the .dark-theme class is active. This ensures users always see a diagram that matches their current theme

  • Dark Diagram deleted and diagram set to default options

  • Deleted css options for the dark mode diagram

  • Undid unnecessary changes to these 2 files

  • Trying to remove changes on web_gl file

  • added invert filter for darkmode diagrams


* Installed astro mermaid

* Fixed title for mermaid by adding jsx line to print title above diagram

* Trying to split single line title into three lines hoping github will understand them

* This is my third attempt, trying to use a html solution without font size but rather h4<small>, because git doesnt recognize font size either

* Try #4, adding a space between title and mermaid text

* Revert "Installed astro mermaid"

This reverts commit e32991e.

* Installed astro mermaid

* Removed html fix for title, and use mermaid's class chart built in title support

* Removed Html Line from Main branch (unneeded for current install)

* Revert "Merge branch 'main' into hien"

This reverts commit 1b67d8f, reversing
changes made to 4b9274c.

* installed astro mermaid

* removed some typo

* removed some typo

* The MDX file includes two Mermaid diagrams—one for light mode and one for dark—because Mermaid diagrams are rendered at build time and can’t switch themes dynamically. Each version is wrapped in its own container using a html script, and CSS rules in global.scss hide or show the appropriate diagram depending on whether the .dark-theme class is active. This ensures users always see a diagram that matches their current theme

* Dark Diagram deleted and diagram set to default options

* Deleted css options for the dark mode diagram

* Undid unnecessary changes to these 2 files

* Trying to remove changes on web_gl file

* added invert filter for darkmode diagrams

---------

Co-authored-by: Hien-Ly <[email protected]>
Co-authored-by: Jaime Serrano Acevedo <[email protected]>
@ksen0 ksen0 merged commit 3cdf8d7 into 2.0 Dec 9, 2025
4 checks passed
@ksen0 ksen0 deleted the 1044-20 branch December 9, 2025 22:20
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.

3 participants