Skip to content

Commit

Permalink
Changes the shadow of table headers in dark mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
bulhakovolexii committed Feb 7, 2024
1 parent 44f7c80 commit 1440b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ thead {

.js-table-head-wrapper[data-is-fixed="true"] {
@media (prefers-color-scheme: dark) {
box-shadow: 0px 20px 20px -20px rgb($body-background-color, 0.3);
box-shadow: 0px 20px 20px -20px $body-background-color;
}
@media (prefers-color-scheme: light) {
box-shadow: 0px 20px 20px -20px rgb($body-text-color, 0.3);
box-shadow: 0px 20px 20px -20px rgba($body-text-color, 0.3);
}
transition: box-shadow ease 500ms;
}

0 comments on commit 1440b49

Please sign in to comment.