feat: use dark theme
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Original colors -->
|
||||
<color name="purple_200">#FFBB86FC</color>
|
||||
<color name="purple_500">#FF6200EE</color>
|
||||
<color name="purple_700">#FF3700B3</color>
|
||||
@@ -8,4 +9,12 @@
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
<color name="red">#FF0000</color>
|
||||
</resources>
|
||||
|
||||
<!-- Dark theme colors -->
|
||||
<color name="dark_primary">#121212</color>
|
||||
<color name="dark_primary_variant">#1F1B24</color>
|
||||
<color name="dark_accent">#BB86FC</color>
|
||||
<color name="dark_background">#000000</color>
|
||||
<color name="dark_surface">#121212</color>
|
||||
<color name="dark_on_primary">#FFFFFF</color>
|
||||
</resources>
|
||||
|
||||
@@ -1,9 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.WittrailAndroid" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<!-- Dark theme for your application -->
|
||||
<style name="Theme.WittrailAndroid.Dark" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<!-- Window background -->
|
||||
<item name="android:windowBackground">@color/dark_background</item>
|
||||
<item name="android:colorBackground">@color/dark_background</item>
|
||||
<!-- Primary brand color -->
|
||||
<item name="colorPrimary">@color/red</item>
|
||||
<!-- Primary brand color variant -->
|
||||
<item name="colorPrimaryDark">@color/red</item>
|
||||
<!-- Accent color -->
|
||||
<item name="colorAccent">@color/dark_accent</item>
|
||||
<!-- Surface and onPrimary colors can be used by Material components -->
|
||||
<item name="android:textColorPrimary">@color/red</item>
|
||||
</style>
|
||||
|
||||
<!-- Base application theme -->
|
||||
<style name="Theme.WittrailAndroid" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<!-- Customize your light theme here -->
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user