mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-29 08:05:49 +00:00
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:
@@ -10,9 +10,9 @@
|
||||
<h>40</h>
|
||||
</coordinates>
|
||||
<panel_attributes>Delete automatically
|
||||
bg=#e1e4e8
|
||||
fg=#23292f
|
||||
lt=..</panel_attributes>
|
||||
bg=light_gray
|
||||
lt=..
|
||||
transparency=0</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<element>
|
||||
@@ -39,8 +39,8 @@ m2=newest</panel_attributes>
|
||||
<h>40</h>
|
||||
</coordinates>
|
||||
<panel_attributes>Keep if available
|
||||
bg=#999da2
|
||||
fg=#f5f7f9
|
||||
bg=dark_gray
|
||||
fg=white
|
||||
transparency=0</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
@@ -53,9 +53,8 @@ transparency=0</panel_attributes>
|
||||
<h>40</h>
|
||||
</coordinates>
|
||||
<panel_attributes>Backfill if possible
|
||||
bg=#1db4ff
|
||||
transparency=0
|
||||
fg=#f5f7f9</panel_attributes>
|
||||
bg=green
|
||||
transparency=0</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<element>
|
||||
@@ -140,9 +139,9 @@ style=wordwrap</panel_attributes>
|
||||
<h>40</h>
|
||||
</coordinates>
|
||||
<panel_attributes>Delete automatically
|
||||
bg=#e1e4e8
|
||||
fg=#23292f
|
||||
lt=..</panel_attributes>
|
||||
bg=light_gray
|
||||
lt=..
|
||||
transparency=0</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<element>
|
||||
@@ -165,9 +164,8 @@ lt=..</panel_attributes>
|
||||
<h>40</h>
|
||||
</coordinates>
|
||||
<panel_attributes>Backfill if possible
|
||||
bg=#1db4ff
|
||||
transparency=0
|
||||
fg=#f5f7f9</panel_attributes>
|
||||
bg=green
|
||||
transparency=0</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<element>
|
||||
|
||||
Reference in New Issue
Block a user