Skip to content

Commit

Permalink
update Moss_Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Apr 14, 2024
1 parent 430bae0 commit 3e035b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-starfishes-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ryanatkn/fuz": patch
---

update `Moss_Logo`
11 changes: 9 additions & 2 deletions src/lib/Moss_Logo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,26 @@
alt?: string;
}
const {size, alt = 'the Moss logo, a little green tuft of moss'}: Props = $props();
const {size, alt = 'the Moss logo, a fuzzy tuft of green moss'}: Props = $props();
// TODO publish a plain SVG probably
// color:
// #298e29
// hsl(120, 55%, 36%)
// rgb(41, 142, 41)
</script>

<!-- TODO could potentially support the `image` option like `Fuz_Logo` -->
<span
aria-label={alt}
style:--color="var(--color_b_5)"
class="inline_block"
style:width={size}
style:height={size}><Spider /></span
>

<style>
span {
transform: scaleX(-1) rotate(180deg);
}
</style>

0 comments on commit 3e035b1

Please sign in to comment.