Hi! I downloaded <RealWorld example application>. ...
# kvision
n
Hi! I downloaded RealWorld example application. I want to add a Dark mode to this project using this information Dark mode documentation. I added dependency in build.gragle.kts (screenshot below). But when I try to import theme manager
import io.kvision.theme.ThemeManager
it says 'Unresolved reference: theme'. Could you help me, please?
r
Hello
The realworld example is a bit outdated, it's currently using KVision 5.13 from July 2022. You would have to upgrade the project to the current version (6.4.0) to use
ThemeManager
.
But first of all - the dark mode support in KVision is based on Bootstrap 5.3.0 color modes.
Realworld example doesn't use Bootstrap at all, so it will not work.
n
@Robert Jaros thank you for the answers. Could you suggest some other easy feature, that I can implement?
r
Searching for articles perhaps? 🙂