Skip to content

Commit

Permalink
design maintenance: support interim dark mode state of prime (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrloureed authored Aug 28, 2024
1 parent fa3f768 commit b8bba41
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 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.146",
"version": "0.0.147",
"repository": {
"type": "git",
"url": "https://github.com/viamrobotics/prime.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/button/button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $: handleDisabled = preventHandler(disabled);
{title}
aria-disabled={disabled ? true : undefined}
class={cx(
'inline-flex select-none items-center justify-center gap-1.5 whitespace-nowrap border',
'inline-flex select-none items-center justify-center gap-1.5 whitespace-nowrap border text-default',
{
'flex w-full': width === 'full',
'inline-flex': width !== 'full',
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/input/input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $: errorClasses =
aria-disabled={disabled ? true : undefined}
aria-invalid={isError ? true : undefined}
class={cx(
'h-7.5 w-full appearance-none border px-2 py-1.5 text-xs leading-tight outline-none',
'h-7.5 w-full appearance-none border bg-white px-2 py-1.5 text-xs leading-tight text-default outline-none',
defaultClasses,
readonlyClasses,
disabledClasses,
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/lib/input/range-input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ $: if (value > max) {

<svelte:window on:resize={() => positionIndicator(value)} />

<div class={cx('grid w-full grid-cols-[3rem_1fr] gap-2', extraClasses)}>
<div
class={cx('grid w-full grid-cols-[3rem_1fr] gap-2 bg-white', extraClasses)}
>
<NumericInput
bind:value
{min}
Expand Down

0 comments on commit b8bba41

Please sign in to comment.