Svelte Github Corner Icon
simple little component for adding a github corner icon to your svelte projects
1. install
npm install svelte-github-corner
2. use like this (colors are optional, will default to white on black):
<script>
import { GithubCorner } from 'svelte-github-corner';
</script>
<GithubCorner
href="https://github.com/flo-bit/svelte-github-corner"
color="#fff"
backgroundColor="#151513"
/>
or use with tailwind (fill is background, text is icon):
<script>
import { GithubCorner } from 'svelte-github-corner';
</script>
<GithubCorner
href="https://github.com/flo-bit/svelte-github-corner"
class="fill-stone-900 text-stone-100 dark:fill-stone-100 dark:text-stone-900"
/>