Skip to content

Commit

Permalink
fix(TMC-4293): fix DS Link token to be info
Browse files Browse the repository at this point in the history
  • Loading branch information
Gbacc committed Dec 3, 2024
1 parent 3e9dbbb commit ee62ea9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-baboons-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/design-system': patch
---

TMC-4293 - Design System link should not be accent/grey while using qlik-light theme
14 changes: 7 additions & 7 deletions packages/design-system/src/components/Link/Link.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $icon-alignment-offset-s: -0.0625rem;

.link {
font: tokens.$coral-paragraph-m-bold;
color: tokens.$coral-color-accent-text;
color: tokens.$coral-color-info-text;
background: none;
border: none;
border-bottom-color: currentColor;
Expand All @@ -26,18 +26,18 @@ $icon-alignment-offset-s: -0.0625rem;
}

&:hover {
color: tokens.$coral-color-accent-text-hover;
color: tokens.$coral-color-info-text-hover;

.link__text {
border-bottom-color: tokens.$coral-color-accent-border-hover;
border-bottom-color: tokens.$coral-color-info-border-hover;
}
}

&:active {
color: tokens.$coral-color-accent-text-active;
color: tokens.$coral-color-info-text-active;

.link__text {
border-bottom-color: tokens.$coral-color-accent-border-active;
border-bottom-color: tokens.$coral-color-info-border-active;
}
}

Expand All @@ -54,11 +54,11 @@ $icon-alignment-offset-s: -0.0625rem;
color: tokens.$coral-color-neutral-text;

&:hover {
color: tokens.$coral-color-accent-text-hover;
color: tokens.$coral-color-info-text-hover;
}

&:active {
color: tokens.$coral-color-accent-text-active;
color: tokens.$coral-color-info-text-active;
}
}
}

0 comments on commit ee62ea9

Please sign in to comment.