package com.remax.visualnovel.ui.main.history.customui.beans

import android.graphics.Color
import androidx.annotation.DrawableRes
import com.remax.visualnovel.R
import com.remax.visualnovel.utils.ResUtil
import com.remax.visualnovel.utils.ResUtil.dpToPx


data class TabItem(
    val text: String,
    @DrawableRes val iconRes: Int = 0,
    var isSelected: Boolean = false
)

data class TabConfig(
    val normalTextColor: Int = ResUtil.getColor(R.color.gray6),
    val selectedTextColor: Int = Color.WHITE,
    val textSize: Float = 14f,
    val iconSize: Int = 20.dpToPx,
    val cornerRadius: Float = 20f.dpToPx.toFloat(),
    val animationDuration: Long = 300,
    val tabSpacing: Int = 8.dpToPx,
    val tabPadding: Int = 16.dpToPx,
    val selectedBackground: Int = Color.BLUE
)
