Skip to content

Commit

Permalink
update typography and semantic colour tokens. changed underline offse…
Browse files Browse the repository at this point in the history
…t to not cut off at descenders. changed chevron to smaller size.
  • Loading branch information
samanthadotdesign committed Jul 26, 2024
1 parent 047801b commit e325736
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ const Breadcrumb = ({ links, LinkComponent = "a" }: BreadcrumbProps) => {
<div key={index} className="flex flex-row items-center gap-1">
<LinkComponent
href={link.url}
className={`text-sm underline decoration-transparent underline-offset-2 transition duration-150 ease-in hover:decoration-inherit active:text-hyperlink ${
isLast ? "font-medium text-gray-700" : "text-gray-600"
className={`underline decoration-transparent underline-offset-4 transition duration-150 ease-in hover:decoration-inherit active:text-interaction-link-active ${
isLast
? "prose-label-md-medium text-base-content-medium"
: "text-base-contentcontent prose-label-md-regular"
}`}
>
{link.title}
</LinkComponent>
{!isLast && (
<MdChevronRight className="h-auto min-w-6 text-gray-400" />
<MdChevronRight className="h-auto min-w-5 fill-base-content-subtle" />
)}
</div>
)
Expand Down

0 comments on commit e325736

Please sign in to comment.