|
931 | 931 | } |
932 | 932 |
|
933 | 933 | /* Dark mode */ |
934 | | -@media (prefers-color-scheme: dark) { |
935 | | - .cept-editor .tiptap p.is-editor-empty:first-child::before { color: #52525b; } |
936 | | - .cept-editor .tiptap code { background-color: rgba(255, 255, 255, 0.1); } |
937 | | - .cept-editor .tiptap hr, .cept-editor .tiptap hr.cept-divider { border-top-color: #404040; } |
938 | | - .cept-editor .tiptap blockquote.cept-blockquote { border-left-color: #404040; color: #a1a1aa; } |
939 | | - .cept-editor .tiptap pre.cept-code-block { background-color: #1e1e1e; } |
940 | | - .cept-editor .tiptap .cept-mermaid { border-color: #404040; } |
941 | | - .cept-editor .tiptap .cept-mermaid-source { background-color: #1e1e1e; border-bottom-color: #404040; } |
942 | | - .cept-editor .tiptap .cept-mermaid-preview { background: #262626; } |
943 | | - .cept-editor .tiptap .cept-math-block { background-color: #1e1e1e; } |
944 | | - .cept-editor .tiptap figure.cept-image-block figcaption.cept-image-caption { color: #71717a; } |
945 | | - .cept-editor .tiptap figure.cept-image-block img:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3); } |
946 | | - .cept-editor .tiptap aside.cept-bookmark a.cept-bookmark-link { border-color: #404040; } |
947 | | - .cept-editor .tiptap aside.cept-bookmark a.cept-bookmark-link:hover { background-color: rgba(255, 255, 255, 0.03); } |
948 | | - .cept-editor .tiptap .cept-bookmark-description { color: #a1a1aa; } |
949 | | - .cept-editor .tiptap .cept-bookmark-url { color: #71717a; } |
950 | | - .cept-editor .tiptap li.cept-task-item[data-checked="true"] > div > p { color: #52525b; } |
951 | | - .cept-editor .tiptap a.cept-link { color: #60a5fa; } |
952 | | - .cept-editor .tiptap a.cept-link:hover { color: #93bbfd; } |
953 | | - .cept-editor .tiptap mark { background-color: rgba(255, 212, 0, 0.25); } |
954 | | - .cept-slash-menu { background: #262626; border-color: #404040; } |
955 | | - .cept-slash-menu-empty { color: #71717a; } |
956 | | - .cept-slash-menu-group + .cept-slash-menu-group { border-top-color: #333; } |
957 | | - .cept-slash-menu-category { color: #71717a; } |
958 | | - .cept-slash-menu-item:hover, .cept-slash-menu-item.is-selected { background-color: #333; } |
959 | | - .cept-slash-menu-icon { background: #1e1e1e; border-color: #404040; } |
960 | | - .cept-slash-menu-title { color: #e5e5e5; } |
961 | | - .cept-slash-menu-description { color: #71717a; } |
962 | | - .cept-inline-toolbar { background: #262626; border-color: #404040; } |
963 | | - .cept-inline-toolbar-btn { color: #d4d4d8; } |
964 | | - .cept-inline-toolbar-btn:hover { background-color: #333; } |
965 | | - .cept-inline-toolbar-btn.is-active { background-color: #312e81; color: #a5b4fc; } |
966 | | - .cept-inline-toolbar-divider { background-color: #404040; } |
967 | | - .cept-inline-toolbar-link-input { background: #333; border-color: #525252; color: #e5e5e5; } |
968 | | - .cept-block-actions { background: #262626; border-color: #404040; } |
969 | | - .cept-block-action-item { color: #d4d4d8; } |
970 | | - .cept-block-action-item:hover { background-color: #333; } |
971 | | - .cept-block-action-divider { background-color: #404040; } |
972 | | - .cept-editor .tiptap table.cept-table td.cept-table-cell, |
973 | | - .cept-editor .tiptap table.cept-table th.cept-table-header-cell { border-color: #404040; color: #d4d4d8; } |
974 | | - .cept-editor .tiptap table.cept-table th.cept-table-header-cell { background-color: #1e1e1e; color: #e5e5e5; } |
975 | | - .cept-editor .tiptap table.cept-table .selectedCell::after { background: rgba(99, 102, 241, 0.2); } |
976 | | - .cept-folder-view-item { color: #d4d4d8; } |
977 | | - .cept-folder-view-item:hover { background-color: #333; } |
978 | | - .cept-folder-view-count { color: #71717a; background: #333; } |
979 | | - .cept-editor .drag-handle::after { color: #4a4a4a; } |
980 | | - .cept-editor .drag-handle:hover::after { color: #71717a; } |
981 | | -} |
| 934 | +.dark .cept-editor .tiptap p.is-editor-empty:first-child::before { color: #52525b; } |
| 935 | +.dark .cept-editor .tiptap code { background-color: rgba(255, 255, 255, 0.1); } |
| 936 | +.dark .cept-editor .tiptap hr, .dark .cept-editor .tiptap hr.cept-divider { border-top-color: #404040; } |
| 937 | +.dark .cept-editor .tiptap blockquote.cept-blockquote { border-left-color: #404040; color: #a1a1aa; } |
| 938 | +.dark .cept-editor .tiptap pre.cept-code-block { background-color: #1e1e1e; } |
| 939 | +.dark .cept-editor .tiptap .cept-mermaid { border-color: #404040; } |
| 940 | +.dark .cept-editor .tiptap .cept-mermaid-source { background-color: #1e1e1e; border-bottom-color: #404040; } |
| 941 | +.dark .cept-editor .tiptap .cept-mermaid-preview { background: #262626; } |
| 942 | +.dark .cept-editor .tiptap .cept-math-block { background-color: #1e1e1e; } |
| 943 | +.dark .cept-editor .tiptap figure.cept-image-block figcaption.cept-image-caption { color: #71717a; } |
| 944 | +.dark .cept-editor .tiptap figure.cept-image-block img:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3); } |
| 945 | +.dark .cept-editor .tiptap aside.cept-bookmark a.cept-bookmark-link { border-color: #404040; } |
| 946 | +.dark .cept-editor .tiptap aside.cept-bookmark a.cept-bookmark-link:hover { background-color: rgba(255, 255, 255, 0.03); } |
| 947 | +.dark .cept-editor .tiptap .cept-bookmark-description { color: #a1a1aa; } |
| 948 | +.dark .cept-editor .tiptap .cept-bookmark-url { color: #71717a; } |
| 949 | +.dark .cept-editor .tiptap li.cept-task-item[data-checked="true"] > div > p { color: #52525b; } |
| 950 | +.dark .cept-editor .tiptap a.cept-link { color: #60a5fa; } |
| 951 | +.dark .cept-editor .tiptap a.cept-link:hover { color: #93bbfd; } |
| 952 | +.dark .cept-editor .tiptap mark { background-color: rgba(255, 212, 0, 0.25); } |
| 953 | +.dark .cept-slash-menu { background: #262626; border-color: #404040; } |
| 954 | +.dark .cept-slash-menu-empty { color: #71717a; } |
| 955 | +.dark .cept-slash-menu-group + .dark .cept-slash-menu-group { border-top-color: #333; } |
| 956 | +.dark .cept-slash-menu-category { color: #71717a; } |
| 957 | +.dark .cept-slash-menu-item:hover, .dark .cept-slash-menu-item.is-selected { background-color: #333; } |
| 958 | +.dark .cept-slash-menu-icon { background: #1e1e1e; border-color: #404040; } |
| 959 | +.dark .cept-slash-menu-title { color: #e5e5e5; } |
| 960 | +.dark .cept-slash-menu-description { color: #71717a; } |
| 961 | +.dark .cept-inline-toolbar { background: #262626; border-color: #404040; } |
| 962 | +.dark .cept-inline-toolbar-btn { color: #d4d4d8; } |
| 963 | +.dark .cept-inline-toolbar-btn:hover { background-color: #333; } |
| 964 | +.dark .cept-inline-toolbar-btn.is-active { background-color: #312e81; color: #a5b4fc; } |
| 965 | +.dark .cept-inline-toolbar-divider { background-color: #404040; } |
| 966 | +.dark .cept-inline-toolbar-link-input { background: #333; border-color: #525252; color: #e5e5e5; } |
| 967 | +.dark .cept-block-actions { background: #262626; border-color: #404040; } |
| 968 | +.dark .cept-block-action-item { color: #d4d4d8; } |
| 969 | +.dark .cept-block-action-item:hover { background-color: #333; } |
| 970 | +.dark .cept-block-action-divider { background-color: #404040; } |
| 971 | +.dark .cept-editor .tiptap table.cept-table td.cept-table-cell, |
| 972 | +.dark .cept-editor .tiptap table.cept-table th.cept-table-header-cell { border-color: #404040; color: #d4d4d8; } |
| 973 | +.dark .cept-editor .tiptap table.cept-table th.cept-table-header-cell { background-color: #1e1e1e; color: #e5e5e5; } |
| 974 | +.dark .cept-editor .tiptap table.cept-table .selectedCell::after { background: rgba(99, 102, 241, 0.2); } |
| 975 | +.dark .cept-folder-view-item { color: #d4d4d8; } |
| 976 | +.dark .cept-folder-view-item:hover { background-color: #333; } |
| 977 | +.dark .cept-folder-view-count { color: #71717a; background: #333; } |
| 978 | +.dark .cept-editor .drag-handle::after { color: #4a4a4a; } |
| 979 | +.dark .cept-editor .drag-handle:hover::after { color: #71717a; } |
0 commit comments