Skip to content

Commit

Permalink
yeti: fix disabled pagination link color, #1255
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Jun 13, 2023
1 parent 52bd1d2 commit 5f47b31
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 8 deletions.
6 changes: 6 additions & 0 deletions dist/yeti/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ label,
}
}

@include color-mode(dark) {
.pagination {
--bs-pagination-disabled-color: #{$gray-700};
}
}

.list-group {
font-size: $font-size-sm;
font-weight: 300;
Expand Down
3 changes: 2 additions & 1 deletion dist/yeti/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ $navbar-dark-hover-color: $white !default;
$pagination-color: $gray-600 !default;
// $pagination-border-color: $nav-tabs-border-color !default;
$pagination-active-border-color: darken($primary, 5%) !default;
$pagination-disabled-color: $gray-200 !default;
$pagination-disabled-bg: transparent !default;
$pagination-disabled-color: $gray-400 !default;

// Cards

Expand Down
8 changes: 6 additions & 2 deletions dist/yeti/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -4762,8 +4762,8 @@ textarea.form-control-lg {
--bs-pagination-active-color: #fff;
--bs-pagination-active-bg: #008cba;
--bs-pagination-active-border-color: #0079a1;
--bs-pagination-disabled-color: #eee;
--bs-pagination-disabled-bg: var(--bs-secondary-bg);
--bs-pagination-disabled-color: #ccc;
--bs-pagination-disabled-bg: transparent;
--bs-pagination-disabled-border-color: var(--bs-border-color);
display: flex;
padding-left: 0;
Expand Down Expand Up @@ -12289,6 +12289,10 @@ label,
border-radius: 3px;
}

[data-bs-theme=dark] .pagination {
--bs-pagination-disabled-color: #495057;
}

.list-group {
font-size: 0.875rem;
font-weight: 300;
Expand Down
2 changes: 1 addition & 1 deletion dist/yeti/bootstrap.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/5/yeti/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ label,
}
}

@include color-mode(dark) {
.pagination {
--bs-pagination-disabled-color: #{$gray-700};
}
}

.list-group {
font-size: $font-size-sm;
font-weight: 300;
Expand Down
3 changes: 2 additions & 1 deletion docs/5/yeti/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ $navbar-dark-hover-color: $white !default;
$pagination-color: $gray-600 !default;
// $pagination-border-color: $nav-tabs-border-color !default;
$pagination-active-border-color: darken($primary, 5%) !default;
$pagination-disabled-color: $gray-200 !default;
$pagination-disabled-bg: transparent !default;
$pagination-disabled-color: $gray-400 !default;

// Cards

Expand Down
8 changes: 6 additions & 2 deletions docs/5/yeti/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -4762,8 +4762,8 @@ textarea.form-control-lg {
--bs-pagination-active-color: #fff;
--bs-pagination-active-bg: #008cba;
--bs-pagination-active-border-color: #0079a1;
--bs-pagination-disabled-color: #eee;
--bs-pagination-disabled-bg: var(--bs-secondary-bg);
--bs-pagination-disabled-color: #ccc;
--bs-pagination-disabled-bg: transparent;
--bs-pagination-disabled-border-color: var(--bs-border-color);
display: flex;
padding-left: 0;
Expand Down Expand Up @@ -12289,6 +12289,10 @@ label,
border-radius: 3px;
}

[data-bs-theme=dark] .pagination {
--bs-pagination-disabled-color: #495057;
}

.list-group {
font-size: 0.875rem;
font-weight: 300;
Expand Down
2 changes: 1 addition & 1 deletion docs/5/yeti/bootstrap.min.css

Large diffs are not rendered by default.

0 comments on commit 5f47b31

Please sign in to comment.