docs: fix secrets-lifecycle label backgrounds via labelBackgroundColor
Root cause was the edge's own labelBackgroundColor style property, left enabled with no explicit value in the app, distinct from the label's HTML text styling entirely. Set it explicitly to #1C1D1E, then stripped a competing plain-white background layer draw.io's export was still injecting on top of it.
This commit is contained in:
1 file changed
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Do not edit this file with editors other than draw.io -->
|
<!-- Do not edit this file with editors other than draw.io -->
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1312px" height="393px" viewBox="0 0 1312 393" id="ge-svg--V1X9sds1eUqciFZ7Vvy" content="<mxfile host="embed.diagrams.net" scale="1" border="0"> <diagram name="Secret Lifecycle" id="secret-lifecycle-1"> <mxGraphModel dx="1414" dy="791" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1340" pageHeight="620" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="agent" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Vault Agent&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;runs on the consuming host&lt;/font&gt;" vertex="1"> <mxGeometry height="90" width="200" x="40" y="260" as="geometry" /> </mxCell> <mxCell id="vault" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Vault&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;server&lt;/font&gt;" vertex="1"> <mxGeometry height="90" width="200" x="380" y="260" as="geometry" /> </mxCell> <mxCell id="disk" parent="1" style="shape=cylinder3;whiteSpace=wrap;html=1;fillColor=#F5F5F5;strokeColor=#666666;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;boundedLbl=1;" value="Local Disk&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;rendered file&lt;/font&gt;" vertex="1"> <mxGeometry height="110" width="160" x="620" y="250" as="geometry" /> </mxCell> <mxCell id="app" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Application" vertex="1"> <mxGeometry height="90" width="200" x="1140" y="260" as="geometry" /> </mxCell> <mxCell id="s1" edge="1" parent="1" source="agent" style="html=1;endArrow=block;strokeColor=#9673a6;fontColor=#9673a6;fontSize=11;rounded=1;edgeStyle=orthogonalEdgeStyle;exitX=0.3;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="vault" value="&lt;font style=&quot;font-size: 13px;&quot;&gt;① authenticate — AppRole (role_id + secret_id)&lt;/font&gt;"> <mxGeometry relative="1" x="0.0023" as="geometry"> <mxPoint as="offset" /> <Array as="points"> <mxPoint x="100" y="200" /> <mxPoint x="480" y="200" /> </Array> </mxGeometry> </mxCell> <mxCell id="s2" edge="1" parent="1" source="vault" style="html=1;endArrow=block;strokeColor=#9673a6;fontColor=#9673a6;fontSize=11;rounded=1;edgeStyle=orthogonalEdgeStyle;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.603;entryY=0.996;entryDx=0;entryDy=0;entryPerimeter=0;" target="agent" value="&lt;font style=&quot;font-size: 13px;&quot;&gt;② short-lived token issued, cached, auto-renewed&lt;/font&gt;"> <mxGeometry relative="1" x="-0.0012" as="geometry"> <mxPoint as="offset" /> <Array as="points"> <mxPoint x="480" y="375" /> <mxPoint x="160" y="375" /> <mxPoint x="160" y="349.6" /> </Array> </mxGeometry> </mxCell>Line truncated
|
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1312px" height="393px" viewBox="0 0 1312 393" content="<mxfile host="embed.diagrams.net" scale="1" border="0"> <diagram name="Secret Lifecycle" id="secret-lifecycle-1"> <mxGraphModel dx="1414" dy="791" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1340" pageHeight="620" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="agent" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Vault Agent&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;runs on the consuming host&lt;/font&gt;" vertex="1"> <mxGeometry height="90" width="200" x="40" y="260" as="geometry" /> </mxCell> <mxCell id="vault" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Vault&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;server&lt;/font&gt;" vertex="1"> <mxGeometry height="90" width="200" x="380" y="260" as="geometry" /> </mxCell> <mxCell id="disk" parent="1" style="shape=cylinder3;whiteSpace=wrap;html=1;fillColor=#F5F5F5;strokeColor=#666666;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;boundedLbl=1;" value="Local Disk&lt;br&gt;&lt;font style=&quot;font-size:11px&quot;&gt;rendered file&lt;/font&gt;" vertex="1"> <mxGeometry height="110" width="160" x="620" y="250" as="geometry" /> </mxCell> <mxCell id="app" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;fontSize=14;fontStyle=1;shadow=1;" value="Application" vertex="1"> <mxGeometry height="90" width="200" x="1140" y="260" as="geometry" /> </mxCell> <mxCell id="s1" edge="1" parent="1" source="agent" style="html=1;labelBackgroundColor=light-dark(#FFFFFF,#1C1D1E);endArrow=block;strokeColor=#9673a6;fontColor=#9673a6;fontSize=11;rounded=1;edgeStyle=orthogonalEdgeStyle;exitX=0.3;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="vault" value="&lt;font style=&quot;font-size: 13px;&quot;&gt;① authenticate — AppRole (role_id + secret_id)&lt;/font&gt;"> <mxGeometry relative="1" x="0.0023" as="geometry"> <mxPoint as="offset" /> <Array as="points"> <mxPoint x="100" y="200" /> <mxPoint x="480" y="200" /> </Array> </mxGeometry> </mxCell> <mxCell id="s2" edge="1" parent="1" source="vault" style="html=1;labelBackgroundColor=light-dark(#FFFFFF,#1C1D1E);endArrow=block;strokeColor=#9673a6;fontColor=#9673a6;fontSize=11;rounded=1;edgeStyle=orthogonalEdgeStyle;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.603;entryY=0.996;entryDx=0;entryDy=0;entryPerimeter=0;" target="agent" value="&lt;font style=&quot;font-size: 13px;&quot;&gt;② short-lived token issued, cached, auto-renewed&lt;/font&gt;"> <mxGeometry relative="1" x="-0.0012" as="geometry"> <mxPoint as="offset" /> <Array as="points"> <mxPoint x="480" y="375" /> <mxPoint x="160" y="375" /> <mxPoint x="160" y="349.6" /> </ArrayLine truncated
|
||||||
|
Before Width: | Height: | Size: 366 KiB After Width: | Height: | Size: 366 KiB |
Reference in new issue
Block a user