mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-16 13:49:26 +00:00
start adding of colors work
This commit is contained in:
@@ -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