Yin-and-Yang-Theme icon indicating copy to clipboard operation
Yin-and-Yang-Theme copied to clipboard

[Feature] Add support for specific kanban card color.

Open Quorafind opened this issue 3 years ago • 1 comments

After the newest update of Kanban #181, now we are allowed to modify specific card with specific tag by using css.

like:

.kanban-plugin .has-tag-A .kanban-plugin__item-title-wrapper  {
  background: #fee9f4 !important; 
}

.kanban-plugin .has-tag-A .kanban-plugin__item-content-wrapper {
  padding: .3em .3em .3em .3em !important;
  border-radius: .025em !important;
  background: #fee9f4 !important; 
}

.kanban-plugin__item .has-tag-A {
  background: #fee9f4 !important; 
}

to change a card's color by using tag A .

So don't know if it is possible to add support to modify the css easily in style setting. If it is doable, please consider add this support.

Quorafind avatar Jun 10 '21 12:06 Quorafind

Hmm. This won't be possible with just pure css. In order to do this, I would need to declare variables based on user input, which just can't be done with css alone. I think it would be best to submit an issue on the Kanban Plugin repo. Sounds like a fun feature!

chetachiezikeuzor avatar Jun 20 '21 00:06 chetachiezikeuzor