Fix: separate favicons for dark/light mode

main
boban 2026-04-19 04:20:02 +02:00
parent 53f3e60044
commit 4a10c71c89
2 changed files with 66 additions and 1 deletions

View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 119.1 119.1" style="color:#ffffff">
<!-- Generator: Adobe Illustrator 30.0.0, SVG Export Plug-In . SVG Version: 2.1.1 Build 123) -->
<defs>
<style>
@media (prefers-color-scheme: dark) {
:root { color: #ffffff; }
}
.st0 {
fill: none;
}
.st1 {
letter-spacing: .8em;
}
.st1, .st2 {
font-family: Geometos, Geometos;
font-size: 12px;
fill: #ffffff;
}
.st2 {
letter-spacing: .5em;
}
.st3 {
fill: #8f5a4d;
opacity: .6;
}
.st4 {
fill: #ffffff;
}
</style>
</defs>
<text class="st1" transform="translate(185.6 -114.1)"><tspan x="0" y="0">AI PRODUCTIVITY ASSISTANT</tspan></text>
<path class="st4" d="M539.8-163.9v-1.4h0c0,1.5,0,2.9.2,4.2,0-.9-.1-1.8-.1-2.7ZM576.6-137.1h-1"/>
<path class="st4" d="M329.5-210.5v8.4c0,.8-.3,1.6-.8,2.2l-.8,1-14.5,16.8c-.6.7-1.6,1.2-2.6,1.2h-10.6c-2.9,0-4.5-3.4-2.6-5.6l10.7-12.3h-37.4c-1.9,0-3.4-1.5-3.4-3.4v-8.2c0-1.9,1.5-3.4,3.4-3.4h55.2c1.9,0,3.4,1.5,3.4,3.4Z"/>
<rect class="st4" x="343.7" y="-213.9" width="15" height="26" rx="-80.9" ry="-80.9"/>
<rect class="st4" x="343.7" y="-183" width="15" height="45.1" rx="-46.4" ry="-46.4"/>
<line class="st0" x1="358.7" y1="-137.9" x2="343.7" y2="-137.9"/>
<line class="st0" x1="392.6" y1="-137.9" x2="377.6" y2="-137.9"/>
<path class="st4" d="M439.2-137.9c2.7,0,4.3-3,2.9-5.3l-13.3-20.9-1.7-2.8c5.6-2.3,10.1-6.8,12.4-12.3,1.1-2.7,1.7-5.7,1.7-8.8v-3.2c0-2.8-.5-5.5-1.4-8-3.2-8.7-11.5-14.8-21.2-14.8h-37.5c-1.9,0-3.4,1.5-3.4,3.4v7.9c0,1.9,1.5,3.4,3.4,3.4h36.4c.3,0,.6,0,.9,0,4.3.5,7.6,4.1,7.6,8.5v2.9c0,4.7-3.8,8.6-8.5,8.6h-36.4c-1.9,0-3.4,1.5-3.4,3.4v34.5c0,1.9,1.5,3.4,3.4,3.4h8.2c1.9,0,3.4-1.5,3.4-3.4v-23.9h17.7l.7,1.1,15.5,24.6c.6,1,1.7,1.6,2.9,1.6h9.9Z"/>
<path class="st4" d="M329.5-148.5v7.2c0,1.9-1.5,3.4-3.4,3.4h-55.2c-1.9,0-3.4-1.5-3.4-3.4v-7.7c0-.8.3-1.6.8-2.2l.6-.7,14.9-17.1c.6-.7,1.6-1.2,2.6-1.2h10.6c2.9,0,4.5,3.4,2.6,5.6l-11.1,12.6h37.6c1.9,0,3.4,1.5,3.4,3.4Z"/>
<path class="st4" d="M218.2-213.9h10.6c1.4,0,2.6.8,3.1,2.1l29.2,69.3c.9,2.2-.7,4.7-3.1,4.7h-68.9c-2.4,0-4.1-2.5-3.1-4.7l3-7.1v-.2c.6-1.3,1.8-2.1,3.2-2.1h48.7l-17.4-41.2-13.9,33.1c-.5,1.3-1.8,2.1-3.1,2.1h-8.9c-2.4,0-4.1-2.5-3.1-4.7l20.7-49.2c.5-1.3,1.8-2.1,3.1-2.1Z"/>
<path class="st4" d="M487.5-210.6v8.3c0,1.5-1,2.9-2.5,3.2-10.6,2.7-18.4,12-18.4,23.2s7.8,20.5,18.4,23.2c1.5.4,2.5,1.7,2.5,3.2v8.2c0,2.1-2,3.7-4.1,3.3-18.2-3.5-31.9-19.2-31.9-38s13.7-34.5,31.9-38,4.1,1.2,4.1,3.3Z"/>
<path class="st4" d="M530.8-175.9c0,18.9-13.9,34.7-32.3,38-2.1.4-4-1.2-4-3.3v-8.2c0-1.5,1-2.9,2.5-3.3,10.8-2.5,18.7-12,18.7-23.3s-8-20.7-18.7-23.3-2.5-1.7-2.5-3.3v-8.2c0-2.1,1.9-3.7,4-3.3,18.4,3.3,32.3,19.1,32.3,38Z"/>
<line class="st0" x1="358.7" y1="-137.9" x2="343.7" y2="-137.9"/>
<line class="st0" x1="392.6" y1="-137.9" x2="377.6" y2="-137.9"/>
<path class="st4" d="M594.9-206.1c2.3,2.3,4.2,5,5.5,8,0,0,0,.1,0,.2.9,2.2,1.5,4.6,1.8,7.4s-.8,2.1-2,2.1h-10.6c-1,0-1.9-.8-2-1.8-.3-3.3-1.3-4.6-3.2-6.5s-5.1-3.2-7.4-3.6-1.6-1-1.6-1.9v-10.1c0-.9.8-1.7,1.7-1.7h0c7.4,0,12.6,2.9,17.5,7.7"/>
<path class="st4" d="M568.6-149.6v9.8c0,1-.9,1.9-1.9,1.9h0c-8.5,0-16-3.9-20.9-9.9,0,0,0,0,0,0-2.4-3-4.2-6.5-5.1-10.3,0-.3-.1-.5-.2-.8,0-.4-.2-.9-.2-1.4,0-.4-.1-.7-.1-1.1,0,0,0-.1,0-.2,0-.9-.1-1.4-.2-2v-.2c0-1.1.9-1.9,2-1.9h10.1c1,0,1.9.8,2,1.8.5,5.1,2.8,8.5,6.6,10.3,1.9.9,4.4,1.6,6.6,2s1.6,1,1.6,1.9Z"/>
<path class="st4" d="M603-160.3c0,1.3,0,2.5-.2,3.6-.9,5-3.4,9.4-7,12.7-4.1,3.8-9.7,6.1-15.8,6.1h-2.5c-1.1,0-2-.9-2-2v-9.3c0-1,.7-1.8,1.7-1.9s2-.4,2.8-.6c1.8-.6,3.3-1.3,4.6-2.2s2.2-1.9,2.8-3.1c.6-1.2.9-2.3.9-3.5s-.5-2.7-1.4-3.8c-.9-1-2.2-1.9-3.7-2.6s-3.4-1.2-5.5-1.7c-2.1-.5-4.3-.9-6.6-1.3-.6,0-1.2-.2-1.8-.3-1.1-.2-2.2-.4-3.5-.6-2-.4-4.1-.9-6.2-1.5-2.1-.6-4.3-1.5-6.3-2.5-2.1-1-4-2.3-5.6-3.9-1-.9-1.8-1.9-2.6-3.1-.5-.8-1-1.7-1.4-2.6-1-2.2-1.5-4.7-1.5-7.7s.4-5.5,1.2-7.7c0,0,0-.2.1-.3.6-1.3,1.3-2.6,2.1-3.8,0,0,0,0,0,0,0,0,0,0,0,0,4.2-6.1,11-10.2,19-10.2h2c1.1,0,1.9.9,1.9,2v9.6c0,.9-.7,1.8-1.6,1.9s-.5,0-.8.1c-1.6.3-3.1.8-4.5,1.5s-2.6,1.5-3.5,2.6c-1,1.1-1.4,2.3-1.4,3.9,0,1.4.7,2.8,1.8,3.7,1.1,1,2.5,1.8,4.2,2.4,1.7.7,3.6,1.2,5.7,1.7,2.1.5,4.1.9,6,1.4,1.5.3,3.2.7,5.2,1,.9.1,1.7.3,2.6.5,1.1.3,2.3.6,3.5.9,2.1.6,4.2,1.4,6.3,2.4,2.1,1,3.9,2.3,5.6,3.9,1.3,1.2,2.4,2.7,3.3,4.4.2.4.5.9.7,1.4,1,2.3,1.5,5.1,1.5,8.4Z"/>
<text class="st2" transform="translate(22.7 104.6)"><tspan x="0" y="0">AZIROS</tspan></text>
<line class="st0" x1="195.8" y1="89.9" x2="180.8" y2="89.9"/>
<line class="st0" x1="229.7" y1="89.9" x2="214.7" y2="89.9"/>
<path class="st4" d="M55.3,13.9h10.6c1.4,0,2.6.8,3.1,2.1l29.2,69.3c.9,2.2-.7,4.7-3.1,4.7H26.2c-2.4,0-4.1-2.5-3.1-4.7l3-7.1v-.2c.6-1.3,1.8-2.1,3.2-2.1h48.7l-17.4-41.2-13.9,33.1c-.5,1.3-1.8,2.1-3.1,2.1h-8.9c-2.4,0-4.1-2.5-3.1-4.7L52.1,16c.5-1.3,1.8-2.1,3.1-2.1Z"/>
<line class="st0" x1="195.8" y1="89.9" x2="180.8" y2="89.9"/>
<line class="st0" x1="229.7" y1="89.9" x2="214.7" y2="89.9"/>
<rect class="st3" x="-158.8" y="86.6" width="52.6" height="96.6"/>
<rect class="st3" x="-101" y="85.4" width="52.6" height="96.6"/>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -5,7 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title', config('app.name'))</title> <title>@yield('title', config('app.name'))</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg"> <link rel="icon" type="image/svg+xml" href="{{ asset('favicon.svg') }}" media="(prefers-color-scheme: light)">
<link rel="icon" type="image/svg+xml" href="{{ asset('favicon-dark.svg') }}" media="(prefers-color-scheme: dark)">
{{-- <link rel="icon" type="image/svg+xml" href="/favicon.svg">--}}
@vite(['resources/css/app.css']) @vite(['resources/css/app.css'])
@livewireStyles @livewireStyles
</head> </head>