Voeg thema-selector toe (DayNight, Radiogroep, teal accent)
This commit is contained in:
parent
5a0dee77b3
commit
c977dc25a2
3 changed files with 201 additions and 24 deletions
6
android/app/src/main/res/values/colors.xml
Normal file
6
android/app/src/main/res/values/colors.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#00695C</color>
|
||||
<color name="colorPrimaryDark">#004D40</color>
|
||||
<color name="colorAccent">#009688</color>
|
||||
</resources>
|
||||
|
|
@ -39,4 +39,11 @@
|
|||
<string name="msg_flash_complete">Firmware geflashed!\n\nOntkoppel de ESP en sluit opnieuw aan om de sleutel in te stellen.</string>
|
||||
<string name="button_close">Sluiten</string>
|
||||
<string name="button_cancel">Annuleren</string>
|
||||
|
||||
<!-- Theme -->
|
||||
<string name="section_theme">Weergave</string>
|
||||
<string name="theme_system">Systeem</string>
|
||||
<string name="theme_light">Licht</string>
|
||||
<string name="theme_dark">Donker</string>
|
||||
<string name="theme_applied">Thema: %s</string>
|
||||
</resources>
|
||||
|
|
|
|||
8
android/app/src/main/res/values/themes.xml
Normal file
8
android/app/src/main/res/values/themes.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
</style>
|
||||
</resources>
|
||||
Loading…
Reference in a new issue