Skip to content

Commit

Permalink
refactor(ButtonTertiary): reduce ring contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 18, 2024
1 parent 746f85a commit 3d66ee8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/ButtonTertiary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const ButtonTertiary = forwardRef(function ButtonTertiary(
size={size}
className={clsx(
className,
"font-medium ring-1 ring-inset ring-ui-neutral-600",
"font-medium ring-1 ring-inset ring-ui-neutral-300",
size === "sm" && "px-2.5",
size === "md" && "px-4",
size === "lg" && "px-6",
Expand Down
8 changes: 4 additions & 4 deletions src/docs/sample.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Unstyled } from "@storybook/blocks";

import { Alert } from "../components/Alert";
import { ButtonPrimary } from "../components/ButtonPrimary";
import { ButtonSecondary } from "../components/ButtonSecondary";
import { ButtonTertiary } from "../components/ButtonTertiary";
import { Input } from "../components/Input";

<Unstyled>
Expand All @@ -24,15 +24,15 @@ import { Input } from "../components/Input";
<div>This is just a block of text.</div>
<div className="flex gap-2">
<Input size="sm" placeholder="Placeholder" />
<ButtonSecondary size="sm">Submit</ButtonSecondary>
<ButtonTertiary size="sm">Submit</ButtonTertiary>
</div>
<div className="flex gap-2">
<Input size="md" placeholder="Placeholder" />
<ButtonSecondary size="md">Submit</ButtonSecondary>
<ButtonTertiary size="md">Submit</ButtonTertiary>
</div>
<div className="flex gap-2">
<Input size="lg" placeholder="Placeholder" />
<ButtonSecondary size="lg">Submit</ButtonSecondary>
<ButtonTertiary size="lg">Submit</ButtonTertiary>
</div>
</div>
</Unstyled>

0 comments on commit 3d66ee8

Please sign in to comment.