Skip to content

Commit

Permalink
Patching list color
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed May 11, 2022
1 parent c5800ec commit 7d3d243
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,12 @@ ul {
// See https://developer.mozilla.org/fr/docs/Web/CSS/::marker
// stylelint-disable selector-max-type
li::marker {
color: $accessible-orange;
color: var(--#{$prefix}link-hover-color);
vertical-align: middle;

ol & {
color: inherit;
}
}

li li::marker { color: $gray-600; }
Expand All @@ -246,8 +250,12 @@ li li li::marker { color: $gray-500; }
// @todo To remove when ::marker support is OK
// See https://caniuse.com/#search=%3A%3Amarker
li::before {
color: $accessible-orange;
color: var(--#{$prefix}link-hover-color);
vertical-align: text-top;

ol & {
color: inherit;
}
}

li li::before { color: $gray-600; }
Expand Down

0 comments on commit 7d3d243

Please sign in to comment.