fix color links

This commit is contained in:
PhilReact 2025-07-15 12:44:27 +03:00
parent c678a4cdb2
commit 0466d046e9

View File

@ -16,7 +16,7 @@ export function processText(input: string): string {
const link = document.createElement('span'); const link = document.createElement('span');
link.setAttribute('data-url', part); link.setAttribute('data-url', part);
link.textContent = part; link.textContent = part;
link.style.color = 'var(--code-block-text-color)'; link.style.color = '#8ab4f8';
link.style.textDecoration = 'underline'; link.style.textDecoration = 'underline';
link.style.cursor = 'pointer'; link.style.cursor = 'pointer';
fragment.appendChild(link); fragment.appendChild(link);