Make background of ERD transparent

This commit is contained in:
Peter Stockings
2026-01-30 18:47:26 +11:00
parent ec12072a33
commit b6443bc1e2
3 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ class Schema:
def generate_mermaid_er(self, schema_info):
"""Generates Mermaid ER diagram code from schema info."""
mermaid_lines = [
"%%{init: {'theme': 'default', 'themeCSS': '.er.entityBox { fill: none; } .er.attributeBoxEven { fill: none; } .er.attributeBoxOdd { fill: none; }'}}%%",
"%%{init: {'theme': 'default', 'themeCSS': '.er.entityBox { fill: transparent !important; } .er.attributeBoxEven { fill: transparent !important; } .er.attributeBoxOdd { fill: transparent !important; }'}}%%",
"erDiagram"
]