Sublime Forum

Unsaved Changes Indicator Style

#1

This may have been asked before but I’m having trouble finding search results related. I’m just wondering the way to modify in my theme, these sidebar unsaved changes indicator icons and their styles. I’d really like that little dot to stand out more than it does. Thanks

21

0 Likes

#2
        {
            "class": "close_button",
            "attributes": ["dirty"],
            "layer0.tint": "magenta",
            "layer0.opacity": 1.0
        },

Possibly adjust the layer number to what is used by your theme, and color to what you prefer.
If you want different effects on mouse hover, you can experiment with something like

        {
            "class": "close_button",
            "parents": [{"class": "tree_row", "attributes": ["hover"]}],
            "attributes": ["dirty"],
            "layer0.tint": "pink"
        },
        {
            "class": "close_button",
            "attributes": ["dirty", "hover"],
            "layer0.tint": "red"
        },
4 Likes

#3

Thank you! this worked perfectly for my needs.

16

0 Likes