Skip to content

Commit

Permalink
Replace hardcoded active pagination colours
Browse files Browse the repository at this point in the history
  • Loading branch information
britneywwc authored and bartaz committed Apr 23, 2024
1 parent 2c3bb4a commit 0563700
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions scss/_patterns_pagination.scss
Expand Up @@ -7,8 +7,8 @@

&.is-active,
&[aria-current='page'] {
background-color: scale-color($color-x-light, $lightness: -$active-background-opacity-amount * 100%);
color: $colors--light-theme--text-default;
background-color: $colors--theme--background-active;
color: $colors--theme--text-default;
text-decoration: none;
}
}
Expand Down Expand Up @@ -43,15 +43,6 @@
&--truncation {
padding: $input-vertical-padding 0;
}

a {
&.is-active,
&[aria-current='page'] {
background-color: $colors--theme--background-active;
color: $colors--theme--text-default;
text-decoration: none;
}
}
}

.p-pagination__link {
Expand Down

0 comments on commit 0563700

Please sign in to comment.