Skip to content

Commit 14391ec

Browse files
author
James Brundage
committed
style: Updating Logo ( Fixes #21 )
Adding Hexagon
1 parent 79ce2d4 commit 14391ec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Build/GQL.PSSVG.ps1

+9
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,21 @@ foreach ($variant in '','Animated') {
8686
) -ViewBox 0, 0, 200, 200 -TransformOrigin 50%, 50%
8787
)
8888

89+
$shapeSplat = [Ordered]@{
90+
CenterX=(1080/2)
91+
CenterY=(1080/2)
92+
Radius=((1080 * .15) /2)
93+
}
94+
95+
8996
svg -Content @(
9097
SVG.GoogleFont -FontName $fontName
9198
$symbolDefinition
9299
SVG.Use -Href '#PowerShellWeb' -Height 60% -Width 60% -X 20% -Y 20%
93100
# svg.use -Href '#psChevron' -Y 75.75% -X 14% @fillParameters -Height 7.5%
94101
# svg.use -Href '#psChevron' -Y 75.75% -X 14% @fillParameters -Height 7.5% -TransformOrigin '50% 50%' -Transform 'scale(-1 1)'
102+
SVG.Hexagon @shapeSplat -StrokeWidth .5em -Stroke '#4488FF' -Fill 'transparent' -Class 'foreground-stroke'
103+
# SVG.ConvexPolygon -SideCount 3 @shapeSplat -Rotate 180 -StrokeWidth .25em -Stroke '#4488FF' -Fill 'transparent' -Class 'foreground-stroke' -Opacity .3
95104
SVG.text -X 50% -Y 80% -TextAnchor middle -FontFamily $fontName -Style "font-family:`"$fontName`",sans-serif" -FontSize 4.2em -Fill '#4488FF' -Content 'GQL' -Class 'foreground-fill' -DominantBaseline middle
96105
) -OutputPath $outputPath -ViewBox 0, 0, 1080, 1080
97106
}

0 commit comments

Comments
 (0)