Skip to content

Flowchart text color - #340

Merged
LauraLangdon merged 2 commits into
UC-OSPO-Network:mainfrom
scott-huberty:mermaid_text_color
Jun 30, 2026
Merged

Flowchart text color#340
LauraLangdon merged 2 commits into
UC-OSPO-Network:mainfrom
scott-huberty:mermaid_text_color

Conversation

@scott-huberty

Copy link
Copy Markdown
Contributor

The text inside flowchart on the get involved page ( https://ucospo.net/about/get-involved/ ) is not legible when viewing the site in dark mode:

Screenshot 2026-06-30 at 2 29 39 PM

This PR updates the CSS styling for flowchart text to use a gray color (instead of black), so that the diagram is legible in both light and dark modes! ( e9be4e5 )

Screenshot 2026-06-30 at 2 55 28 PM

I also noticed that the text color was being formatted both in the CSS directory and via inline styling. during local testing, it appears that the CSS overrides the inline color directive, so I removed it to keep things tidy and clear (1cb108a)

From local testing it appears that the CSS overrides the inline style, i.e. the color directive could have been set to purple #800080 and it would still appear as UC-OSPO-Network#222 (off-black) or whatever is defined in cusstom.css for mermaid text.

So I removed this so that it is clear that the flowchart text color is derived from the CSS file
@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for ucospo-net ready!

Name Link
🔨 Latest commit 1cb108a
🔍 Latest deploy log https://app.netlify.com/projects/ucospo-net/deploys/6a443cbd93bfbc000826afdb
😎 Deploy Preview https://deploy-preview-340--ucospo-net.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@scott-huberty scott-huberty changed the title Mermaid text color Flowchart text color Jun 30, 2026

@LauraLangdon LauraLangdon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much, @scott-huberty! 🙌🏻 I would have thought our a11y checker would have caught this, but maybe it's not looking at charts and so on. 🤔

@LauraLangdon
LauraLangdon merged commit d47a807 into UC-OSPO-Network:main Jun 30, 2026
7 of 8 checks passed
@scott-huberty
scott-huberty deleted the mermaid_text_color branch July 1, 2026 00:03
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.

2 participants