Skip to content

Commit

Permalink
Add background-color to pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Dec 13, 2024
1 parent 199be36 commit 68603f6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/styles/components/common/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

.pagination-wrap {
padding: 15px 15px;
@include theme-aware('background-color', 'backgroundInfoBlock');
@include theme-aware('background-color', 'paginationBackground');
}

.pagination {
Expand Down Expand Up @@ -137,7 +137,7 @@
}

.pagination_link:hover {
background-color: $secondGrey;
background-color: #D4D4D4;
transform: scale(1.1);
}

Expand Down
6 changes: 4 additions & 2 deletions src/styles/themes/_color-palette.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ $themes: (
countBlockTextColor: $countBlockTextColor,
detailsPageTextColorValue: $hashColor,
detailsPageTextColorName: $textColor,
futureEpoch: $futureEpochLight
futureEpoch: $futureEpochLight,
paginationBackground: $paginationBackgroundLight
),
dark: (
backgroundColor: $dark,
Expand All @@ -41,6 +42,7 @@ $themes: (
countBlockTextColor: $white,
detailsPageTextColorValue: $white,
detailsPageTextColorName: $white,
futureEpoch: $futureEpochDark
futureEpoch: $futureEpochDark,
paginationBackground: $paginationBackgroundDark
)
);
4 changes: 4 additions & 0 deletions src/styles/utilities/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ $tile_title_bottom_border: rgba(215, 215, 215, 1);
$main-font-family: 'NeubauGrotesk', sans-serif;
$code-pro-font-family: 'Source Code Pro', monospace;

// Pagination
$paginationBackgroundDark: #2A2928;
$paginationBackgroundLight: #E0E0E0;


:export {
overviewColor: $overviewColor;
Expand Down

0 comments on commit 68603f6

Please sign in to comment.