<?xml version="1.0" encoding="utf-8"?>
<!--
   Copyright 2015 Synced Synapse. All rights reserved.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="Theme.Kore.Default.Auto" parent="Theme.Kore.Default.Light"/>

    <style name="Theme.Kore.Default.Dark" parent="Theme.Material3.Dark.NoActionBar">
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:navigationBarColor">?attr/colorSurface</item>

        <!-- Icons -->
        <item name="iconOverflow">@drawable/ic_round_more_vert_24</item>
        <item name="drawerArrowStyle">@style/Widget.Kore.DrawerArrowToggle</item>

        <!-- Generated Theme Colors -->
<!--        <item name="colorPrimary">@color/theme_kore_dark_primary</item>-->
        <item name="colorOnPrimary">@color/theme_kore_dark_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_dark_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_dark_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_dark_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_dark_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_dark_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_dark_onSecondaryContainer</item>
<!--        <item name="colorTertiary">@color/theme_kore_dark_tertiary</item>-->
        <item name="colorOnTertiary">@color/theme_kore_dark_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_dark_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_dark_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_dark_error</item>
        <item name="colorErrorContainer">@color/theme_kore_dark_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_dark_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_dark_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_dark_background</item>
        <item name="colorOnBackground">@color/theme_kore_dark_onBackground</item>
<!--        <item name="colorSurface">@color/theme_kore_dark_surface</item>-->
        <item name="colorOnSurface">@color/theme_kore_dark_onSurface</item>
<!--        <item name="colorSurfaceVariant">@color/theme_kore_dark_surfaceVariant</item>-->
<!--        <item name="colorOnSurfaceVariant">@color/theme_kore_dark_onSurfaceVariant</item>-->
        <item name="colorOutline">@color/theme_kore_dark_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_dark_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_dark_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_dark_inversePrimary</item>

        <!-- Customized Colors -->
        <item name="colorPrimary">@color/theme_kore_blue_primaryTone70</item>
        <item name="colorTertiary">@color/theme_kore_blue_tertiaryTone70</item>
<!--        <item name="android:colorBackground">@color/theme_kore_blue_neutralTone20</item>-->
        <item name="colorSurface">@color/theme_kore_blue_neutralTone20</item>
        <item name="colorSurfaceVariant">@color/theme_kore_blue_neutralVariantTone25</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_blue_neutralVariantTone90</item>

        <item name="colorInProgress">?attr/colorTertiary</item>
        <item name="colorFinished">?attr/colorSecondary</item>
        <item name="colorWizardTitleText">?attr/colorSecondary</item>
        <item name="colorWizardTitleBackground">?attr/colorOnSecondary</item>

        <item name="kodiStatusConnected">?attr/colorPrimary</item>
        <item name="kodiStatusConnecting">?attr/colorTertiary</item>
        <item name="kodiStatusUnavailable">?attr/colorError</item>
    </style>

    <!-- Base Light theme, allowing for customization based on the Android version -->
    <style name="Theme.Kore.Default.LightBase" parent="Theme.Material3.Light.NoActionBar">
    </style>

    <style name="Theme.Kore.Default.Light" parent="Theme.Kore.Default.LightBase">

        <!-- Icons -->
        <item name="iconOverflow">@drawable/ic_round_more_vert_24</item>
        <item name="drawerArrowStyle">@style/Widget.Kore.DrawerArrowToggle</item>

        <!-- Generated Theme Colors -->
        <item name="colorPrimary">@color/theme_kore_light_primary</item>
        <item name="colorOnPrimary">@color/theme_kore_light_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_light_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_light_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_light_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_light_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_light_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_light_onSecondaryContainer</item>
        <item name="colorTertiary">@color/theme_kore_light_tertiary</item>
        <item name="colorOnTertiary">@color/theme_kore_light_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_light_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_light_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_light_error</item>
        <item name="colorErrorContainer">@color/theme_kore_light_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_light_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_light_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_light_background</item>
        <item name="colorOnBackground">@color/theme_kore_light_onBackground</item>
        <item name="colorSurface">@color/theme_kore_light_surface</item>
        <item name="colorOnSurface">@color/theme_kore_light_onSurface</item>
        <item name="colorSurfaceVariant">@color/theme_kore_light_surfaceVariant</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_light_onSurfaceVariant</item>
        <item name="colorOutline">@color/theme_kore_light_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_light_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_light_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_light_inversePrimary</item>

        <!-- Customized Colors -->
<!--        <item name="android:colorBackground">@color/theme_kore_blue_neutralTone98</item>-->
<!--        <item name="colorSurface">@color/theme_kore_blue_neutralTone95</item>-->
<!--        <item name="colorSurfaceVariant">@color/theme_kore_blue_neutralVariantTone80</item>-->
<!--        <item name="colorOnSurfaceVariant">@color/theme_kore_blue_neutralVariantTone25</item>-->

        <item name="colorInProgress">?attr/colorTertiary</item>
        <item name="colorFinished">?attr/colorSecondary</item>
        <item name="colorWizardTitleText">?attr/colorOnSecondary</item>
        <item name="colorWizardTitleBackground">?attr/colorSecondary</item>

        <item name="kodiStatusConnected">?attr/colorPrimary</item>
        <item name="kodiStatusConnecting">?attr/colorTertiary</item>
        <item name="kodiStatusUnavailable">?attr/colorError</item>
    </style>


    <!-- Yellow theme -->
    <style name="Theme.Kore.Yellow.Auto" parent="Theme.Kore.Yellow.Light"/>

    <style name="Theme.Kore.Yellow.Light" parent="Theme.Kore.Default.Light">
        <item name="colorPrimary">@color/theme_kore_yellow_light_primary</item>
        <item name="colorOnPrimary">@color/theme_kore_yellow_light_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_yellow_light_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_yellow_light_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_yellow_light_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_yellow_light_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_yellow_light_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_yellow_light_onSecondaryContainer</item>
        <item name="colorTertiary">@color/theme_kore_yellow_light_tertiary</item>
        <item name="colorOnTertiary">@color/theme_kore_yellow_light_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_yellow_light_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_yellow_light_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_yellow_light_error</item>
        <item name="colorErrorContainer">@color/theme_kore_yellow_light_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_yellow_light_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_yellow_light_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_yellow_light_background</item>
        <item name="colorOnBackground">@color/theme_kore_yellow_light_onBackground</item>
        <item name="colorSurface">@color/theme_kore_yellow_light_surface</item>
        <item name="colorOnSurface">@color/theme_kore_yellow_light_onSurface</item>
        <item name="colorSurfaceVariant">@color/theme_kore_yellow_light_surfaceVariant</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_yellow_light_onSurfaceVariant</item>
        <item name="colorOutline">@color/theme_kore_yellow_light_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_yellow_light_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_yellow_light_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_yellow_light_inversePrimary</item>
    </style>

    <style name="Theme.Kore.Yellow.Dark" parent="Theme.Kore.Default.Dark">
        <item name="colorPrimary">@color/theme_kore_yellow_dark_primary</item>
        <item name="colorOnPrimary">@color/theme_kore_yellow_dark_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_yellow_dark_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_yellow_dark_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_yellow_dark_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_yellow_dark_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_yellow_dark_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_yellow_dark_onSecondaryContainer</item>
        <item name="colorTertiary">@color/theme_kore_yellow_dark_tertiary</item>
        <item name="colorOnTertiary">@color/theme_kore_yellow_dark_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_yellow_dark_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_yellow_dark_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_yellow_dark_error</item>
        <item name="colorErrorContainer">@color/theme_kore_yellow_dark_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_yellow_dark_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_yellow_dark_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_yellow_dark_background</item>
        <item name="colorOnBackground">@color/theme_kore_yellow_dark_onBackground</item>
        <item name="colorSurface">@color/theme_kore_yellow_dark_surface</item>
        <item name="colorOnSurface">@color/theme_kore_yellow_dark_onSurface</item>
        <item name="colorSurfaceVariant">@color/theme_kore_yellow_dark_surfaceVariant</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_yellow_dark_onSurfaceVariant</item>
        <item name="colorOutline">@color/theme_kore_yellow_dark_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_yellow_dark_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_yellow_dark_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_yellow_dark_inversePrimary</item>
    </style>

    <!-- Purple theme -->
    <style name="Theme.Kore.Purple.Auto" parent="Theme.Kore.Purple.Light"/>

    <style name="Theme.Kore.Purple.Light" parent="Theme.Kore.Default.Light">
        <item name="colorPrimary">@color/theme_kore_purple_light_primary</item>
        <item name="colorOnPrimary">@color/theme_kore_purple_light_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_purple_light_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_purple_light_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_purple_light_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_purple_light_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_purple_light_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_purple_light_onSecondaryContainer</item>
        <item name="colorTertiary">@color/theme_kore_purple_light_tertiary</item>
        <item name="colorOnTertiary">@color/theme_kore_purple_light_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_purple_light_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_purple_light_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_purple_light_error</item>
        <item name="colorErrorContainer">@color/theme_kore_purple_light_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_purple_light_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_purple_light_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_purple_light_background</item>
        <item name="colorOnBackground">@color/theme_kore_purple_light_onBackground</item>
        <item name="colorSurface">@color/theme_kore_purple_light_surface</item>
        <item name="colorOnSurface">@color/theme_kore_purple_light_onSurface</item>
        <item name="colorSurfaceVariant">@color/theme_kore_purple_light_surfaceVariant</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_purple_light_onSurfaceVariant</item>
        <item name="colorOutline">@color/theme_kore_purple_light_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_purple_light_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_purple_light_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_purple_light_inversePrimary</item>
    </style>

    <style name="Theme.Kore.Purple.Dark" parent="Theme.Kore.Default.Dark">
        <item name="colorPrimary">@color/theme_kore_purple_dark_primary</item>
        <item name="colorOnPrimary">@color/theme_kore_purple_dark_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_purple_dark_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_purple_dark_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_purple_dark_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_purple_dark_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_purple_dark_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_purple_dark_onSecondaryContainer</item>
        <item name="colorTertiary">@color/theme_kore_purple_dark_tertiary</item>
        <item name="colorOnTertiary">@color/theme_kore_purple_dark_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_purple_dark_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_purple_dark_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_purple_dark_error</item>
        <item name="colorErrorContainer">@color/theme_kore_purple_dark_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_purple_dark_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_purple_dark_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_purple_dark_background</item>
        <item name="colorOnBackground">@color/theme_kore_purple_dark_onBackground</item>
        <item name="colorSurface">@color/theme_kore_purple_dark_surface</item>
        <item name="colorOnSurface">@color/theme_kore_purple_dark_onSurface</item>
        <item name="colorSurfaceVariant">@color/theme_kore_purple_dark_surfaceVariant</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_purple_dark_onSurfaceVariant</item>
        <item name="colorOutline">@color/theme_kore_purple_dark_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_purple_dark_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_purple_dark_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_purple_dark_inversePrimary</item>
    </style>

    <!-- Green theme -->
    <style name="Theme.Kore.Green.Auto" parent="Theme.Kore.Green.Light"/>

    <style name="Theme.Kore.Green.Light" parent="Theme.Kore.Default.Light">
        <item name="colorPrimary">@color/theme_kore_green_light_primary</item>
        <item name="colorOnPrimary">@color/theme_kore_green_light_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_green_light_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_green_light_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_green_light_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_green_light_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_green_light_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_green_light_onSecondaryContainer</item>
        <item name="colorTertiary">@color/theme_kore_green_light_tertiary</item>
        <item name="colorOnTertiary">@color/theme_kore_green_light_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_green_light_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_green_light_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_green_light_error</item>
        <item name="colorErrorContainer">@color/theme_kore_green_light_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_green_light_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_green_light_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_green_light_background</item>
        <item name="colorOnBackground">@color/theme_kore_green_light_onBackground</item>
        <item name="colorSurface">@color/theme_kore_green_light_surface</item>
        <item name="colorOnSurface">@color/theme_kore_green_light_onSurface</item>
        <item name="colorSurfaceVariant">@color/theme_kore_green_light_surfaceVariant</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_green_light_onSurfaceVariant</item>
        <item name="colorOutline">@color/theme_kore_green_light_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_green_light_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_green_light_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_green_light_inversePrimary</item>
    </style>

    <style name="Theme.Kore.Green.Dark" parent="Theme.Kore.Default.Dark">
        <item name="colorPrimary">@color/theme_kore_green_dark_primary</item>
        <item name="colorOnPrimary">@color/theme_kore_green_dark_onPrimary</item>
        <item name="colorPrimaryContainer">@color/theme_kore_green_dark_primaryContainer</item>
        <item name="colorOnPrimaryContainer">@color/theme_kore_green_dark_onPrimaryContainer</item>
        <item name="colorSecondary">@color/theme_kore_green_dark_secondary</item>
        <item name="colorOnSecondary">@color/theme_kore_green_dark_onSecondary</item>
        <item name="colorSecondaryContainer">@color/theme_kore_green_dark_secondaryContainer</item>
        <item name="colorOnSecondaryContainer">@color/theme_kore_green_dark_onSecondaryContainer</item>
        <item name="colorTertiary">@color/theme_kore_green_dark_tertiary</item>
        <item name="colorOnTertiary">@color/theme_kore_green_dark_onTertiary</item>
        <item name="colorTertiaryContainer">@color/theme_kore_green_dark_tertiaryContainer</item>
        <item name="colorOnTertiaryContainer">@color/theme_kore_green_dark_onTertiaryContainer</item>
        <item name="colorError">@color/theme_kore_green_dark_error</item>
        <item name="colorErrorContainer">@color/theme_kore_green_dark_errorContainer</item>
        <item name="colorOnError">@color/theme_kore_green_dark_onError</item>
        <item name="colorOnErrorContainer">@color/theme_kore_green_dark_onErrorContainer</item>
        <item name="android:colorBackground">@color/theme_kore_green_dark_background</item>
        <item name="colorOnBackground">@color/theme_kore_green_dark_onBackground</item>
        <item name="colorSurface">@color/theme_kore_green_dark_surface</item>
        <item name="colorOnSurface">@color/theme_kore_green_dark_onSurface</item>
        <item name="colorSurfaceVariant">@color/theme_kore_green_dark_surfaceVariant</item>
        <item name="colorOnSurfaceVariant">@color/theme_kore_green_dark_onSurfaceVariant</item>
        <item name="colorOutline">@color/theme_kore_green_dark_outline</item>
        <item name="colorOnSurfaceInverse">@color/theme_kore_green_dark_inverseOnSurface</item>
        <item name="colorSurfaceInverse">@color/theme_kore_green_dark_inverseSurface</item>
        <item name="colorPrimaryInverse">@color/theme_kore_green_dark_inversePrimary</item>
    </style>

</resources>