Skip to content

Commit

Permalink
fix(theme-chalk): [pagination] style if selected value is disabled (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuhangyeong committed Jun 24, 2022
1 parent c6b43df commit 49bc137
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/theme-chalk/src/pagination.scss
Expand Up @@ -240,6 +240,11 @@
&.is-disabled {
color: getCssVar('text-color', 'placeholder');
background-color: getCssVar('disabled-bg-color');

&.is-active {
color: getCssVar('text-color', 'secondary');
background-color: getCssVar('fill-color', 'dark');
}
}
@include when(first) {
margin-left: 0;
Expand Down Expand Up @@ -350,6 +355,11 @@
&.is-active {
color: getCssVar('pagination-hover-color');
cursor: default;

&.is-disabled {
font-weight: bold;
color: getCssVar('text-color', 'secondary');
}
}
}

Expand Down

0 comments on commit 49bc137

Please sign in to comment.