Skip to content

Commit

Permalink
Design maintenance - march 13 (viamrobotics#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
micheal-parks authored Mar 13, 2024
1 parent 9573b71 commit 8fca022
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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.96",
"version": "0.0.97",
"publishConfig": {
"access": "public"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/lib/modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ $: headingElement?.focus();
)}
>
<IconButton
class="absolute right-4 top-4 text-gray-6"
cx="absolute right-4 top-4 text-gray-6"
icon="close"
label="Close modal"
on:click={handleCloseModal}
Expand All @@ -107,7 +107,7 @@ $: headingElement?.focus();
<h2
bind:this={headingElement}
tabindex="-1"
class="pr-12 text-lg font-semibold"
class="pr-12 text-lg font-semibold text-default"
>
<slot name="title" />
</h2>
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1082,13 +1082,13 @@ const onHoverDelayMsInput = (event: Event) => {
>
<Button
slot="primary"
variant="dark"
on:click={() => notify.success('Howdy Message', 'Howdy Partner')}
>
Notify howdy
</Button>
<Button
slot="secondary"
variant="dark"
on:click={handleCloseModal}
>
Cancel
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/stories/modal.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ let smallModalOpen = false;
<svelte:fragment slot="message">This is a small modal.</svelte:fragment>
<Button
slot="primary"
variant="dark"
on:click={() => console.log('Primary button clicked')}
>
Primary
</Button>
<Button
slot="secondary"
variant="dark"
on:click={() => console.log('Secondary button clicked')}
>
Secondary
Expand Down

0 comments on commit 8fca022

Please sign in to comment.