mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2909 - Applied shapes/transparent secondary color for all icon backgrounds in both light and dark modes.
This commit is contained in:
parent
e3aa365ecb
commit
ace59073bd
5 changed files with 5 additions and 3 deletions
|
@ -20,7 +20,7 @@ import com.anytypeio.anytype.core_ui.views.AvatarTitle
|
|||
import com.anytypeio.anytype.presentation.objects.ObjectIcon
|
||||
|
||||
|
||||
val avatarBackgroundColor = R.color.shape_secondary
|
||||
val avatarBackgroundColor = R.color.shape_transparent_secondary
|
||||
val avatarTextColor = R.color.glyph_active
|
||||
|
||||
@Composable
|
||||
|
|
|
@ -27,7 +27,7 @@ fun EmojiIconView(
|
|||
backgroundSize: Dp,
|
||||
iconWithoutBackgroundMaxSize: Dp = 20.dp,
|
||||
imageMultiplier: Float = 0.625f,
|
||||
backgroundColor: Int = R.color.shape_secondary
|
||||
backgroundColor: Int = R.color.shape_transparent_secondary
|
||||
) {
|
||||
val (containerModifier, iconModifier) = if (backgroundSize > iconWithoutBackgroundMaxSize) {
|
||||
modifier
|
||||
|
|
|
@ -25,7 +25,7 @@ fun EmptyIconView(
|
|||
emptyType: ObjectIcon.Empty,
|
||||
iconWithoutBackgroundMaxSize: Dp = 20.dp,
|
||||
imageMultiplier: Float = 0.625f,
|
||||
backgroundColor: Int = R.color.shape_secondary
|
||||
backgroundColor: Int = R.color.shape_transparent_secondary
|
||||
) {
|
||||
val (containerModifier, iconModifier) = if (backgroundSize > iconWithoutBackgroundMaxSize) {
|
||||
modifier
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
<color name="shape_secondary">#303030</color>
|
||||
<color name="shape_tertiary">#1F1F1F</color>
|
||||
<color name="shape_transparent">#24DAD7CA</color>
|
||||
<color name="shape_transparent_secondary">#26FFFFFF</color>
|
||||
<color name="shape_transparent_primary">#3DFFFFFF</color>
|
||||
|
||||
<color name="glyph_active">#7B7B7B</color>
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
<color name="shape_secondary">#EBEBEB</color>
|
||||
<color name="shape_tertiary">#F2F2F2</color>
|
||||
<color name="shape_transparent">#14535353</color>
|
||||
<color name="shape_transparent_secondary">#0000000D</color>
|
||||
<color name="shape_transparent_primary">#1C000000</color>
|
||||
|
||||
<color name="glyph_active">#A7A7A7</color>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue