2019-04-14 09:27:23 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<style name="ThemeFoundation" parent="Theme.MaterialComponents.Light.NoActionBar" />
|
|
|
|
|
|
|
|
<style name="ThemeFoundation.Colored">
|
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
|
|
<item name="colorPrimaryVariant">@color/colorPrimaryDark</item>
|
|
|
|
<item name="colorAccent">@color/colorSecondary</item>
|
|
|
|
<item name="colorSecondary">@color/colorSecondary</item>
|
|
|
|
<item name="colorSecondaryVariant">@color/colorSecondaryDark</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="ThemeFoundation.Colored.ExtraProps" />
|
|
|
|
|
2019-04-14 09:51:47 +00:00
|
|
|
<style name="MagiskTheme" parent="ThemeFoundation.Colored.ExtraProps">
|
|
|
|
<!--All of these attributes are deprecated and will be removed-->
|
|
|
|
<item name="cardStyle">@style/CardViewStyle.Light</item>
|
|
|
|
<item name="imageColorTint">@color/icon_grey</item>
|
|
|
|
<item name="colorControl">?android:attr/textColorSecondary</item>
|
|
|
|
<item name="colorAccentFallback">@color/accentFallback</item>
|
|
|
|
</style>
|
2019-04-14 09:27:23 +00:00
|
|
|
|
|
|
|
<style name="MagiskTheme.Flashing" parent="Theme.MaterialComponents.NoActionBar">
|
|
|
|
<item name="colorPrimary">@android:color/black</item>
|
|
|
|
<item name="colorPrimaryDark">@android:color/black</item>
|
|
|
|
<item name="colorAccent">@color/colorSecondary</item>
|
|
|
|
<item name="colorSecondary">@color/colorSecondary</item>
|
|
|
|
<item name="colorSecondaryVariant">@color/colorSecondaryDark</item>
|
|
|
|
<item name="android:windowBackground">@android:color/black</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="MagiskTheme.SU" parent="Theme.AppCompat.Dialog">
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
|
|
<item name="android:windowIsFloating">true</item>
|
|
|
|
<item name="android:backgroundDimEnabled">false</item>
|
|
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--Overlays-->
|
|
|
|
|
|
|
|
<style name="AppBarLayoutTheme" parent="ThemeOverlay.AppCompat.Dark" />
|
|
|
|
|
|
|
|
<style name="AppBarLayoutTheme.Flashing" parent="ThemeOverlay.AppCompat.Dark" />
|
|
|
|
|
|
|
|
<style name="ToolbarPopupTheme" parent="ThemeOverlay.AppCompat.Light" />
|
|
|
|
|
|
|
|
<style name="ToolbarPopupTheme.Flashing" parent="ThemeOverlay.AppCompat.Dark" />
|
|
|
|
|
|
|
|
|
|
|
|
</resources>
|