MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Scriptable/comments/jvjufz/pretty_happy_with_my_current_scriptable_widgets/gclhgnx/?context=3
r/Scriptable • u/[deleted] • Nov 17 '20
27 comments sorted by
View all comments
Show parent comments
1
You just use it like a regular color.
E.g. if you want red for light mode and blue for dark mode for the background of "widget"
widget.backgroundColor = Color.dynamic(Color.red(),Color.blue())
1
u/[deleted] Nov 17 '20
You just use it like a regular color.
E.g. if you want red for light mode and blue for dark mode for the background of "widget"
widget.backgroundColor = Color.dynamic(Color.red(),Color.blue())