Skip to content

Commit

Permalink
Remove unused comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellet committed Jan 2, 2024
1 parent 32a7d03 commit bb620ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ pluginManagement {
}
}

rootProject.name = "AlrayadaLandingPage"
rootProject.name = "AlrayadaWeb"

include(":site")
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ import org.jetbrains.compose.web.css.px
import org.jetbrains.compose.web.css.rgba
import org.jetbrains.compose.web.css.vh

//private const val COLOR_MODE_KEY = "alrayada_landing_page:colorMode"

@InitSilk
fun initSilk(ctx: InitSilkContext) {
// ctx.config.initialColorMode = localStorage.getItem(COLOR_MODE_KEY)?.let { ColorMode.valueOf(it) } ?: ColorMode.LIGHT

ctx.stylesheet.apply {
registerKeyframes(
Expand Down Expand Up @@ -62,10 +59,6 @@ fun initSilk(ctx: InitSilkContext) {
@Composable
fun MyApp(content: @Composable () -> Unit) {
SilkApp {
// val colorMode = ColorMode.current
// LaunchedEffect(colorMode) {
// localStorage.setItem(COLOR_MODE_KEY, colorMode.name)
// }

LaunchedEffect(Unit) {
updateDocument {
Expand Down

0 comments on commit bb620ba

Please sign in to comment.