Tint Mode turns all backgroundColor and textColor white

In tint mode all background colors turn white, even black.
The only thing that seems to works is object.backgroundColor = Color.clear or not to specify any background color, then the background is black.
The same happens to the text color. It always turns white or something like that.

The problem with that is, that i do not see a possibility to check if the tint mode is on.
Since the tint mode ist part of the dark mode its not possible to use background colors in the dark mode, if you want to support tint mode in a widget.

Is this “works as designed” or is this a bug?
Are there any known workarounds?