Support theme-aware diagrams:

- SVG diagrams can adapt to the visual theme of the site through CSS.
- Use the include_svg filter to include a diagram that adapts to the
  theme.
- The styles/_diagrams.scss file controls the color mappings for
  theme-aware digrams.
- Theme-aware diagrams are limited to specific colors and diagram
  styles. Use UMLet or Google Draw and confirm that the diagram is still
  legible when you build it.
- This commit updates existing diagrams in most places to be
  theme-aware.
This commit is contained in:
mDuo13
2020-08-05 20:49:10 -07:00
parent 7bbf5b309c
commit 72002fd773
113 changed files with 8861 additions and 3068 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="13.2">
<diagram program="umlet" version="14.2">
<zoom_level>10</zoom_level>
<element>
<id>UMLUseCase</id>
@@ -119,7 +119,7 @@ $2</panel_attributes>
<panel_attributes>Invalid path
(Cannot ripple)
bg=red
</panel_attributes>
transparency=0</panel_attributes>
<additional_attributes/>
</element>
<element>
@@ -239,6 +239,7 @@ $2</panel_attributes>
<panel_attributes>Valid path
(Rippling possible)
bg=green
transparency=0
</panel_attributes>
<additional_attributes/>
</element>
@@ -441,6 +442,7 @@ $100
<panel_attributes>Valid path
(Rippling possible)
bg=green
transparency=0
</panel_attributes>
<additional_attributes/>
</element>
@@ -455,6 +457,7 @@ bg=green
<panel_attributes>Valid path
(Rippling possible)
bg=green
transparency=0
</panel_attributes>
<additional_attributes/>
</element>
@@ -468,7 +471,9 @@ bg=green
</coordinates>
<panel_attributes>This path is valid
because Daniel, but not Emily, has set the No Ripple flag on the trust line between them
bg=yellow</panel_attributes>
bg=yellow
style=wordwrap
transparency=0</panel_attributes>
<additional_attributes/>
</element>
</diagram>