<?xml version="1.0" encoding="utf-8"?><!--
  ~ This file is part of LSPosed.
  ~
  ~ LSPosed is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ LSPosed is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with LSPosed.  If not, see <https://www.gnu.org/licenses/>.
  ~
  ~ Copyright (C) 2021 LSPosed Contributors
  -->

<resources>

    <style name="Base.AppTheme.Light" parent="Theme.Material.Light.LightStatusBar">
        <item name="android:statusBarColor">?android:colorBackground</item>

        <item name="colorPrimary">@color/material_blue_700</item>
        <item name="colorPrimaryVariant">?colorPrimary</item>
        <item name="colorSecondary">?colorPrimary</item>
        <item name="colorSecondaryVariant">?colorPrimary</item>
        <item name="colorOnSecondary">@android:color/white</item>
        <item name="colorSurface">@android:color/white</item>
        <item name="colorError">@color/material_red_500</item>
        <item name="colorNormal">@color/material_green_500</item>
        <item name="colorInstall">@color/material_blue_500</item>
        <item name="rippleTransparency">@color/rippleTransparency_light</item>

        <item name="actionBarStyle">@style/Widget.Material.ActionBar.Surface</item>
        <item name="actionBarTheme">@style/ThemeOverlay.ActionBar</item>
        <item name="toolbarStyle">@style/Widget.Material.Toolbar</item>

        <item name="appBarStyle">@style/Widget.AppBar.Surface.Raisable</item>

        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="Theme.Light" parent="Base.AppTheme.Light" />

    <style name="Base.AppTheme" parent="Theme.Material">
        <item name="colorPrimary">@color/material_blue_700</item>
        <item name="colorPrimaryVariant">?colorPrimary</item>
        <item name="colorSecondary">?colorPrimary</item>
        <item name="colorSecondaryVariant">?colorPrimary</item>
        <item name="colorOnSecondary">@android:color/black</item>
        <item name="colorSurface">@color/google_grey_900</item>
        <item name="colorError">@color/material_red_700</item>
        <item name="colorNormal">@color/material_green_700</item>
        <item name="colorInstall">@color/material_blue_700</item>
        <item name="rippleTransparency">@color/rippleTransparency_dark</item>

        <item name="actionBarStyle">@style/Widget.Material.ActionBar.Surface</item>
        <item name="actionBarTheme">@style/ThemeOverlay.ActionBar</item>
        <item name="toolbarStyle">@style/Widget.Material.Toolbar</item>

        <item name="appBarStyle">@style/Widget.AppBar.Surface.Raisable</item>

        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="Theme" parent="Base.AppTheme" />

    <style name="Widget.AppBar" parent="">
        <item name="android:background">?toolbarColor</item>
        <item name="android:theme">?actionBarTheme</item>
        <item name="android:stateListAnimator">@animator/raise_animator</item>
        <item name="android:elevation">2dp</item>
    </style>

    <style name="Widget.Material.Toolbar" parent="Widget.MaterialComponents.Toolbar">
        <item name="android:background">?android:colorBackground</item>
    </style>

    <style name="Widget.AppBar.Surface">
        <item name="android:background">?android:colorBackground</item>
        <item name="android:stateListAnimator">@animator/alpha_animator</item>
        <item name="android:elevation">@dimen/app_bar_elevation</item>
    </style>

    <style name="Widget.AppBar.Surface.Raisable">
        <item name="android:elevation">0dp</item>
        <item name="android:stateListAnimator">@animator/raise_animator</item>
    </style>

    <style name="ThemeOverlay.ActionBar" parent="ThemeOverlay.MaterialComponents.ActionBar">
        <item name="elevation">0dp</item>
        <item name="titleTextAppearance">
            @android:style/TextAppearance.Material.Widget.Toolbar.Title
        </item>
        <item name="subtitleTextAppearance">
            @android:style/TextAppearance.Material.Widget.Toolbar.Subtitle
        </item>
    </style>

    <style name="Widget.App.Button.OutlinedButton.IconOnly" parent="Widget.MaterialComponents.Button.OutlinedButton">
        <item name="iconPadding">0dp</item>
        <item name="android:paddingLeft">12dp</item>
        <item name="android:paddingRight">12dp</item>
        <item name="android:minWidth">48dp</item>
    </style>

</resources>