We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 957ac22 commit a7cfda9Copy full SHA for a7cfda9
sample/shared/src/commonMain/kotlin/com/kevinnzou/sample/WebViewApp.kt
@@ -12,8 +12,8 @@ import com.multiplatform.webview.web.rememberWebViewState
12
@Composable
13
internal fun WebViewApp() {
14
// WebViewSample()
15
- BasicWebViewSample()
16
-// BasicWebViewWithHTMLSample()
+// BasicWebViewSample()
+ BasicWebViewWithHTMLSample()
17
}
18
19
sample/shared/src/commonMain/kotlin/com/kevinnzou/sample/res/HtmlRes.kt
@@ -20,6 +20,14 @@ object HtmlRes {
20
text-align: center;
21
color: ffffff;
22
23
+ @media (prefers-color-scheme: dark) {
24
+ body {
25
+ background-color: white;
26
+ }
27
+ h1, h2 {
28
+ color: black;
29
30
31
</style>
32
</head>
33
<body>
0 commit comments