[READ-ONLY] Mirror of https://github.com/flo-bit/svelte-github-corner. flo-bit.dev/svelte-github-corner/
0

Configure Feed

Select the types of activity you want to include in your feed.

Svelte 58.8%
JavaScript 21.4%
TypeScript 10.0%
HTML 5.0%
CSS 1.3%
Other 3.5%
11 1 0

Clone this repository

https://tangled.org/flo-bit.dev/svelte-github-corner https://tangled.org/did:plc:5qw3gjsmsrjlxwqwiws635vr
git@tangled.org:flo-bit.dev/svelte-github-corner git@tangled.org:did:plc:5qw3gjsmsrjlxwqwiws635vr

For self-hosted knots, clone URLs may differ based on your setup.



README.md

svelte-github-corner#

simple little component for adding a github corner icon to your svelte projects

see it in action

install#

npm install svelte-github-corner

use#

  • the colors are optional, will default to black on white
<script>
	import { GithubCorner } from 'svelte-github-corner';
<\/script>

<GithubCorner
	href="https://github.com/flo-bit/svelte-github-corner"
	color="#fff"
	backgroundColor="#151513"
/>

using 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"
/>

license#

MIT

credits#

based on github corners by Tim Holman