mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-01 23:16:51 +00:00
💅 微调颜色比例,固定夜间模式按钮
This commit is contained in:
@@ -49,10 +49,10 @@ const Toc = ({ toc }) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className='text-center font-bold text-white'>
|
||||
<div className='text-center font-bold text-black dark:text-white'>
|
||||
文章目录
|
||||
</div>
|
||||
<nav className='notion-table-of-contents text-gray-400 underline'>
|
||||
<nav className='notion-table-of-contents text-gray-500 dark:text-gray-400 underline'>
|
||||
{toc.map((tocItem) => {
|
||||
const id = uuidToId(tocItem.id)
|
||||
return (
|
||||
@@ -63,7 +63,7 @@ const Toc = ({ toc }) => {
|
||||
'notion-table-of-contents-item',
|
||||
`notion-table-of-contents-item-indent-level-${tocItem.indentLevel}`,
|
||||
activeSection === id &&
|
||||
' font-bold text-white'
|
||||
' font-bold text-black dark:text-white'
|
||||
)}
|
||||
>
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user