add light and dark theme
* currently the theme can not be changed
This commit is contained in:
@ -4,4 +4,7 @@
|
||||
<attr format="color" name="themeSecondary"/>
|
||||
<attr format="color" name="textPrimary"/>
|
||||
<attr format="color" name="textSecondary"/>
|
||||
<attr format="color" name="iconAction"/>
|
||||
<attr format="color" name="iconNoAction"/>
|
||||
<attr format="color" name="buttonBackground"/>
|
||||
</resources>
|
@ -1,21 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- base theme colors -->
|
||||
<color name="colorPrimary">#6200EE</color>
|
||||
<color name="colorPrimaryDark">#3700B3</color>
|
||||
<color name="colorPrimary">#66aa00</color>
|
||||
<color name="colorPrimaryDark">#66aa00</color>
|
||||
<color name="colorAccent">#03DAC5</color>
|
||||
|
||||
<!-- light theme colors -->
|
||||
<color name="themePrimaryLight">#f5f5f5</color>
|
||||
<color name="themePrimaryLight">#f7f7f7</color>
|
||||
<color name="themeSecondaryLight">#ffffff</color>
|
||||
<color name="textPrimaryLight">#000000</color>
|
||||
<color name="textSecondaryLight">#323232</color>
|
||||
<color name="textPrimaryLight">#de000000</color>
|
||||
<color name="textSecondaryLight">#99000000</color>
|
||||
<color name="iconActionLight">#99000000</color>
|
||||
<color name="iconNoActionLight">#66000000</color>
|
||||
<color name="buttonBackgroundLight">#000000</color>
|
||||
|
||||
<!-- dark theme colors -->
|
||||
<color name="themePrimaryDark">#000000</color>
|
||||
<color name="themeSecondaryDark">#303030</color>
|
||||
<color name="textPrimaryDark">#ffffff</color>
|
||||
<color name="textSecondaryDark">#c0c0c0</color>
|
||||
<color name="textPrimaryDark">#deffffff</color>
|
||||
<color name="textSecondaryDark">#99ffffff</color>
|
||||
<color name="iconActionDark">#99ffffff</color>
|
||||
<color name="iconNoActionDark">#66ffffff</color>
|
||||
<color name="buttonBackgroundDark">#ffffff</color>
|
||||
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
@ -11,9 +11,13 @@
|
||||
<item name="themeSecondary">@color/themeSecondaryLight</item>
|
||||
<item name="textPrimary">@color/textPrimaryLight</item>
|
||||
<item name="textSecondary">@color/textSecondaryLight</item>
|
||||
<item name="android:textColor">@color/textSecondaryLight</item>
|
||||
<item name="android:textColor">@color/textPrimaryLight</item>
|
||||
<item name="android:textColorPrimary">@color/textPrimaryLight</item>
|
||||
<item name="android:textColorHint">@color/textSecondaryLight</item>
|
||||
|
||||
<item name="iconAction">@color/iconActionLight</item>
|
||||
<item name="iconNoAction">@color/iconNoActionLight</item>
|
||||
<item name="buttonBackground">@color/buttonBackgroundLight</item>
|
||||
</style>
|
||||
|
||||
<style name="AppThemeDark" parent="AppTheme">
|
||||
@ -24,6 +28,10 @@
|
||||
<item name="android:textColor">@color/textPrimaryDark</item>
|
||||
<item name="android:textColorPrimary">@color/textPrimaryDark</item>
|
||||
<item name="android:textColorHint">@color/textSecondaryDark</item>
|
||||
|
||||
<item name="iconAction">@color/iconActionDark</item>
|
||||
<item name="iconNoAction">@color/iconNoActionDark</item>
|
||||
<item name="buttonBackground">@color/buttonBackgroundDark</item>
|
||||
</style>
|
||||
|
||||
<!-- player theme -->
|
||||
|
Reference in New Issue
Block a user