Skip to content

Commit

Permalink
add color highlighting for selection any text
Browse files Browse the repository at this point in the history
  • Loading branch information
PixelSculptor committed Feb 14, 2024
1 parent 1b5fbb2 commit 759b232
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions frontend/src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,26 @@ body {
justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
small,
caption,
button {
&::selection {
background: variables.$highlight-color;
color: variables.$text-color--dark;
}
&::-moz-selection {
background: variables.$highlight-color;
color: variables.$text-color--dark;
}
}

h1,
h2,
h3,
Expand Down

0 comments on commit 759b232

Please sign in to comment.