Background color change dark / light mode big sur

How can I configure the background color of buttons to change when I toggle dark / light mode in MacOS?

Example:
Light mode big sur -> All background color set to white
Dark mode big sur -> All background color set to black