Skip to content

Commit

Permalink
link no underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Jun 11, 2024
1 parent ba24a89 commit 55dc1a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/css/link.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
gap: var(--ds-spacing-1);
}

.ds-link__accent {
.ds-link--accent {
--dsc-link-color: var(--ds-color-accent-text-subtle);
--dsc-link-color-hover: var(--ds-color-accent-text-default);
--dsc-link-color-active: var(--ds-color-accent-text-default);
Expand All @@ -29,7 +29,7 @@
--dsc-link-color-focus-background: var(--ds-focus-outer);
}

.ds-link__neutral {
.ds-link--neutral {
--dsc-link-color: var(--ds-color-neutral-text-default);
--dsc-link-color-hover: var(--ds-color-neutral-text-subtle);
--dsc-link-color-active: var(--ds-color-neutral-text-subtle);
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Link = forwardRef<HTMLAnchorElement, LinkProps>(

return (
<Component
className={cl('ds-link', `ds-link__${color}`, className)}
className={cl('ds-link', `ds-link--${color}`, className)}
ref={ref}
{...rest}
>
Expand Down

0 comments on commit 55dc1a0

Please sign in to comment.