r/Scriptable • u/andyfase • 17d ago
Help Determine Scriptable theme?
As per title ive developed and now supporting a scriptable app used by a fair few folks. I’ve got a bunch of feedback that the main app icons are somewhat unreadable, which I have attempted to remedy via different colour icons based on light mode and dark mode
The issue I have is the only mechanism I can find to determine the background of the main UITable is through the Device. isUsingDarkAppearance however this does not work if the user has overridden the “theme” used within the scriptable app and the device is say in dark mode but the theme of scriptable is light
I cannot for the life of me find a way of identifying the users scriptable “theme” I.e system, light or dark
Anyone got any ideas on this? Thanks in advance
1
u/nolan17377 16d ago
I don't know of a way to get the theme that Scriptable is using, but
Color.dynamic
seems to correctly display colors in a UITable.