generated from ryanatkn/fuz_template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ryanatkn/fuz": patch | ||
--- | ||
|
||
add `Gro_Logo` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<script lang="ts"> | ||
import type {SvelteHTMLElements} from 'svelte/elements'; | ||
interface Props { | ||
/** | ||
* Sets both the `width` and `height` of the svg. Overridden by the `width` and `height` props. | ||
*/ | ||
size?: string; | ||
/** | ||
* Sets the `width` of the svg. Overrides `size`. | ||
*/ | ||
width?: string; | ||
/** | ||
* Sets the `height` of the svg. Overrides `size`. | ||
*/ | ||
height?: string; | ||
label?: string; | ||
classes?: string; | ||
path_attrs?: SvelteHTMLElements['path']; | ||
attrs?: SvelteHTMLElements['svg']; | ||
} | ||
const { | ||
size, | ||
width, | ||
height, | ||
label = 'a pixelated green oak acorn with a glint of sun', | ||
classes, | ||
path_attrs, | ||
attrs, | ||
}: Props = $props(); | ||
const final_width = $derived(width ?? size); | ||
const final_height = $derived(height ?? size); | ||
</script> | ||
|
||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 100 100" | ||
{...attrs} | ||
aria-label={label} | ||
style:width={final_width} | ||
style:height={final_height} | ||
class={classes} | ||
> | ||
<path | ||
{...path_attrs} | ||
style="fill: #6f974c" | ||
d="m 24.035592,57.306905 v -14.5 h 16.329497 v 14.25 z" | ||
/> | ||
<path | ||
{...path_attrs} | ||
style="fill: #5e853f" | ||
d="M 43.75,93.75 H 37.5 V 87.5 H 31.25 V 81.25 H 25 V 75 H 18.75 V 62.5 H 12.5 V 50 H 6.25 V 43.75 H 4 v -21 L 22.75,16.5 h 40.5 l 0.5,61.5 -5,-0.75 -0.25,16.5 h -2.25 l -4,2.25 -2.24617,4 H 43.75 Z M 37.5,50 H 31.25 V 43.75 H 25 v 12.5 h 12.5 z" | ||
/> | ||
<path | ||
{...path_attrs} | ||
style="fill: #6f492b" | ||
d="m 50,93.75 h 6.25 V 75 H 62.5 V 50 H 56.25 V 37.5 H 50 V 31.25 H 43.75 V 25 H 31.25 V 18.75 H 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 v -25 H 6.25 V 12.5 h 12.5 V 6.25 H 37.5 V 0 h 25 v 6.25 h 18.75 v 6.25 h 12.5 v 6.25 H 100 v 25 H 93.75 V 50 H 87.5 V 62.5 H 81.25 V 75 H 75 v 6.25 H 68.75 V 87.5 H 62.5 v 6.25 H 56.25 V 100 H 50 Z" | ||
/> | ||
<path | ||
{...path_attrs} | ||
style="fill: #3b730f" | ||
d="m 50,93.75 h 6.25 V 75 H 62.5 V 50 H 56.25 V 37.5 H 50 V 31.25 H 43.75 V 25 H 31.25 V 18.75 H 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 V 25 H 12.5 V 18.75 H 25 V 12.5 H 43.75 V 6.25 h 12.5 V 12.5 H 75 v 6.25 H 87.5 V 25 H 100 V 43.75 H 93.75 V 50 H 87.5 V 62.5 H 81.25 V 75 H 75 v 6.25 H 68.75 V 87.5 H 62.5 v 6.25 H 56.25 V 100 H 50 Z" | ||
/> | ||
<path | ||
{...path_attrs} | ||
style="fill: #473323" | ||
d="M 87.5,37.5 H 81.25 V 31.25 H 68.75 V 25 H 62.5 V 18.75 H 43.75 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 V 25 H 12.5 V 18.75 H 25 V 12.5 H 43.75 V 6.25 h 12.5 V 12.5 H 75 v 6.25 H 87.5 V 25 H 100 V 43.75 H 93.75 V 50 H 87.5 Z" | ||
/> | ||
<path | ||
{...path_attrs} | ||
style="fill: #2e6006" | ||
d="M 87.5,37.5 H 81.25 V 31.25 H 68.75 V 25 H 62.5 v -6.25 h -25 V 12.5 H 50 V 6.25 h 6.25 v 6.25 h 12.5 v 6.25 h 12.5 V 25 h 12.5 v 6.25 H 100 v 12.5 H 93.75 V 50 H 87.5 Z" | ||
/> | ||
<path | ||
{...path_attrs} | ||
style="fill: #34251a" | ||
d="M 93.75,31.25 H 87.5 V 25 h 6.25 v 6.25 H 100 v 12.5 H 93.75 Z M 75,18.75 h 6.25 V 25 H 75 Z M 37.5,12.5 H 50 V 6.25 h 6.25 v 6.25 h 12.5 v 6.25 H 53.125 37.5 Z" | ||
/> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters