<resources>

    <!-- Base application light theme. -->
    <style name="Theme.Bitsy" parent="Theme.MaterialComponents.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorOnPrimary">@android:color/white</item>
        <item name="colorPrimaryVariant">@color/colorPrimaryVariant</item>
        <item name="colorSecondary">@color/colorSecondary</item>
        <item name="colorOnSecondary">#fff</item>
        <item name="android:itemTextAppearance">@style/MenuItemTextStyle</item>
        <!--Custom attributes -->
        <item name="android:fontFamily">@font/p_f_beau_sans_pro</item>
        <item name="themedColorBackgroundFloating">@android:color/white</item>
        <item name="android:statusBarColor">@color/colorPrimaryVariant</item>
        <item name="android:navigationBarColor">@color/colorPrimaryVariant</item>
    </style>

    <!-- Base application dark theme. -->
    <style name="Theme.Bitsy.Dark" parent="Theme.MaterialComponents.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorOnPrimary">@android:color/white</item>
        <item name="colorPrimaryVariant">@color/colorPrimaryVariant</item>
        <item name="colorSecondary">@color/colorSecondary</item>
        <item name="colorOnSecondary">#fff</item>
        <item name="android:itemTextAppearance">@style/MenuItemTextStyle.Dark</item>
        <!--Custom attributes -->
        <item name="android:fontFamily">@font/p_f_beau_sans_pro</item>
        <item name="themedColorBackgroundFloating">@color/colorBackgroundFloating</item>
        <item name="android:statusBarColor">@color/colorStatusBarDark</item>
        <item name="android:navigationBarColor">@color/colorStatusBarDark</item>
    </style>

    <!-- Custom widget styles -->
    <style name="SplashTheme" parent="Theme.Bitsy">
        <item name="android:windowBackground">@drawable/splash_screen</item>
    </style>

    <style name="MenuItemTextStyle" parent="@android:style/TextAppearance.Widget.IconMenu.Item">
        <item name="android:textColor">@color/black</item>
    </style>

    <style name="MenuItemTextStyle.Dark" >
        <item name="android:textColor">@color/white</item>
    </style>

    <style name="Widget.Bitsy.TextInputLayout" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox" />

    <style name="Widget.Bitsy.Button" parent="Widget.MaterialComponents.Button">
        <item name="android:textColor">@android:color/white</item>
        <item name="android:stateListAnimator">@animator/button_state_list_anim</item>
    </style>

    <style name="Widget.Bitsy.Button.TextButton" parent="Widget.MaterialComponents.Button.TextButton">
        <item name="android:textColor">?android:attr/colorPrimary</item>
    </style>

    <style name="Widget.Bitsy.Switch.Merchants" parent="Widget.AppCompat.CompoundButton.Switch">
        <item name="colorAccent">#0E9257</item>
        <item name="colorControlActivated">#0E9257</item>
    </style>

    <style name="Widget.Bitsy.Switch.Tellers" parent="Widget.AppCompat.CompoundButton.Switch">
        <item name="colorAccent">#FCCF0E</item>
        <item name="colorControlActivated">#FCCF0E</item>
    </style>

    <!-- Text styles -->
    <style name="TextAppearance.Bitsy.Headline5" parent="TextAppearance.MaterialComponents.Headline5" />
    <style name="TextAppearance.Bitsy.Headline6" parent="TextAppearance.MaterialComponents.Headline6" />
    <style name="TextAppearance.Bitsy.Subtitle1" parent="TextAppearance.MaterialComponents.Subtitle1" />
    <style name="TextAppearance.Bitsy.Body1" parent="TextAppearance.MaterialComponents.Body1" />
    <style name="TextAppearance.Bitsy.Body2" parent="TextAppearance.MaterialComponents.Body2" />
    <style name="TextAppearance.Bitsy.Body2.Error" >
        <item name="android:textColor">@color/colorSend</item>
    </style>
    <style name="TextAppearance.Bitsy.Caption" parent="TextAppearance.MaterialComponents.Caption"/>
</resources>
