Invisible buttons in log out, restart and turn off dialogs with white theme

Hi,
I have a problem with invisible buttons, when I want to restart for example. The picture is here:

Snímka obrazovky z dňa 2024-12-05 21-05-09

Can you help me? Thanks.

I found a solution for this problem. There is a gnome extension Light Style. This extension changes default dark theme to light.

We never knew what the problem was, so the “solution” will never help anyone finding this thread via a search engine.