Skip to content

Commit

Permalink
Fixed tag token colors (#18265)
Browse files Browse the repository at this point in the history
* fix: fixed tag tokens when tooltip is ctivate

* fix: fixed typo

* fix(tag): simplify

---------

Co-authored-by: ariellalgilmore <[email protected]>
  • Loading branch information
guidari and ariellalgilmore authored Dec 23, 2024
1 parent d56c885 commit 03170a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions packages/styles/scss/components/tag/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@
background-color: $filter-hover-color;
}
}

.#{$prefix}--definition-term {
.#{$prefix}--tag__label {
color: $text-color;
}
}
}
4 changes: 0 additions & 4 deletions packages/styles/scss/components/tag/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,6 @@
max-inline-size: convert.to-rem(176px);
}

.#{$prefix}--tag--high-contrast .#{$prefix}--definition-term {
color: $text-inverse;
}

.#{$prefix}--tag > .#{$prefix}--popover-container {
display: flex;
}
Expand Down

0 comments on commit 03170a8

Please sign in to comment.