Skip to content

Commit bc1bcf5

Browse files
committed
Fix text color of accept button
1 parent 0ce227c commit bc1bcf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,8 @@ export const EditorUI = (props: EditorUIProps) => {
12021202

12031203
const acceptBtn = document.createElement('button')
12041204
acceptBtn.style.backgroundColor = 'var(--ai)'
1205-
acceptBtn.classList.add(...['btn', 'border', 'align-items-center', 'px-1', 'py-0', 'mr-1', 'text-dark'])
1205+
acceptBtn.style.color = 'var(--vscode-editor-background)'
1206+
acceptBtn.classList.add(...['btn', 'border', 'align-items-center', 'px-1', 'py-0', 'mr-1'])
12061207
acceptBtn.style.fontSize = '0.8rem'
12071208
acceptBtn.textContent = 'Accept'
12081209

0 commit comments

Comments
 (0)