package com.aiosman.ravenow

import androidx.compose.ui.graphics.Color

//var AppColors = LightThemeColors()
//var AppColors = if (AppState.darkMode) DarkThemeColors() else LightThemeColors()

open class AppThemeData(
    var main: Color,
    var mainText: Color,
    var basicMain: Color,
    var nonActive: Color,
    var text: Color,
    var nonActiveText: Color,
    var secondaryText: Color,
    var loadingMain: Color,
    var loadingText: Color,
    var disabledBackground: Color,
    var background: Color,
    var secondaryBackground: Color,
    var decentBackground: Color,
    var divider: Color,
    var inputBackground: Color,
    var inputBackground2: Color,
    var inputHint: Color,
    var error: Color,
    var checkedBackground: Color,
    var unCheckedBackground: Color,
    var checkedText: Color,
    var chatActionColor: Color,
    var brandColorsColor: Color,
    var tabSelectedBackground: Color,
    var tabUnselectedBackground: Color,
    var tabSelectedText: Color,
    var tabUnselectedText: Color,
    var bubbleBackground: Color,
    var profileBackground:Color,
    // Premium 按钮相关颜色
    var premiumText: Color,
    var premiumBackground: Color,
    // VIP 权益强调色（用于 2X / 勾选高亮）
    var vipHave: Color,
    // 价格卡片颜色
    var priceCardSelectedBorder: Color,
    var priceCardSelectedBackground: Color,
    var priceCardUnselectedBorder: Color,
    var priceCardUnselectedBackground: Color,
)

class LightThemeColors : AppThemeData(
    main = Color(0xffD80264),
    mainText = Color(0xffffffff),
    basicMain = Color(0xfff0f0f0),
    nonActive = Color(0xfff5f5f5),
    text = Color(0xff333333),
    nonActiveText = Color(0xff3C3C43),
    secondaryText = Color(0x99000000),
    loadingMain = Color(0xFFD95757),
    loadingText = Color(0xffffffff),
    disabledBackground = Color(0xFFD0D0D0),
    background = Color(0xFFFFFFFF),
    secondaryBackground = Color(0xFFF7f7f7),
    divider = Color(0xFFEbEbEb),
    inputBackground = Color(0xFFF7f7f7),
    inputBackground2 = Color(0xFFFFFFFF),
    inputHint = Color(0xffdadada),
    error = Color(0xffFF0000),
    checkedBackground = Color(0xff000000),
    unCheckedBackground  = Color(0xFFECEAEC),
    checkedText = Color(0xffFFFFFF),
    decentBackground = Color(0xfff5f5f5),
    chatActionColor = Color(0xffe0e0e0),
    brandColorsColor = Color(0xffD80264),
    tabSelectedBackground = Color(0xff110C13),
    tabUnselectedBackground = Color(0xfffaf9fb),
    tabSelectedText = Color(0xffffffff),
    tabUnselectedText = Color(0xff000000),
    bubbleBackground = Color(0xfff5f5f5),
    profileBackground = Color(0xffffffff),
    premiumText = Color(0xFFCD7B00),
    premiumBackground = Color(0xFFFFF5D4),
    vipHave = Color(0xFFFAAD14),
    priceCardSelectedBorder = Color(0xFF000000),
    priceCardSelectedBackground = Color(0xFFFFF5D4),
    priceCardUnselectedBorder = Color(0xFFF0EEF1),
    priceCardUnselectedBackground = Color(0xFFFAF9FB),
)

class DarkThemeColors : AppThemeData(
    main = Color(0xffda3832),
    mainText = Color(0xffffffff),
    basicMain = Color(0xFF1C1C1C),
    nonActive = Color(0xff1f1f1f),
    text = Color(0xffffffff),
    nonActiveText = Color(0xff888888),
    secondaryText = Color(0x99ffffff),
    loadingMain = Color(0xFFD95757),
    loadingText = Color(0xff000000),
    disabledBackground = Color(0xFF3A3A3A),
    background = Color(0xFF121212),
    secondaryBackground = Color(0xFF1C1C1C),
    divider = Color(0xFF282828),
    inputBackground = Color(0xFF1C1C1C),
    inputBackground2 = Color(0xFF1C1C1C),
    inputHint = Color(0xff888888),
    error = Color(0xffFF0000),
    checkedBackground = Color(0xffffffff),
    unCheckedBackground  = Color(0xFF7C7480),
    checkedText = Color(0xff000000),
    decentBackground = Color(0xFF171717),
    chatActionColor = Color(0xFF3D3D3D),
    brandColorsColor = Color(0xffD80264),
    tabSelectedBackground = Color(0xffffffff),
    tabUnselectedBackground = Color(0xFF1C1C1C),
    tabSelectedText = Color(0xff000000),
    tabUnselectedText = Color(0xffffffff),
    bubbleBackground = Color(0xff2d2c2e),
    profileBackground = Color(0xff100c12),
    // 暗色模式下的Premium按钮颜色 - 使用更暗的黄色调
    premiumText = Color(0xFF000000),
    premiumBackground = Color(0xFFFAAD14),
    // VIP权益强调色 - 保持金黄色但调整透明度
    vipHave = Color(0xFFFAAD14),
    // 暗色模式下的价格卡片颜色
    priceCardSelectedBorder = Color(0xFFFAAD14),
    priceCardSelectedBackground = Color(0xFF2A2A2A),
    priceCardUnselectedBorder = Color(0xFF3A3A3A),
    priceCardUnselectedBackground = Color(0xFF1C1C1C),

)