Collecting my attempts to improve at tech, art, and life

[2022-08-04 Thu 10:04]

Tags: logseq workflow try-it-and-see

I tried visually replacing a few Logseq tags with icons in CSS. It worked!

attachments/img/2022-08-04-logseq-icons.png
Three down, a few thousand to go

How’d I do it? Here I’ll just paste from my journal note figuring out the first one. I’m sure I’ll revisit this tonight after taking care of the day’s business.

<div
   class=""
   style="display: inline;"
   data-tooltipped=""
   aria-describedby="tippy-tooltip-119"
   data-original-title="null"
   ><a
	   data-ref="idea"
	   class="tag">#idea</a></div>
a.tag[data-ref="idea"] {
	border: none;
	font-size: 0;
}
a.tag[data-ref="idea"]:after {
	content: "💡";
	font-size: initial;
}

Added to vault 2024-01-15. Updated on 2024-01-26