Colored borders on cards from dataview table in minimal theme

I’m trying to color the borders on cards from dataview table in minimal theme.

I want to color the borders of the cards based on a word in front-matter, so that cards with status “Done” gets a green border, cards with status: “Incomplete” gets a orange border, cards with status “Skipped” gets a red border and cards with status “In-Progress” gets a blue border.

Things I have tried

I have tried asking on the discord server, first in the minimal themes plugin, where I was redirected to the Apperance channel, and from there I was re-redirected to the dataview channel.

I have the following CSS snippet, which was helpfully provided to me, but I can’t make it work because I don’t understand the query I need to make in Dataview for it to work.

.cards table.dataview tr:has([href="#Done"]) {
    border: 5px solid Green;
}

I hope this is the right place for my question and that someone can help me.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.