Added Dandelion Yellow

This commit is contained in:
KillerDogeEmpire 2023-02-08 15:37:58 -08:00
parent 3f6689d974
commit fd862b3338
4 changed files with 14 additions and 0 deletions

View File

@ -228,6 +228,7 @@ object CommonActivity {
val currentOverlayTheme =
when (settingsManager.getString(act.getString(R.string.primary_color_key), "Normal")) {
"Normal" -> R.style.OverlayPrimaryColorNormal
"DandelionYellow" -> R.style.OverlayPrimaryColorDandelionYellow
"CarnationPink" -> R.style.OverlayPrimaryColorCarnationPink
"Orange" -> R.style.OverlayPrimaryColorOrange
"DarkGreen" -> R.style.OverlayPrimaryColorDarkGreen

View File

@ -239,6 +239,7 @@
<string-array name="themes_overlay_names">
<item>Normal</item>
<item>Dandelion Yellow</item>
<item>Carnation Pink</item>
<item>Orange</item>
<item>Dark Green</item>
@ -260,6 +261,7 @@
</string-array>
<string-array name="themes_overlay_names_values">
<item>Normal</item>
<item>DandelionYellow</item>
<item>CarnationPink</item>
<item>Orange</item>
<item>DarkGreen</item>

View File

@ -83,4 +83,5 @@
<color name="colorPrimaryCoolBlue">#408cac</color>
<color name="colorPrimaryBrown">#622C00</color>
<color name="colorPrimaryOrange">#CE8500</color>
<color name="colorPrimaryDandelionYellow">#F5BB00</color>
</resources>

View File

@ -346,6 +346,16 @@
<item name="android:colorAccent">@color/colorPrimaryOrange</item>
</style>
<style name="OverlayPrimaryColorDandelionYellow">
<item name="colorPrimary">@color/colorPrimaryDandelionYellow</item>
<item name="android:colorPrimary">@color/colorPrimaryDandelionYellow</item>
<item name="colorPrimaryDark">#C49600</item>
<item name="colorAccent">#F5BB00</item>
<item name="colorOnPrimary">@color/whiteText</item>
<!-- Needed for leanback fuckery -->
<item name="android:colorAccent">@color/colorPrimaryDandelionYellow</item>
</style>
<style name="customRatingBar" parent="@style/Widget.AppCompat.RatingBar">
<item name="android:progressDrawable">@drawable/abc_ratingbar_indicator_material</item>