Added lavender color (#949)

This commit is contained in:
Mater Yoda 2024-03-08 05:50:49 +05:30 committed by GitHub
parent 809a38507b
commit f0f4ec87bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 22 additions and 0 deletions

View file

@ -319,6 +319,7 @@ object CommonActivity {
"Banana" -> R.style.OverlayPrimaryColorBanana
"Party" -> R.style.OverlayPrimaryColorParty
"Pink" -> R.style.OverlayPrimaryColorPink
"Lavender" -> R.style.OverlayPrimaryColorLavender
"Monet" -> if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S)
R.style.OverlayPrimaryColorMonet else R.style.OverlayPrimaryColorNormal

View file

@ -212,6 +212,7 @@
<item>Banana</item>
<item>Fiesta</item>
<item>Dolor rosa</item>
<item>Lavanda</item>
<item>Material You</item>
<item>Material You (Secondary)</item>
</string-array>
@ -235,6 +236,7 @@
<item>Banana</item>
<item>Party</item>
<item>Pink</item>
<item>Lavender</item>
<item>Monet</item>
<item>Monet2</item>
</string-array>

View file

@ -221,6 +221,7 @@
<item>Bananowy</item>
<item>Łososiowy</item>
<item>Świnko peppowy</item>
<item>Lawenda</item>
<item>Material You</item>
<item>Material You (drugorzędny)</item>
</string-array>
@ -244,6 +245,7 @@
<item>Banana</item>
<item>Party</item>
<item>Pink</item>
<item>Lavender</item>
<item>Monet</item>
<item>Monet2</item>
</string-array>

View file

@ -247,6 +247,7 @@
<item>Muz</item>
<item>Parti</item>
<item>Pembe</item>
<item>Lavanta</item>
<item>Material You</item>
<item>Material You (İkincil)</item>
</string-array>
@ -270,6 +271,7 @@
<item>Banana</item>
<item>Party</item>
<item>Pink</item>
<item>Lavender</item>
<item>Monet</item>
<item>Monet2</item>
</string-array>

View file

@ -213,6 +213,7 @@
<item>Vàng</item>
<item>Hồng</item>
<item>Hồng đậm</item>
<item>Hoa oải hương</item>
<item>Material You</item>
<item>Material You (Secondary)</item>
</string-array>
@ -236,6 +237,7 @@
<item>Banana</item>
<item>Party</item>
<item>Pink</item>
<item>Lavender</item>
<item>Monet</item>
<item>Monet2</item>
</string-array>

View file

@ -284,6 +284,7 @@
<item>Banana</item>
<item>Party</item>
<item>Pink Pain</item>
<item>Lavender</item>
<item>Material You</item>
<item>Material You (Secondary)</item>
</string-array>
@ -307,6 +308,7 @@
<item>Banana</item>
<item>Party</item>
<item>Pink</item>
<item>Lavender</item>
<item>Monet</item>
<item>Monet2</item>
</string-array>

View file

@ -84,6 +84,7 @@
<color name="colorPrimaryOrange">#CE8500</color>
<color name="colorPrimaryDandelionYellow">#F5BB00</color>
<color name="colorPrimaryCoolBlue">#408cac</color>
<color name="colorPrimaryLavender">#6F55AF</color>
<color name="colorTestPass">#48E484</color>
<color name="colorTestFail">#ea596e</color>

View file

@ -383,6 +383,16 @@
<item name="android:colorAccent">@color/colorPrimaryCoolBlue</item>
</style>
<style name="OverlayPrimaryColorLavender">
<item name="colorPrimary">@color/colorPrimaryLavender</item>
<item name="android:colorPrimary">@color/colorPrimaryLavender</item>
<item name="colorPrimaryDark">#6B51AB</item>
<item name="colorAccent">#7961B4</item>
<item name="colorOnPrimary">@color/whiteText</item>
<!-- Needed for leanback fuckery -->
<item name="android:colorAccent">@color/colorPrimaryLavender</item>
</style>
<style name="customRatingBar" parent="@style/Widget.AppCompat.RatingBar">
<item name="android:progressDrawable">@drawable/abc_ratingbar_indicator_material</item>