Skip to content

Commit

Permalink
docs: fix selection of gradient heading on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan authored Mar 26, 2024
1 parent 81104d3 commit 7f86953
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@
width: calc(100% - 2rem);
}

.heroBanner h1::selection,
.heroBanner h1 span::selection {
color: rgb(36, 39, 54) !important;
-webkit-text-fill-color: rgb(36, 39, 54);
background: #B4D7FE !important;
-webkit-background-clip: unset;
background-clip: unset;
}

html[data-theme='dark'] .heroBanner ::selection {
color: #fff !important;
-webkit-text-fill-color: #fff;
background: #385477 !important;
}

html .heroBanner h2 {
font-style: normal;
font-weight: 400;
Expand Down

0 comments on commit 7f86953

Please sign in to comment.