Skip to content

Commit

Permalink
add Gro_Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Jul 2, 2024
1 parent b0ca3cd commit 33009ce
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thin-dots-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ryanatkn/fuz": patch
---

add `Gro_Logo`
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@
"svelte": "./dist/Github_Logo.svelte",
"default": "./dist/Github_Logo.svelte"
},
"./Gro_Logo.svelte": {
"types": "./dist/Gro_Logo.svelte.d.ts",
"svelte": "./dist/Gro_Logo.svelte",
"default": "./dist/Gro_Logo.svelte"
},
"./Hashlink.svelte": {
"types": "./dist/Hashlink.svelte.d.ts",
"svelte": "./dist/Hashlink.svelte",
Expand Down
81 changes: 81 additions & 0 deletions src/lib/Gro_Logo.svelte
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>
6 changes: 6 additions & 0 deletions src/routes/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ export const package_json = {
svelte: './dist/Github_Logo.svelte',
default: './dist/Github_Logo.svelte',
},
'./Gro_Logo.svelte': {
types: './dist/Gro_Logo.svelte.d.ts',
svelte: './dist/Gro_Logo.svelte',
default: './dist/Gro_Logo.svelte',
},
'./Hashlink.svelte': {
types: './dist/Hashlink.svelte.d.ts',
svelte: './dist/Hashlink.svelte',
Expand Down Expand Up @@ -404,6 +409,7 @@ export const src_json = {
'./Fuz_Logo.svelte': {path: 'Fuz_Logo.svelte', declarations: []},
'./Fuzling.svelte': {path: 'Fuzling.svelte', declarations: []},
'./Github_Logo.svelte': {path: 'Github_Logo.svelte', declarations: []},
'./Gro_Logo.svelte': {path: 'Gro_Logo.svelte', declarations: []},
'./Hashlink.svelte': {path: 'Hashlink.svelte', declarations: []},
'./Hue_Input.svelte': {path: 'Hue_Input.svelte', declarations: []},
'./Library_Content.svelte': {path: 'Library_Content.svelte', declarations: []},
Expand Down

0 comments on commit 33009ce

Please sign in to comment.