Gradient effect

Jan 22, 2023 5 1878
Enable gradient effect for context menu background.

shell {
    set {
        theme {
            background {
                opacity=80
                effect=1
                gradient
                {
                    enabled = true
                    linear = [0, 100, 0, 0]
                    stop = [
                        [0.0, color.accent_dark3, 90],
                        [0.5, color.accent, 90],
                        [1.0, color.accent_dark3, 90]
                    ]
                }
            }
        }
    }
}
image

5 Comments

Dany
Perfect!
André
Can you please elaborate how to implement this in the shell.nss file?
Admin
Andre
Can you please elaborate how to implement this in the shell.nss file?

In the theme section, search for the background and replace it with the following code

background {
opacity=80
effect=1
gradient
{
enabled = true
linear = [0, 100, 0, 0]
stop = [
[0.0, color.accent_dark3, 90],
[0.5, color.accent, 90],
[1.0, color.accent_dark3, 90]
]
}
}

- Save the changes
- Restart Explorer to reload the settings
Andre
Thank you so much!!
Giorgio
Good morning, thank you very much although I know almost nothing about the codes I managed to change the background color, now it's wonderful.

Comment format
  • **bold**
  • [[quote]]
  • [link title](https://site.com)
  • ![image title](https://site.com/image.png)
  • `code`
  • ```code block```