cursor color

This commit is contained in:
roryjshelton 2023-05-07 16:46:18 +02:00
parent 64a986fef3
commit 2d37d885bb
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ const HeaderContent = () => {
var lastIndex = randomString.lastIndexOf(" ");
return <div>
<Typewriter options={
{cursor: "_"}
{cursor: `<span class="text-[color:var(--aquamarine)]">${
'_'
}</span>`}
}
onInit={
(typewriter) => {