Skip to content

Commit

Permalink
fix(pagination): fix tokens based on audit (#10817)
Browse files Browse the repository at this point in the history
* fix(pagination): fix tokens based on audit

* fix(Pagination): update text token

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 28, 2022
1 parent 81364cd commit 53413ac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
display: block;
width: 0;
height: $spacing-02;
background-color: $background-brand;
background-color: $border-interactive;
content: '';
opacity: 0;
transition: width $duration-fast-02 motion(standard, productive);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
/// @param {Number} $select-icon-top-position [$spacing-05]
/// @param {Number} $select-icon-left-position [$spacing-05]
@mixin pagination-nav(
$color: $text-secondary,
$text-color-active: $text-secondary,
$color: $text-primary,
$text-color-active: $text-primary,
$background-color-hover: $background-hover,
$background-color-active: initial,
$font-weight: 400,
Expand Down Expand Up @@ -78,7 +78,7 @@
min-width: $button-min-width;
padding: $button-padding;
border-radius: 0;
color: $text-secondary;
color: $text-primary;
font-weight: $font-weight;
line-height: 1;
outline: 0;
Expand All @@ -90,7 +90,7 @@

&:hover {
background-color: $background-color-hover;
color: $text-secondary;
color: $text-primary;
}

&:focus {
Expand Down
4 changes: 4 additions & 0 deletions packages/styles/scss/components/pagination/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@

span.#{$prefix}--pagination__text {
margin-left: $spacing-05;
color: $text-primary;
}

span.#{$prefix}--pagination__text.#{$prefix}--pagination__items-count {
color: $text-secondary;
}

Expand Down

0 comments on commit 53413ac

Please sign in to comment.