Commit cab4b4a6 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Regenerate favicons with new colour names and no old formats

parent c1c176cd
{{- /* look in static folder to see if favicon files exist, if they do, link to them using the relevant meta */ -}}
{{- /* look in static folder to see if overriding favicon files exist, if they do, link to them using the relevant meta */ -}}
{{- /* if they don’t, use a colour themed default icon */ -}}
{{- /* get the theme colour */ -}}
......@@ -23,8 +23,15 @@ https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-mo
{{- /* get the theme colour’s corresponding favicon folder */ -}}
{{ $faviconFolder := $colourTheme }}
{{- /* 32x32 favicon.ico (may be downscaled to 16x16) */ -}}
{{- /* no need to detect for overriding favicon.ico, if one is saved into .hugo/static, it will override the favicon.ico in starter-theme/static */ -}}
{{- /* the theme’s default favicon.ico is greyscale, fancier browsers that support favicon.svg will get a theme-colour/darkmode/lightmode corresponding version generated */ -}}
<link rel='icon' href='favicon.ico'>
{{- /* pull in web manifest file */ -}}
{{- $webmanifest := resources.Get "favicons/site.webmanifest" }}
{{- $webmanifestFile := $webmanifest | resources.ExecuteAsTemplate "site.webmanifest" . }}
<link rel='manifest' href='{{ $webmanifestFile.RelPermalink }}'>
{{- /* if there’s a site.manifest in .hugo/static, it will override this generated manifest */ -}}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>ashBeige/favicon</title>
<g id="ashBeige" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#B7A498" id="disc---ashBeige" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>seaBlue/favicon</title>
<g id="seaBlue" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#6297A6" id="disc---seaBlue" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>oliveGreen/favicon</title>
<g id="oliveGreen" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#99A662" id="disc---oliveGreen" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>steelGrey/favicon</title>
<g id="steelGrey" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#899999" id="disc---steelGrey" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>limeGreen/favicon</title>
<g id="limeGreen" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#C1C64C" id="disc---limeGreen" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>amberOrange/favicon</title>
<g id="amberOrange" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#D47D42" id="disc---amberOrange" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>lilacPink/favicon</title>
<g id="lilacPink" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#C299A5" id="disc---lilacPink" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>lavenderBlue/favicon</title>
<g id="lavenderBlue" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#8E93B2" id="disc---lavenderBlue" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>plumPink/favicon</title>
<g id="plumPink" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g fill="#C76A70" id="disc---plumPink" transform="translate(2.000000, 2.000000)">
<circle cx="48" cy="48" r="48"></circle>
</g>
</g>
</svg>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment