Skip to content

Commit

Permalink
style: WebSocket Logo ( Fixes #5 )
Browse files Browse the repository at this point in the history
Anchoring only text to middle
  • Loading branch information
James Brundage committed Nov 27, 2024
1 parent c7c8df1 commit 789efd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Build/WebSocket.PSSVG.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ foreach ($variant in '','Animated') {
Style="font-family:`"$fontName`",sans-serif"
Fill='#4488FF'
Class='foreground-fill'
DominantBaseline='middle'
TextAnchor='middle'
DominantBaseline='middle'
}

svg -Content @(
Expand All @@ -102,6 +101,6 @@ foreach ($variant in '','Animated') {
SVG.Use -Href '#PowerShellWeb' -Height 60% -Width 60% -X 20% -Y 20%
SVG.Text -X 42% -Y 50% @TextSplat -Content '||'
SVG.Text -X 54% -Y 50% @TextSplat -Content '||'
SVG.text -X 50% -Y 80% @TextSplat -Content 'WebSocket'
SVG.text -X 50% -Y 80% @TextSplat -Content 'WebSocket' -TextAnchor 'middle'
) -OutputPath $outputPath -ViewBox 0, 0, 1080, 1080
}

0 comments on commit 789efd6

Please sign in to comment.