From 6d624405887f8f62878b1e2d2079fbbb8fab4c77 Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Wed, 17 May 2023 04:49:36 +0200 Subject: [PATCH] Finishing the preview branding. --- lib/OwlcodeTech/Preview.pm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lib/OwlcodeTech/Preview.pm b/lib/OwlcodeTech/Preview.pm index 4991f63..c12350c 100644 --- a/lib/OwlcodeTech/Preview.pm +++ b/lib/OwlcodeTech/Preview.pm @@ -53,18 +53,25 @@ sub _GenerateSVGPreviewHeaderBar ( $self, $svg, $group, $site_name ) { y => 0, width => 1200, height => 50, - style => { fill => 'blueviolet' } + style => { fill => '#5C8CED' } ); $group->rect( x => 0, y => 50, width => 1200, height => 627, - style => { fill => '#F8F8FF' } + style => { fill => 'ghostwhite' } ); my $owlcode_logo_png = path( $self->_ToPng($OWLCODE_LOGO) ); - $group->image( + $group->rect( + x => 10, + y => 5, + width => 40, + height => 40, + style => { fill => 'ghostwhite' }, + ); + $group->image( x => 10, y => 5, width => 40, @@ -75,7 +82,7 @@ sub _GenerateSVGPreviewHeaderBar ( $self, $svg, $group, $site_name ) { $group->text( x => 60, y => 40, - style => { 'font-size' => 50, fill => '#f2eb8c' } + style => { 'font-size' => 50, fill => 'azure' } )->cdata($site_name); }