Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing highlight colors for both light and dark modes #593

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 76 additions & 7 deletions styles/notion.css
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,16 @@
);
}

.notion-purple_background,
.notion-purple_background {
/* light red */
background-image: linear-gradient(
119deg,
var(--bg-color),
#f5c4ff 10.5%,
#e7a8fc 85.29%,
var(--bg-color)
);
}
.notion-pink_background {
/* light pink */
background-image: linear-gradient(
Expand All @@ -285,8 +294,18 @@
);
}

.notion-blue_background,
.notion-gray_background {
/* light gray */
background-image: linear-gradient(
119deg,
var(--bg-color),
#d9d9d9 10.5%,
#e1e1e1 85.29%,
var(--bg-color)
);
}

.notion-blue_background {
/* light blue */
background-image: linear-gradient(
119deg,
Expand All @@ -297,14 +316,24 @@
);
}

.notion-red_background,
.notion-red_background {
/* light red */
background-image: linear-gradient(
119deg,
var(--bg-color),
#ffc4c4 10.5%,
#fca8a8 85.29%,
var(--bg-color)
);
}

.notion-orange_background {
/* light red */
background-image: linear-gradient(
119deg,
var(--bg-color),
#f5c4ff 10.5%,
#e7a8fc 85.29%,
#ffd4c4 10.5%,
#fcdaa8 85.29%,
var(--bg-color)
);
}
Expand Down Expand Up @@ -343,9 +372,49 @@
.dark-mode .notion-gray_background {
padding: 0;
margin: 0;
border-radius: 0;
background: none !important;
border-radius: 5px;
}

.dark-mode .notion-red_background:hover,
.dark-mode .notion-pink_background:hover,
.dark-mode .notion-blue_background:hover,
.dark-mode .notion-purple_background:hover,
.dark-mode .notion-teal_background:hover,
.dark-mode .notion-yellow_background:hover,
.dark-mode .notion-orange_background:hover,
.dark-mode .notion-brown_background:hover,
.dark-mode .notion-gray_background:hover {
background: rgb(70,70,70);
}

.dark-mode .notion-red_background {
background: rgb(77,48,43);
}
.dark-mode .notion-pink_background {
background: rgb(73,46,59);
}
.dark-mode .notion-blue_background {
background: rgb(30,57,76);
}
.dark-mode .notion-purple_background {
background: rgb(58,46,71);
}
.dark-mode .notion-teal_background {
background: rgb(42,60,49);
}
.dark-mode .notion-yellow_background {
background: rgb(83, 68, 44);
}
.dark-mode .notion-orange_background {
background: rgb(87,60,39);
}
.dark-mode .notion-brown_background {
background: rgb(70,51,43);
}
.dark-mode .notion-gray_background {
background: rgb(47,47,47);
}


/* if you don't want rounded page icon images, remove this */
.notion-page-icon-hero.notion-page-icon-image {
Expand Down