mirror of
https://github.com/bitwarden/mobile
synced 2025-12-28 14:13:25 +00:00
cleanup themes
This commit is contained in:
@@ -2,18 +2,12 @@
|
||||
<resources>
|
||||
<color name="colorPrimary">#3c8dbc</color>
|
||||
<color name="colorPrimaryDark">#222d32</color>
|
||||
<color name="colorAccent">#3883af</color>
|
||||
<color name="primary">#3c8dbc</color>
|
||||
<color name="darkaccent">#222d32</color>
|
||||
<color name="accent">#3883af</color>
|
||||
<color name="notificationBar">#3883af</color>
|
||||
<color name="border">#dddddd</color>
|
||||
|
||||
<color name="dark_colorPrimary">#52bdfb</color>
|
||||
<color name="dark_colorPrimaryDark">#222d32</color>
|
||||
<color name="dark_colorAccent">#449BCE</color>
|
||||
<color name="dark_primary">#52bdfb</color>
|
||||
<color name="dark_darkaccent">#222d32</color>
|
||||
<color name="dark_accent">#449BCE</color>
|
||||
<color name="dark_notificationBar">#191919</color>
|
||||
<color name="dark_border">#191919</color>
|
||||
|
||||
<color name="black_border">#282828</color>
|
||||
|
||||
@@ -1,24 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<resources>
|
||||
<!-- Light theme -->
|
||||
<style name="LightTheme" parent="LightTheme.Base">
|
||||
</style>
|
||||
|
||||
<style name="LightTheme.Splash" parent="LightTheme.Base">
|
||||
<item name="android:windowBackground">@drawable/splash_screen</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
<style name="DarkTheme.Splash" parent="DarkTheme.Base">
|
||||
<item name="android:windowBackground">@drawable/splash_screen_dark</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
<style name="BlackTheme.Splash" parent="DarkTheme.Splash">
|
||||
</style>
|
||||
|
||||
<style name="LightTheme" parent="LightTheme.Base">
|
||||
</style>
|
||||
|
||||
<style name="LightTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="colorPrimary">@color/primary</item>
|
||||
<item name="colorPrimaryDark">@color/accent</item>
|
||||
<item name="colorPrimaryDark">@color/notificationBar</item>
|
||||
<item name="colorAccent">@color/primary</item>
|
||||
<item name="colorControlNormal">@color/border</item>
|
||||
<item name="windowActionModeOverlay">true</item>
|
||||
@@ -28,12 +23,19 @@
|
||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
||||
</style>
|
||||
|
||||
<!-- Dark theme -->
|
||||
<style name="DarkTheme" parent="DarkTheme.Base">
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme.Splash" parent="DarkTheme.Base">
|
||||
<item name="android:windowBackground">@drawable/splash_screen_dark</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme.Base" parent="Theme.AppCompat">
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="colorPrimaryDark">@color/dark_notificationBar</item>
|
||||
<item name="colorAccent">@color/dark_primary</item>
|
||||
<item name="colorControlNormal">@color/dark_border</item>
|
||||
<item name="windowActionModeOverlay">true</item>
|
||||
@@ -43,15 +45,21 @@
|
||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat</item>
|
||||
</style>
|
||||
|
||||
<!-- Black theme -->
|
||||
<style name="BlackTheme" parent="BlackTheme.Base">
|
||||
</style>
|
||||
|
||||
<style name="BlackTheme.Splash" parent="DarkTheme.Splash">
|
||||
</style>
|
||||
|
||||
<style name="BlackTheme.Base" parent="DarkTheme.Base">
|
||||
<item name="android:windowBackground">@android:color/black</item>
|
||||
<item name="colorPrimary">@android:color/black</item>
|
||||
<item name="colorPrimaryDark">@android:color/black</item>
|
||||
<item name="colorControlNormal">@color/black_border</item>
|
||||
</style>
|
||||
|
||||
<!-- Other theme components -->
|
||||
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">#FF4081</item>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user