mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
start adding of colors work
This commit is contained in:
1 parent
430240a6ad
commit
05bfbfe381
4 files changed
+23
-4
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package dev.inmo.tgbotapi.types.colors
|
||||
|
||||
import dev.inmo.micro_utils.colors.common.HEXAColor
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlin.jvm.JvmInline
|
||||
|
||||
@Serializable
|
||||
@JvmInline
|
||||
value class ColorId(
|
||||
val int: Int
|
||||
) {
|
||||
companion object {
|
||||
val defaultAccentColors = mapOf(
|
||||
ColorId(0) to HEXAColor(0xff0000ffu),
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user