nextcloud / nextcloud/text

Mermaid: Provide custom theme

Open
#4,684 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop design enhancement
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

As a follow up to https://github.com/nextcloud/text/pull/4614 we should provide a custom mermaid.js theme to match the instance colors:

https://mermaid.js.org/config/theming.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the follow-up context in pull request 4614 and Mermaid's theming documentation. Define the instance-color mapping and verify that rendered Mermaid diagrams use the custom theme consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.