There is a function called GetChartBkColor() to get the chart background color. Is there a similar function to get the list view background color?
There is an option called "Use dark theme for list views" under Tools => Customize => Appearance to which I want to react in AFL.
No there is no function to get "dark theme for list views" setting. However colorDefault automatically reacts to background change and is light on dark backgrounds.