logseq-bonofix-theme icon indicating copy to clipboard operation
logseq-bonofix-theme copied to clipboard

Tag colors

Open joaosimuai opened this issue 1 year ago • 2 comments

Is it possible to change them based in properties, colors or any other option? Thanks.

joaosimuai avatar Jul 06 '23 15:07 joaosimuai

Sorry for late response. To change the global tag background color in this theme, add the following code to the custom.css file located in your graph:

:root {
   --bf-tag-background-color: your color;
}

For specific tag background:

a.tag[data-ref="your-tag-text"] {
    background: your color;
}

Sansui233 avatar Nov 02 '23 07:11 Sansui233

Sorry for late response. To change the global tag background color in this theme, add the following code to the custom.css file located in your graph:抱歉迟了回应。要更改此主题中的全局标签背景颜色,请将以下代码添加到图表中的 custom.css 文件中:

:root {
   --bf-tag-background-color: your color;
}

For specific tag background:对于特定标签背景:

a.tag[data-ref="your-tag-text"] {
    background: your color;
}

I have tried your code, but it does not work

huccihuang avatar Feb 29 '24 05:02 huccihuang