Skip to content

Commit

Permalink
Progress fix (viamrobotics#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
micheal-parks authored May 8, 2024
1 parent 9ad859c commit ff4cc32
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@viamrobotics/prime-core",
"version": "0.0.116",
"version": "0.0.117",
"publishConfig": {
"access": "public"
},
Expand Down
26 changes: 14 additions & 12 deletions packages/core/src/lib/progress/progress.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,20 @@ export let variant: 'dark' | 'light' = 'dark';
}
)}
>
{#each { length: 8 } as _, index}
<div
style="
transform: rotate({index * 45}deg);
animation-delay: {index * 100}ms;
"
class="pill absolute -mt-[0.5px] h-px w-[3px] rounded-[1px] {variant ===
'dark'
? 'bg-gray-8'
: 'bg-white'}"
/>
{/each}
<div class="translate-x-[-6.5px]">
{#each { length: 8 } as _, index}
<div
style="
transform: rotate({index * 45}deg);
animation-delay: {index * 100}ms;
"
class="pill absolute -mt-[0.5px] h-px w-[3px] rounded-[1px] {variant ===
'dark'
? 'bg-gray-8'
: 'bg-white'}"
/>
{/each}
</div>
</div>

<style>
Expand Down

0 comments on commit ff4cc32

Please sign in to comment.