diff --git a/src/components/RichTextEditor.tsx b/src/components/RichTextEditor.tsx index b7285af..ab99d3b 100644 --- a/src/components/RichTextEditor.tsx +++ b/src/components/RichTextEditor.tsx @@ -449,7 +449,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={() => editor.chain().focus().toggleBold().run()} - className={editor.isActive('bold') ? 'bg-accent' : ''} + className={editor.isActive('bold') ? 'bg-primary text-primary-foreground' : ''} > @@ -458,7 +458,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={() => editor.chain().focus().toggleItalic().run()} - className={editor.isActive('italic') ? 'bg-accent' : ''} + className={editor.isActive('italic') ? 'bg-primary text-primary-foreground' : ''} > @@ -467,7 +467,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={() => editor.chain().focus().toggleHeading({ level: 1 }).run()} - className={editor.isActive('heading', { level: 1 }) ? 'bg-accent' : ''} + className={editor.isActive('heading', { level: 1 }) ? 'bg-primary text-primary-foreground' : ''} > @@ -476,7 +476,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={() => editor.chain().focus().toggleHeading({ level: 2 }).run()} - className={editor.isActive('heading', { level: 2 }) ? 'bg-accent' : ''} + className={editor.isActive('heading', { level: 2 }) ? 'bg-primary text-primary-foreground' : ''} > @@ -485,7 +485,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={() => editor.chain().focus().toggleBulletList().run()} - className={editor.isActive('bulletList') ? 'bg-accent' : ''} + className={editor.isActive('bulletList') ? 'bg-primary text-primary-foreground' : ''} > @@ -494,7 +494,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={() => editor.chain().focus().toggleOrderedList().run()} - className={editor.isActive('orderedList') ? 'bg-accent' : ''} + className={editor.isActive('orderedList') ? 'bg-primary text-primary-foreground' : ''} > @@ -503,7 +503,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={() => editor.chain().focus().toggleBlockquote().run()} - className={editor.isActive('blockquote') ? 'bg-accent' : ''} + className={editor.isActive('blockquote') ? 'bg-primary text-primary-foreground' : ''} > @@ -512,7 +512,7 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten. variant="ghost" size="sm" onClick={addLink} - className={editor.isActive('link') ? 'bg-accent' : ''} + className={editor.isActive('link') ? 'bg-primary text-primary-foreground' : ''} > @@ -626,9 +626,9 @@ export function RichTextEditor({ content, onChange, placeholder = 'Tulis konten.
-
{uploading && ( diff --git a/src/pages/ProductDetail.tsx b/src/pages/ProductDetail.tsx index 8bbbbdd..a0306e7 100644 --- a/src/pages/ProductDetail.tsx +++ b/src/pages/ProductDetail.tsx @@ -267,7 +267,7 @@ export default function ProductDetail() { Gabung Webinar - ) : Rekaman segera tersedia; + ) : Rekaman segera tersedia; case 'bootcamp': return (