Files
wehub-resource-sync 221778fa98
rowboat / apps/x Vitest suites (push) Has been cancelled
rowboat / apps/x Electron package smoke test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:33:34 +08:00

38 lines
1.2 KiB
CSS

@import "../../globals.css";
/* Target both edit mode and view mode mentions */
.mention,
.ql-editor p span[class*="bg-[#e"], /* Matches both #e8f2fe and #e0f2fe */
span[class*="bg-[#e"] { /* For view mode */
background-color: #e8f2fe !important;
color: #1e40af !important;
}
/* Dark mode overrides */
.dark .mention,
.dark .ql-editor p span[class*="bg-[#e"],
.dark span[class*="bg-[#e"] {
background-color: rgb(31 41 55) !important; /* bg-gray-800 */
color: rgb(243 244 246) !important; /* text-gray-100 */
}
/* Handle Next.js dark mode class if needed */
/* :global(.dark) .mention,
:global(.dark) .ql-editor p span[class*="bg-[#e"],
:global(.dark) span[class*="bg-[#e"] {
background-color: rgb(31 41 55) !important;
color: rgb(243 244 246) !important;
} */
/* Override the inline styles */
.ql-editor p span[class*="bg-[#e0f2fe]"],
.ql-editor p span[class*="bg-[#e8f2fe]"] {
background-color: rgb(31 41 55) !important; /* bg-gray-800 */
color: rgb(243 244 246) !important; /* text-gray-100 */
}
/* Target our custom class */
.dark .mention-tag {
background-color: rgb(31 41 55) !important; /* bg-gray-800 */
color: rgb(243 244 246) !important; /* text-gray-100 */
}