Marittc
November 7, 2024, 11:45pm
1
Hello!
I am using a script to change the outliner header colors below, however, when I try colors off the CSS website most dont work. Is there a list of allowed colors (By name) that I can use?
CSS Colors
CSS snippet:
[data-type="outline"] {
/* h1 */
.tree-item .tree-item-self > .tree-item-inner{
color: var(--color-white);
}
ariehen
November 8, 2024, 12:01am
2
These are the variable colors available in the default theme (defined for both .theme-light
and .theme-dark
):
For anything else, just skip the var()
section and use the color itself. e.g.
[data-type="outline"] {
/* h1 */
.tree-item .tree-item-self > .tree-item-inner{
color: deeppink;
}
[data-type="outline"] {
/* h1 */
.tree-item .tree-item-self > .tree-item-inner{
color: lawngreen;
}
etc.
1 Like
system
Closed
November 15, 2024, 12:01am
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.