diff options
Diffstat (limited to 'src/components/Basic')
-rw-r--r-- | src/components/Basic/Chip.svelte | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/Basic/Chip.svelte b/src/components/Basic/Chip.svelte new file mode 100644 index 0000000..b8697ae --- /dev/null +++ b/src/components/Basic/Chip.svelte @@ -0,0 +1,13 @@ +<style> + .chip { + padding: 3px 5px; + box-sizing: border-box; + border-radius: 20px; + background: linear-gradient(90deg, #84fab0, #8fd3f4 51%, #84fab0) 100% / 200%; + color: white; + } +</style> + +<div class="chip"> + <slot></slot> +</div> |