We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Color.Green
1 parent 2daac25 commit c3c6828Copy full SHA for c3c6828
compose-multiplatform-common/src/jsMain/kotlin/com/huanshankeji/compose/ui/graphics/Color.js.kt
@@ -32,8 +32,9 @@ actual /*value*/ class Color(val platformValue: PlatformColor) {
32
@Stable
33
actual val Red: Color = Color(PlatformColors.Red)
34
35
+ // The CSS green is #008000 which differs from the Compose one.
36
- actual val Green: Color = Color(PlatformColors.Green)
37
+ actual val Green: Color = Color(PlatformColor.rgb(0x00, 0xFF, 0x00))
38
39
40
actual val Blue: Color = Color(PlatformColors.Blue)
0 commit comments