I've got a button that I set to only show up when flat view is enabled, and I gave it a pale red background color so it sort of stands out compared to permanent buttons:
But the coloring doesn't look good in dark mode:
I was trying to see if there was a way to change the background color via command like there seems to be with the label text using the @label modifier.
Though as a side note I haven't quite figured out how to use the @if modifiers yet, like I was testing like this but I must be doing something wrong, it only shows the 'Off' version:
@if:Set DARKMODE=on
@label "Test - Dark On"
@if:else
@label "Test - Dark Off"
In any case I'm able to get it to work by simply making two separate buttons with different colors and using @hideif (Like @hideif:Set DARKMODE=off ), but I was wondering if there's a more direct way to do it.