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

fontSize themeVariable setting is ignored #6142

Open
t-ir opened this issue Dec 19, 2024 · 0 comments
Open

fontSize themeVariable setting is ignored #6142

t-ir opened this issue Dec 19, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@t-ir
Copy link

t-ir commented Dec 19, 2024

Description

The erDiagram below appears with writing that is too small to read regardless of the value supplied for fontSize. There's no obvious effect on flowDiagrams either. I am using a 4k monitor.

Steps to reproduce

%%{
init:
{
'theme': 'base',
'themeVariables' :
{
'fontSize' : 100
}
}
}%%
erDiagram
a ||--|| b : x
b ||--|| c : x
c ||--|| d : x
d ||--|| e : x
e ||--|| f : x
f ||--|| g : x
g ||--|| h : x
h ||--|| i : x
i ||--|| TextTooSmallToReadEasily : x

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version: 11.3.0
  • Browser and Version: Edge 131.0.2903.86 (Official build) (64-bit)

Suggested Solutions

No response

Additional Context

No response

@t-ir t-ir added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant