Added (backported) styles from design concept
This commit is contained in:
parent
42adc7382f
commit
3101c538e9
50
app/src/main/res/values/styles_new.xml
Normal file
50
app/src/main/res/values/styles_new.xml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?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" />
|
||||||
|
|
||||||
|
<style name="MagiskTheme" parent="ThemeFoundation.Colored.ExtraProps" />
|
||||||
|
|
||||||
|
<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>
|
Loading…
Reference in New Issue
Block a user