Apply service color to switches

This commit is contained in:
TobiGr 2021-06-08 20:09:51 +02:00
parent f47ae3668f
commit 060f09ff55
1 changed files with 15 additions and 0 deletions

View File

@ -3,14 +3,17 @@
<!-- YouTube -->
<style name="LightTheme.YouTube" parent="LightTheme">
<item name="colorPrimaryDark">@color/light_youtube_statusbar_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="DarkTheme.YouTube" parent="DarkTheme">
<item name="colorPrimaryDark">@color/dark_youtube_statusbar_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="BlackTheme.YouTube" parent="BlackTheme">
<item name="colorPrimaryDark">@color/dark_youtube_statusbar_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<!-- SoundCloud -->
@ -18,18 +21,21 @@
<item name="colorPrimary">@color/light_soundcloud_primary_color</item>
<item name="colorPrimaryDark">@color/light_soundcloud_statusbar_color</item>
<item name="colorAccent">@color/light_soundcloud_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="DarkTheme.SoundCloud" parent="DarkTheme">
<item name="colorPrimary">@color/dark_soundcloud_primary_color</item>
<item name="colorPrimaryDark">@color/dark_soundcloud_statusbar_color</item>
<item name="colorAccent">@color/dark_soundcloud_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="BlackTheme.SoundCloud" parent="BlackTheme">
<item name="colorPrimary">@color/dark_soundcloud_primary_color</item>
<item name="colorPrimaryDark">@color/dark_soundcloud_statusbar_color</item>
<item name="colorAccent">@color/dark_soundcloud_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<!-- PeerTube -->
@ -37,18 +43,21 @@
<item name="colorPrimary">@color/light_peertube_primary_color</item>
<item name="colorPrimaryDark">@color/light_peertube_statusbar_color</item>
<item name="colorAccent">@color/light_peertube_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="DarkTheme.PeerTube" parent="DarkTheme">
<item name="colorPrimary">@color/dark_peertube_primary_color</item>
<item name="colorPrimaryDark">@color/dark_peertube_statusbar_color</item>
<item name="colorAccent">@color/dark_peertube_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="BlackTheme.PeerTube" parent="BlackTheme">
<item name="colorPrimary">@color/dark_peertube_primary_color</item>
<item name="colorPrimaryDark">@color/dark_peertube_statusbar_color</item>
<item name="colorAccent">@color/dark_peertube_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<!-- media.ccc.de -->
@ -56,18 +65,21 @@
<item name="colorPrimary">@color/light_media_ccc_primary_color</item>
<item name="colorPrimaryDark">@color/light_media_ccc_statusbar_color</item>
<item name="colorAccent">@color/light_media_ccc_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="DarkTheme.media.ccc.de" parent="DarkTheme">
<item name="colorPrimary">@color/dark_media_ccc_primary_color</item>
<item name="colorPrimaryDark">@color/dark_media_ccc_statusbar_color</item>
<item name="colorAccent">@color/dark_media_ccc_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="BlackTheme.media.ccc.de" parent="BlackTheme">
<item name="colorPrimary">@color/dark_media_ccc_primary_color</item>
<item name="colorPrimaryDark">@color/dark_media_ccc_statusbar_color</item>
<item name="colorAccent">@color/dark_media_ccc_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<!-- Bandcamp -->
@ -75,18 +87,21 @@
<item name="colorPrimary">@color/light_bandcamp_primary_color</item>
<item name="colorPrimaryDark">@color/light_bandcamp_statusbar_color</item>
<item name="colorAccent">@color/light_bandcamp_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="DarkTheme.Bandcamp" parent="DarkTheme">
<item name="colorPrimary">@color/dark_bandcamp_primary_color</item>
<item name="colorPrimaryDark">@color/dark_bandcamp_statusbar_color</item>
<item name="colorAccent">@color/dark_bandcamp_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="BlackTheme.Bandcamp" parent="BlackTheme">
<item name="colorPrimary">@color/dark_bandcamp_primary_color</item>
<item name="colorPrimaryDark">@color/dark_bandcamp_statusbar_color</item>
<item name="colorAccent">@color/dark_bandcamp_accent_color</item>
<item name="android:colorControlActivated">?attr/colorPrimary</item>
</style>
</resources>