Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag colors #30

Open
joaosimuai opened this issue Jul 6, 2023 · 2 comments
Open

Tag colors #30

joaosimuai opened this issue Jul 6, 2023 · 2 comments

Comments

@joaosimuai
Copy link

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

@Sansui233
Copy link
Owner

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;
}

@huccihuang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants