Skip to content

Commit 82b936a

Browse files
committed
feat: Add favicon and update page title
1 parent 368ad94 commit 82b936a

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

composeApp/src/wasmJsMain/kotlin/org/nsh07/nsh07/ui/theme/Theme.kt

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
package org.nsh07.nsh07.ui.theme
2+
23
import androidx.compose.foundation.isSystemInDarkTheme
34
import androidx.compose.material3.ExperimentalMaterial3ExpressiveApi
45
import androidx.compose.material3.MaterialExpressiveTheme
@@ -88,15 +89,15 @@ fun Nsh07Theme(
8889
darkTheme: Boolean = isSystemInDarkTheme(),
8990
content: @Composable () -> Unit
9091
) {
91-
val colorScheme = when (darkTheme) {
92-
true -> darkScheme
93-
else -> lightScheme
94-
}
92+
val colorScheme = when (darkTheme) {
93+
true -> darkScheme
94+
else -> lightScheme
95+
}
9596

96-
MaterialExpressiveTheme(
97-
colorScheme = colorScheme,
98-
typography = AppTypography(),
99-
content = content
100-
)
97+
MaterialExpressiveTheme(
98+
colorScheme = colorScheme,
99+
typography = AppTypography(),
100+
content = content
101+
)
101102
}
102103

16.6 KB
Binary file not shown.

composeApp/src/wasmJsMain/resources/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<title>Nishant Mishra</title>
45
<meta charset="UTF-8">
56
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>nsh07</title>
77
<link type="text/css" rel="stylesheet" href="styles.css">
8+
<link href="favicon.ico" rel="icon">
89
<script type="application/javascript" src="composeApp.js"></script>
910
</head>
1011
<body>

0 commit comments

Comments
 (0)