From cc054e16bbbc5f3d981162cc4f1d8151ba491b5b Mon Sep 17 00:00:00 2001 From: Shagen Ogandzhanian Date: Wed, 14 Jul 2021 23:15:46 +0200 Subject: [PATCH] Revert "CSSStyleVariable is a value class" This reverts commit 64f3f0d5b1c7eef6ac2b0d50ec4abd246f298285. --- .../jsMain/kotlin/org/jetbrains/compose/web/css/StyleBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StyleBuilder.kt b/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StyleBuilder.kt index 516b12ff8c..a0214fb3cc 100644 --- a/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StyleBuilder.kt +++ b/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StyleBuilder.kt @@ -61,7 +61,7 @@ interface CSSVariable { val name: String } -value class CSSStyleVariable(override val name: String) : CSSVariable +class CSSStyleVariable(override val name: String) : CSSVariable fun CSSStyleVariable.value(fallback: TValue? = null) = CSSVariableValue(