Created
May 27, 2024 20:49
-
-
Save azazellj/be7ed8d80bd8d75a86ae715d619b1c3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal data class ComposeColor(val value: String) : GeneratedType | |
// replace color from #ffffffff to 0xffffffff | |
internal val ComposeColor.valueFormatted: String get() = value.replace("#", "0x") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment