Tweak some icon colors

This commit is contained in:
MM20
2022-06-18 19:13:00 +02:00
parent 6de89f3f79
commit e8936eb0b4
10 changed files with 34 additions and 31 deletions
@@ -3,7 +3,6 @@ package de.mm20.launcher2.search.data
import android.content.Context
import android.content.Intent
import android.content.pm.PackageInstaller
import android.graphics.Color
import android.graphics.ColorMatrix
import android.graphics.ColorMatrixColorFilter
import android.graphics.drawable.BitmapDrawable
@@ -33,9 +32,9 @@ class AppInstallation(
foregroundLayer = TintedIconLayer(
icon = ContextCompat.getDrawable(context, R.drawable.ic_file_android)!!,
scale = 0.5f,
color = Color.WHITE
color = 0xFF757575.toInt()
),
backgroundLayer = ColorLayer(ContextCompat.getColor(context, R.color.grey))
backgroundLayer = ColorLayer(0xFF757575.toInt())
)
}
@@ -52,7 +51,7 @@ class AppInstallation(
foregroundLayer = StaticIconLayer(
icon = foreground,
),
backgroundLayer = ColorLayer(ContextCompat.getColor(context, R.color.grey))
backgroundLayer = ColorLayer(0xFF757575.toInt())
)
}
@@ -40,9 +40,9 @@ abstract class Application(
foregroundLayer = TintedIconLayer(
icon = ContextCompat.getDrawable(context, R.drawable.ic_file_android)!!,
scale = 0.5f,
color = Color.WHITE,
color = 0xff3dda84.toInt(),
),
backgroundLayer = ColorLayer(ContextCompat.getColor(context, R.color.android_green))
backgroundLayer = ColorLayer(0xff3dda84.toInt())
)
}