这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG] Dark-mode doesn't properly work for graphs #520

@ghost

Description

Description

Thanks a lot for the frontend! I really like it and I think it'll the frontend I'll be use for my personal usage in the future. In the past I've tried Koala (BetterGPT fork), LobeChat, LibreChat, and some others.

Here's about the small bug itself:

If you use the diagram tool or ask the LLM to draw a diagram right in the chat, with dark mode you won't be able to see some of the diagram features.

Here's an example diagram:

@startuml
node "TypeScript Framework" as ts

node "C++ Engine Kernel" as cpp
node "TS Engine Kernel" as tsk

node "Native Platforms\niOS, Android, Mac, Windows, etc." as native
node "Web Platforms" as web  
node "Mini-Game Platforms" as minigame

ts --> cpp
ts --> tsk
cpp --> native
tsk --> web
tsk --> minigame
@enduml

I think there are two solutions for this problem - either find/create and use PlantUML/Mermaid dark themes, or always force light mode for diagrams (or via a toggle)

Device and browser

Arch Linux, latest Brave Browser, user-agent "Mozilla/5.0 (X11; U; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6295.214 Safari/537.36", same happens on Android 14 with Chrome.

Screenshots and more

Dark:
image
image

Light:
image
image

Willingness to Contribute

  • 🙋‍♂️ Yes, I would like to contribute a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions