You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, .lightis used as the default colorScheme. Instead, the colorScheme should be taken from the system's colorScheme setting. Otherwise, when using the library, you have to make sure that Neumorphic's colorScheme updates with the system's colorScheme manually.
@Environment(\.colorScheme) can be used for that.
The text was updated successfully, but these errors were encountered:
dkk
changed the title
By default, it should addapt to the system's colorScheme setting
By default, it should adapt to the system's colorScheme setting
Feb 8, 2021
dkk
added a commit
to dkk/neumorphic
that referenced
this issue
Feb 8, 2021
Right now,
.light
is used as the defaultcolorScheme
. Instead, thecolorScheme
should be taken from the system'scolorScheme
setting. Otherwise, when using the library, you have to make sure that Neumorphic'scolorScheme
updates with the system'scolorScheme
manually.@Environment(\.colorScheme)
can be used for that.The text was updated successfully, but these errors were encountered: