Skip to content

Commit 10a270d

Browse files
committed
Revert "style: fix DuckDuckGo dark theme is unreadable #24"
This reverts commit bab916c. Signed-off-by: EINDEX <[email protected]>
1 parent d1c928a commit 10a270d

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

src/components/logseq.module.scss

+7-21
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@
33
}
44

55
.blockContent {
6-
@apply flex flex-col prose-sm dark:prose-invert prose-p:text-gray-800 dark:prose-p:text-gray-200 whitespace-pre-wrap text-sm prose-img:w-full prose-p:my-0 prose-img:my-1;
6+
@apply flex flex-col prose-sm dark:prose-invert whitespace-pre-wrap text-sm prose-img:w-full prose-p:my-0 prose-img:my-1;
77
* {
8-
@apply break-all text-sm text-gray-800 dark:text-gray-200;
9-
10-
mark {
11-
@apply bg-yellow-200 dark:bg-yellow-800;
12-
}
8+
@apply break-all text-sm;
139
}
1410

1511
a {
16-
@apply no-underline hover:underline text-[#1a0dab] dark:text-[#8ab4f8];
17-
// color: #8ab4f8;
12+
@apply no-underline hover:underline;
1813
}
1914

2015
img {
@@ -24,31 +19,22 @@
2419
pre {
2520
@apply overflow-x-auto whitespace-pre-wrap;
2621
}
27-
28-
table {
29-
@apply text-gray-800 dark:text-gray-200;
30-
}
31-
3222
}
3323

3424
.pageContent {
35-
@apply flex flex-col gap-2 prose-sm prose-p:text-black dark:prose-p:text-white dark:prose-invert whitespace-pre-wrap text-sm;
25+
@apply flex flex-col gap-2 prose-sm dark:prose-invert whitespace-pre-wrap text-sm;
3626
}
3727

3828
.pageContentFooter {
3929
@apply flex flex-row justify-end;
4030
}
4131

4232
.copilotCardHeader {
43-
@apply flex flex-row justify-between items-center text-sm pb-2 text-gray-800 dark:text-gray-200;
33+
@apply flex flex-row justify-between items-center text-sm pb-2;
4434

4535
a {
4636
@apply text-sm text-center object-center;
4737
}
48-
49-
// span, svg {
50-
// @apply text-gray-800 dark:text-gray-200;
51-
// }
5238
}
5339

5440
.divide {
@@ -60,9 +46,9 @@
6046
}
6147

6248
.toBlock {
63-
@apply no-underline hover:underline text-[#1a0dab] dark:text-[#8ab4f8];
49+
@apply no-underline hover:underline;
6450
}
6551

6652
.logseqPageLink {
67-
@apply no-underline hover:underline text-[#1a0dab] dark:text-[#8ab4f8];
53+
@apply no-underline hover:underline;
6854
}

src/pages/content/index.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@tailwind base;
33

44
.copilot {
5-
@apply flex flex-col w-full max-w-sm gap-2 pb-4 mx-2;
5+
@apply flex flex-col w-full max-w-sm gap-2 pb-4;
66

77
ul,
88
ol {

0 commit comments

Comments
 (0)