refactor: remove dark mode functionality from text editor components

This commit is contained in:
Ardeman
2025-03-06 08:56:03 +08:00
parent 5cf6eb191d
commit 32b435d762
4 changed files with 2 additions and 26 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export const EditorButton = (properties: TProperties) => {
onClick={onClick}
disabled={disabled}
className={twMerge(
'flex h-6 w-8 items-center justify-center rounded-md p-2 hover:bg-[#2E2F7C] hover:text-white disabled:cursor-not-allowed disabled:bg-[#2E2F7C]/50 disabled:text-white disabled:hover:bg-[#2E2F7C]/50',
'flex h-6 w-8 cursor-pointer items-center justify-center rounded-md p-2 hover:bg-[#2E2F7C] hover:text-white disabled:cursor-not-allowed disabled:bg-[#2E2F7C]/50 disabled:text-white disabled:hover:bg-[#2E2F7C]/50',
isActive ? 'bg-[#2E2F7C]/10' : '',
className,
)}