Skip to content

Commit

Permalink
fix(reset): fix reset specifying anchor color (#7216)
Browse files Browse the repository at this point in the history
* fix(reset): fix reset specifying anchor color

* token

* deps

* remove reset

* revert

* update

* update

* chore(project): update snapshot

* Update packages/type/scss/_reset.scss

Co-authored-by: Dusan Milko <dusan.milko@ibm.com>
Co-authored-by: Andrea N. Cardona <andreancardona@gmail.com>
Co-authored-by: Josh Black <josh@josh.black>
Co-authored-by: TJ Egan <tw15egan@gmail.com>
  • Loading branch information
5 people committed Dec 9, 2020
1 parent fba0cbd commit 52390f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ p {
letter-spacing: 0; }
a {
color: #0062ff; }
color: #0f62fe; }
em {
font-style: italic; }
Expand Down
8 changes: 7 additions & 1 deletion packages/type/scss/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@
}

a {
color: #0062ff;
@if global-variable-exists('carbon--theme') and
map-has-key($carbon--theme, 'link-01')
{
color: map-get($carbon--theme, 'link-01');
} @else {
color: #0062fe;
}
}

em {
Expand Down

0 comments on commit 52390f4

Please sign in to comment.