mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Fix web integration tests
This commit is contained in:
@@ -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>()
|
||||
|
||||
|
||||
@@ -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>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user