Skip to content

Commit

Permalink
fix(link): add missing color for active state (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
skhamvon authored Jun 27, 2023
1 parent 5609893 commit 0ed10dc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@
}
}


:active {
@include osds-link-on-text-content() {
transition: color ease-in-out 0s;
}
}

:host([disabled]) {
cursor: not-allowed;
opacity: .5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@
}
}

@include ods-all-hue-foreach-theme-color((
color: '800',
border-color: '800',
)) using($colors) {
:host(&:active) {
@include osds-link-on-link-container() {
color: map_get($colors, color);
}
}
}

[contrasted] {
@include ods-and-all-hue-foreach-theme-color((
color: '500-contrasted'
Expand Down

0 comments on commit 0ed10dc

Please sign in to comment.