I was looking to do something similar (different header color per active tab) and was glad to see this posted. It wasn’t working for me at first until I added quotes around the tab numbers, like so:
custom_header:
exceptions:
- conditions:
tab: '0'
config:
active_tab_color: 'white'
- conditions:
tab: '1'
config:
active_tab_color: 'yellow'
Not sure if this will help in your setup but might be worth a shot.
Also, in order to get multiple conditions to work I had to create repetitive exceptions:
- conditions:
tab: '1'
config:
background: '#9932CC'
- conditions:
tab: '1'
user_agent: Mobile
config:
menu_hide: true
options_hide: true
background: '#9932CC'
The first condition makes the header background purple for tab 1. The problem is it doesn’t work in conjunction with my mobile user exceptions, so I created another exception that includes both conditions. The second one here makes the header background purple for tab 1 when also on mobile. It’s a little roundabout but seems to work in my case.