<resources>
    <attr name="linkColor" type="color" />
    <attr name="errorColor" type="color" />
    <attr name="successColor" type="color" />
    <attr name="cardviewColor" type="color" />
    <attr name="iconColor" type="color" />
    <attr name="iconColorMenu" type="color" />
    <attr name="textHeader" type="color" />
    <attr name="customFeature" type="color" />
    <attr name="cardviewHeaderBoostColor" type="color" />
    <attr name="statusTextColor" type="color" />
    <attr name="mTextColor" type="color" />

    <style name="AppTheme" parent="Theme.Cyanea.Light.NoActionBar">

        <item name="cardviewColor">@color/white</item>
        <item name="iconColor">@color/black</item>
        <item name="iconColorMenu">@color/black</item>
        <item name="textHeader">@color/black</item>
        <item name="customFeature">@color/mastodonC4</item>
        <item name="cardviewHeaderBoostColor">@color/mastodonC2</item>
        <item name="statusTextColor">@color/black</item>
        <item name="mTextColor">@color/black</item>
        <item name="android:textColor">@color/black</item>
        <item name="linkColor">@color/light_link_toot</item>
        <item name="android:popupMenuStyle">@style/Fedilab.PopupMenu.Light</item>
        <item name="errorColor">@color/red_1</item>
        <item name="windowNoTitle">true</item>
        <!-- specify enter and exit transitions -->
        <item name="android:windowEnterTransition">@android:transition/explode</item>
        <item name="android:windowExitTransition">@android:transition/explode</item>
        <item name="android:itemBackground">@drawable/menu_selector_light</item>
        <!-- specify shared element transitions -->
        <item name="android:windowSharedElementEnterTransition">
            @transition/change_image_transform
        </item>
        <item name="android:windowSharedElementExitTransition">
            @transition/change_image_transform
        </item>
        <item name="android:popupWindowStyle">@style/Cyanea.PopupMenu.Light</item>
        <item name="android:windowBackground">@color/cyanea_background_light</item>

        <item name="colorControlActivated">@color/cyanea_accent_reference</item>
        <item name="colorSwitchThumbNormal">#E0E0E0</item>
    </style>

    <style name="AppThemeDark" parent="Theme.Cyanea.Dark.NoActionBar">
        <item name="cardviewColor">@color/mastodonC1_</item>
        <item name="iconColor">@color/dark_icon_theme</item>
        <item name="iconColorMenu">@color/dark_icon_theme</item>
        <item name="textHeader">@color/dark_text_toot_header</item>
        <item name="customFeature">@color/mastodonC4</item>
        <item name="cardviewHeaderBoostColor">@color/mastodonC1___</item>
        <item name="statusTextColor">@color/dark_text</item>
        <item name="mTextColor">@color/dark_text</item>
        <item name="android:textColor">@color/dark_text</item>
        <item name="linkColor">@color/dark_link_toot</item>
        <item name="android:itemBackground">@color/cyanea_background_dark</item>
        <item name="android:popupMenuStyle">@style/Fedilab.PopupMenu.Dark</item>
        <item name="windowNoTitle">true</item>
        <item name="errorColor">@color/red_1</item>
        <!-- specify enter and exit transitions -->
        <item name="android:windowEnterTransition">@android:transition/explode</item>
        <item name="android:windowExitTransition">@android:transition/explode</item>

        <!-- specify shared element transitions -->
        <item name="android:windowSharedElementEnterTransition">
            @transition/change_image_transform
        </item>
        <item name="android:windowSharedElementExitTransition">
            @transition/change_image_transform
        </item>
        <item name="android:popupWindowStyle">@style/Cyanea.PopupMenu.Dark</item>
        <item name="android:windowBackground">@color/cyanea_background_dark</item>
        <item name="colorControlActivated">@color/cyanea_accent_reference</item>
        <item name="colorSwitchThumbNormal">#E0E0E0</item>
    </style>


    <style name="AppThemeBar" parent="Theme.Cyanea.Light">

        <item name="cardviewColor">@color/white</item>
        <item name="iconColor">@color/black</item>
        <item name="iconColorMenu">@color/black</item>
        <item name="textHeader">@color/black</item>
        <item name="customFeature">@color/mastodonC4</item>
        <item name="cardviewHeaderBoostColor">@color/mastodonC2</item>
        <item name="statusTextColor">@color/black</item>
        <item name="mTextColor">@color/black</item>
        <item name="android:textColor">@color/black</item>
        <item name="linkColor">@color/light_link_toot</item>
        <item name="android:popupMenuStyle">@style/Fedilab.PopupMenu.Light</item>
        <item name="android:popupWindowStyle">@style/Cyanea.PopupMenu.Light</item>
        <item name="android:itemBackground">@drawable/menu_selector_light</item>
        <item name="android:windowBackground">@color/cyanea_background_dark</item>

        <item name="colorControlActivated">@color/cyanea_accent_reference</item>
        <item name="colorSwitchThumbNormal">#E0E0E0</item>
    </style>

    <style name="AppThemeBarDark" parent="Theme.Cyanea.Dark">
        <item name="cardviewColor">@color/mastodonC1_</item>
        <item name="iconColor">@color/dark_icon_theme</item>
        <item name="iconColorMenu">@color/dark_icon_theme</item>
        <item name="textHeader">@color/dark_text_toot_header</item>
        <item name="customFeature">@color/mastodonC4</item>
        <item name="cardviewHeaderBoostColor">@color/mastodonC1___</item>
        <item name="statusTextColor">@color/dark_text</item>
        <item name="mTextColor">@color/dark_text</item>
        <item name="android:textColor">@color/dark_text</item>
        <item name="linkColor">@color/dark_link_toot</item>
        <item name="android:popupMenuStyle">@style/Fedilab.PopupMenu.Dark</item>
        <item name="android:popupWindowStyle">@style/Cyanea.PopupMenu.Dark</item>
        <item name="android:itemBackground">@drawable/menu_selector_dark</item>
        <item name="android:windowBackground">@color/cyanea_background_dark</item>
        <item name="colorControlActivated">@color/cyanea_accent_reference</item>
        <item name="colorSwitchThumbNormal">#E0E0E0</item>

    </style>


    <style name="TransparentDark" parent="Theme.Cyanea.Dark">
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowIsFloating">false</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@color/black</item>
        <item name="colorControlActivated">@color/cyanea_accent_dark_reference</item>
    </style>


    <style name="Popup" parent="Cyanea.PopupMenu.Light">
        <item name="android:textColor">@color/black</item>
        <item name="android:windowBackground">@color/cyanea_background_light</item>
    </style>

    <style name="PopupDark" parent="Cyanea.PopupMenu.Dark">
        <item name="android:textColor">@color/dark_text</item>
        <item name="android:windowBackground">@color/cyanea_primary_dark_reference</item>
    </style>

    <style name="Dialog" parent="Cyanea.AlertDialog.Theme.Light">
        <item name="android:textColor">@color/black</item>
        <item name="android:windowBackground">@color/cyanea_background_light</item>
        <item name="buttonBarButtonStyle">@style/DialogButton</item>
    </style>

    <style name="DialogDark" parent="Cyanea.AlertDialog.Theme.Dark">
        <item name="android:textColor">@color/dark_text</item>
        <item name="android:windowBackground">@color/cyanea_primary_dark_reference</item>
        <item name="buttonBarButtonStyle">@style/DialogButton</item>
    </style>

    <style name="DialogButton" parent="Widget.MaterialComponents.Button.TextButton">
        <item name="android:textColor">@color/cyanea_accent_reference</item>
    </style>


    <style name="Fedilab.PopupMenu.Light" parent="Cyanea.PopupMenu.Light">
        <item name="android:colorBackground">@color/cyanea_background_light</item>
        <item name="android:popupBackground">@color/cyanea_background_light</item>
    </style>

    <style name="Fedilab.PopupMenu.Dark" parent="Cyanea.PopupMenu.Dark">
        <item name="android:colorBackground">@color/cyanea_primary_dark_reference</item>
        <item name="android:popupBackground">@color/cyanea_primary_dark_reference</item>
    </style>

    <style name="Widget.App.Button.IconOnly" parent="Widget.MaterialComponents.Button.TextButton">
        <item name="android:insetTop">0dp</item>
        <item name="android:textAlignment">textStart</item>
        <item name="android:insetBottom">0dp</item>
        <item name="android:minWidth">48dp</item>
        <item name="android:minHeight">48dp</item>
    </style>

    <style name="Widget.App.Button.IconOnly.Outline" parent="Widget.MaterialComponents.Button.OutlinedButton">
        <item name="android:insetTop">0dp</item>
        <item name="android:textAlignment">textStart</item>
        <item name="android:insetBottom">0dp</item>
        <item name="android:minWidth">48dp</item>
        <item name="android:minHeight">48dp</item>
    </style>

    <style name="MyButtonColored" parent="Base.Widget.AppCompat.Button.Colored">
        <item name="iconTint">@color/cyanea_accent_dark_reference</item>
        <item name="strokeColor">@color/cyanea_accent_dark_reference</item>
        <item name="rippleColor">@color/cyanea_accent_dark_reference</item>
        <item name="backgroundTint">@color/cyanea_accent_dark_reference</item>
    </style>

    <style name="MyOutlinedButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
        <item name="iconTint">@color/cyanea_accent_dark_reference</item>
        <item name="strokeColor">@color/cyanea_accent_dark_reference</item>
        <item name="rippleColor">@color/cyanea_accent_dark_reference</item>
        <item name="android:textColor">@color/cyanea_accent_dark_reference</item>
    </style>

</resources>
