Skip to content

Commit

Permalink
📋 text highlighting follow colortheme
Browse files Browse the repository at this point in the history
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
  • Loading branch information
SindreKjelsrud committed Jul 16, 2024
1 parent f73f822 commit c72ad96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ List of changes and new features I plan for this website.

- Add page filled with wine/gin I like
- Add page dedicated to work I'm proud of
- Add an 88x31 button (One Piece themed)
- Change default text-highlight color to follow themes
- Add an 88x31 button (One Piece themed)
10 changes: 10 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,16 @@ blockquote {
border-left: 5px solid var(--light-1);
}

::selection{
background-color:var(--dark-1);
color: var(--dark-bg);
}

.dark ::selection{
background-color:var(--light-1);
color: var(--light-bg);
}

/* PRINT */
@media print {
body {
Expand Down

0 comments on commit c72ad96

Please sign in to comment.