obsidian-kanban
obsidian-kanban copied to clipboard
[Feature Request] Change card color based on priority OR use color selector to change card's color
It will be nice to make the card colorful in a single Kanban.
This would be really helpful so that one can see at a glance the type of card, e.g. home, work etc. Perhaps based on tag?
I would like this feature will be implemented. I think it would be very useful for organization :)
+1
Not a solution but related: there is a todo in the roadmap for assigning colors to tags.
Not a solution but related: there is a todo in the roadmap for assigning colors to tags.
There's a css class for Kanban items that have specific tags.
.kanban-plugin__item.has-tag-TAGNAMEGOESHERE { border: 2px solid!important; border-left: 6px solid !important; border-color: rgba(255,217,75,1) !important; }

For assigning colors to tags you can style based on the href attribute
a.tag.kanban-plugin__item-tag{
padding-right: 10px !important;
padding-left: 10px !important;
border-radius: 10px !important;
}
a.tag.kanban-plugin__item-tag[href="#essential"]{
background-color: rgba(255,183,0,1) !important;
color:rgb(0,0,0) !important;
}
a.tag.kanban-plugin__item-tag[href="#bug"]{
background-color: rgba(255,0,0,1) !important;
color:rgb(255,255,255) !important;
}
a.tag.kanban-plugin__item-tag[href="#verified"]{
background-color: rgba(19,198,103,1) !important;
color:rgb(0,0,0) !important;
}
a.tag.kanban-plugin__item-tag[href="#documentation"]{
background-color: rgba(0,117,202,1) !important;
color:rgb(255,255,255) !important;
}
Another request for being able to set card body colors. Knowing that we can edit the tag styles is pretty awesome in the meantime, though!