misc: I haven't eaten in 16 hours brb gonna get some food

This commit is contained in:
Xyphyn committed 2023-07-16 13:24:32 -07:00
1 parent a363fe3baf
commit eb006ed982
21 files changed
+157 -89

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<script lang="ts">
export let label: string = ''
let clazz = ''
export { clazz as class }
</script>
<span
class="px-1 py-0.5 rounded-md text-xs ml-auto font-bold {clazz}"
aria-label={label}
title={label}
>
<slot />
</span>
+2
View File
@@ -1,4 +1,6 @@
<script lang="ts">
import { fly } from 'svelte/transition'
let clazz = ''
export { clazz as class }
</script>
@@ -1,4 +1,4 @@
<div class="loading">
<div class="loading" role="progressbar">
<div class="dot dot1" />
<div class="dot dot2" />
<div class="dot dot3" />
@@ -16,6 +16,7 @@
height: 5px;
border-radius: 50%;
background-color: #555;
opacity: 0.3;
margin: 0px 1px;
animation: blink 750ms infinite;
}
@@ -34,13 +35,13 @@
@keyframes blink {
0% {
opacity: 0.6;
opacity: 0.3;
}
20% {
opacity: 1;
}
100% {
opacity: 0.6;
opacity: 0.3;
}
}
</style>
+1
View File
@@ -60,6 +60,7 @@
: 'relative'} cursor-auto {clazz}"
bind:this={element}
tabindex="-1"
role="menu"
>
<slot name="button" {toggleOpen} />
{#if open}