diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-04-27 02:59:32 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-04-27 02:59:32 +0200 |
commit | fd0636e4e5292ed584745c73d58f6a0118d929b4 (patch) | |
tree | a548392f6231a98721e8fc6a091809beca9cf6e8 /src/components/Basic/Chip.svelte | |
parent | 30c2705f47011ae49faaaab656e4701ad9a595a6 (diff) | |
download | Aurora-data-fd0636e4e5292ed584745c73d58f6a0118d929b4.tar.gz Aurora-data-fd0636e4e5292ed584745c73d58f6a0118d929b4.zip |
Add chip showing that value is estimated, and add bt value
Diffstat (limited to 'src/components/Basic/Chip.svelte')
-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> |