Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: #4905 change shiki theme to github-light #4924

Conversation

raiman264
Copy link
Contributor

📑 Summary

Changes the theme of shiki to github-light in order to propertly show all text with the light background
another way around could be to change the code block background to a darker one,
please let me know if you prefer it that way.

Resolves #4905

📏 Design Decisions

Describe the way your implementation works or what design decisions you made if applicable.

before / after
image

📋 Tasks

Make sure you

@netlify
Copy link

netlify bot commented Oct 7, 2023

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit 0075538
🔍 Latest deploy log https://app.netlify.com/sites/mermaid-js/deploys/654c96343508a70008dfe7f6
😎 Deploy Preview https://deploy-preview-4924--mermaid-js.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 site configuration.

@codecov
Copy link

codecov bot commented Oct 7, 2023

Codecov Report

Merging #4924 (8db9700) into master (c117447) will decrease coverage by 32.46%.
Report is 3 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #4924       +/-   ##
===========================================
- Coverage   75.34%   42.88%   -32.46%     
===========================================
  Files         164       23      -141     
  Lines       13820     5009     -8811     
  Branches      693       21      -672     
===========================================
- Hits        10412     2148     -8264     
+ Misses       3238     2860      -378     
+ Partials      170        1      -169     
Flag Coverage Δ
e2e ?
unit 42.88% <ø> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 160 files with indirect coverage changes

@huynhicode
Copy link
Member

@raiman264 Looks like there is a linting issue. Can you try running pnpm lint:fix?

@sidharthv96 sidharthv96 force-pushed the bug/4905_fix_code_block_unreadable_text branch from 3e12e84 to 8db9700 Compare November 9, 2023 08:07
@sidharthv96 sidharthv96 changed the base branch from develop to master November 9, 2023 08:08
@sidharthv96 sidharthv96 merged commit 4286372 into mermaid-js:master Nov 9, 2023
13 of 15 checks passed
Copy link

mermaid-bot bot commented Nov 9, 2023

@raiman264, Thank you for the contribution!
You are now eligible for a year of Premium account on MermaidChart.
Sign up with your GitHub account to activate.

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.

C4 examples highlight is unreadable
3 participants