Optimize icon for web app

This commit is contained in:
Brahim Hadriche committed 2023-07-04 18:58:50 -04:00
1 parent 00df78d862
commit 3179fad19f
3 files changed
+8 -3

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

+1
View File
@@ -0,0 +1 @@
<svg viewBox="0 0 190.516 190.516" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><defs><clipPath clipPathUnits="userSpaceOnUse" id="a"><circle style="display:inline;fill:red;stroke-width:.808149;stroke-linejoin:round" cx="99.697" cy="190.975" r="67.373"/></clipPath></defs><g style="display:inline" transform="translate(-5.483 -14.747)"><circle style="display:inline;fill:#000;stroke:none;stroke-width:1.2888;stroke-linejoin:round" cx="100.741" cy="110.005" r="95.258"/><circle style="display:inline;fill:#fff;stroke:none;stroke-width:1.2888;stroke-linejoin:round" cx="100.741" cy="110.005" r="95.258" clip-path="url(#a)"/><circle style="display:inline;fill:#fff;stroke:none;stroke-width:.907953;stroke-linejoin:round" cx="99.6" cy="85.809" r="38.136"/></g></svg>

After

Width:  |  Height:  |  Size: 773 B

+7 -3
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import playletLogoDark from "../assets/logo-dark.svg";
import playletLogoLight from "../assets/logo-light.svg";
import userIcon from "../assets/user.png";
import UserIcon from "../assets/user.svg.svelte";
import { PlayletApi } from "./PlayletApi";
import { appThemeStore, playletStateStore } from "./Stores";
import ThemeSelect from "./ThemeToggle.svelte";
@@ -39,7 +39,11 @@
<div class="navbar bg-base-100 sticky top-0 z-40">
<div class="flex-1">
<img src={$appThemeStore === 'dark' ? playletLogoDark : playletLogoLight} class="h-8" alt="Playlet Logo" />
<img
src={$appThemeStore === "dark" ? playletLogoDark : playletLogoLight}
class="h-8"
alt="Playlet Logo"
/>
<h4 class="label brightness-75">{version}</h4>
</div>
<div class="flex-none">
@@ -52,7 +56,7 @@
<div class="dropdown dropdown-end">
<div tabindex="-1" class="btn btn-ghost btn-circle avatar">
<div class="w-8 rounded-full">
<img src={userIcon} alt="User" />
<UserIcon />
</div>
</div>
<ul