Browse Source

Fix web integration tests

ci/COMPOSE_EXAMPLES
Shagen Ogandzhanian 3 years ago
parent
commit
f3d4a2cbfa
  1. 2
      web/benchmark-core/src/jsMain/kotlin/com/sample/style/Stylesheet.kt
  2. 2
      web/integration-core/src/jsMain/kotlin/androidx/compose/web/sample/Sample.kt

2
web/benchmark-core/src/jsMain/kotlin/com/sample/style/Stylesheet.kt

@ -3,7 +3,7 @@ package com.sample.style
import org.jetbrains.compose.web.css.*
import org.jetbrains.compose.web.css.selectors.CSSSelector
object AppCSSVariables : CSSVariables {
object AppCSSVariables {
val wtColorGreyLight by variable<CSSColorValue>()
val wtColorGreyDark by variable<CSSColorValue>()

2
web/integration-core/src/jsMain/kotlin/androidx/compose/web/sample/Sample.kt

@ -38,7 +38,7 @@ class State {
val globalState = State()
val globalInt = mutableStateOf(1)
object MyCSSVariables : CSSVariables {
object MyCSSVariables {
val myVar by variable<CSSColorValue>()
val myVar2 by variable<StylePropertyString>()
}

Loading…
Cancel
Save