fix toc dark color

This commit is contained in:
tangly1024.com
2023-06-27 12:37:51 +08:00
parent b404ecf2ac
commit 9ab5d4e7e5

View File

@@ -1121,11 +1121,10 @@ code[class*='language-'] {
.notion-table-of-contents {
width: 100%;
margin: 4px 0;
@apply bg-gray-50 dark:bg-black p-2
@apply bg-gray-50 dark:bg-gray-900 p-2
}
.notion-table-of-contents-item {
/* color: inherit; */
text-decoration: none;
user-select: none;
transition: background 20ms ease-in 0s;
@@ -1141,6 +1140,7 @@ code[class*='language-'] {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@apply dark:text-white
}