|
|
@ -8,9 +8,9 @@ import androidx.compose.material.* |
|
|
|
import androidx.compose.runtime.* |
|
|
|
import androidx.compose.runtime.* |
|
|
|
import androidx.compose.ui.Alignment |
|
|
|
import androidx.compose.ui.Alignment |
|
|
|
import androidx.compose.ui.Modifier |
|
|
|
import androidx.compose.ui.Modifier |
|
|
|
import androidx.compose.ui.WithConstraints |
|
|
|
|
|
|
|
import androidx.compose.ui.graphics.Color |
|
|
|
import androidx.compose.ui.graphics.Color |
|
|
|
import androidx.compose.ui.graphics.luminance |
|
|
|
import androidx.compose.ui.graphics.luminance |
|
|
|
|
|
|
|
import androidx.compose.ui.layout.WithConstraints |
|
|
|
import androidx.compose.ui.platform.DensityAmbient |
|
|
|
import androidx.compose.ui.platform.DensityAmbient |
|
|
|
import androidx.compose.ui.text.AnnotatedString |
|
|
|
import androidx.compose.ui.text.AnnotatedString |
|
|
|
import androidx.compose.ui.text.SpanStyle |
|
|
|
import androidx.compose.ui.text.SpanStyle |
|
|
@ -400,4 +400,4 @@ fun parseColor(hexString: String): Color { |
|
|
|
val green = parseInt(hexString.subSequence(2, 4).toString(), 16) |
|
|
|
val green = parseInt(hexString.subSequence(2, 4).toString(), 16) |
|
|
|
val blue = parseInt(hexString.subSequence(4, 6).toString(), 16) |
|
|
|
val blue = parseInt(hexString.subSequence(4, 6).toString(), 16) |
|
|
|
return Color(red, green, blue) |
|
|
|
return Color(red, green, blue) |
|
|
|
} |
|
|
|
} |
|
|
|