Skip to content

Commit

Permalink
Improve highlight design with a handmade effect
Browse files Browse the repository at this point in the history
  • Loading branch information
adesurirey committed Aug 1, 2020
1 parent 7ce4740 commit 68be788
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions theme/notes-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

:root {
--primary-color: #fcba03;
--primary-color-rgb: 252, 186, 3;
--bg-color: #292929;
--bg-color-dark: #1f1f1f;
--dark-trait: #141414;
Expand Down Expand Up @@ -154,6 +155,19 @@ h6 {
color: var(--light-trait-300);
}

mark {
padding: 0px 2px;
border-radius: 1em 0.5em;
background: transparent;
background-image: linear-gradient(
-100deg,
rgba(var(--primary-color-rgb), 0.25),
rgba(var(--primary-color-rgb), 0.30) 100%,
rgba(var(--primary-color-rgb), 0.25)
);
color: #fff;
}

p,
blockquote,
ul,
Expand Down

0 comments on commit 68be788

Please sign in to comment.