Replace the InfoListOrganism default bg color (#4091)

* Replace the `InfoListOrganism` default bg color

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
Jorge Martin Espinosa 2025-01-07 14:01:42 +01:00 committed by GitHub
parent 875963eb64
commit bb74fed493
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 17 additions and 21 deletions

View file

@ -144,7 +144,6 @@ private fun AnalyticsOptInContent() {
),
textStyle = ElementTheme.typography.fontBodyLgMedium,
iconTint = ElementTheme.colors.iconSuccessPrimary,
backgroundColor = ElementTheme.colors.bgActionSecondaryHovered,
)
}
}

View file

@ -115,7 +115,6 @@ private fun Content() {
},
),
),
backgroundColor = ElementTheme.colors.bgActionSecondaryHovered,
)
Text(

View file

@ -33,7 +33,6 @@ import io.element.android.libraries.designsystem.components.BigIcon
import io.element.android.libraries.designsystem.preview.ElementPreview
import io.element.android.libraries.designsystem.preview.PreviewsDayNight
import io.element.android.libraries.designsystem.theme.components.Button
import io.element.android.libraries.designsystem.theme.temporaryColorBgSpecial
import io.element.android.libraries.ui.strings.CommonStrings
import kotlinx.collections.immutable.persistentListOf
@ -94,7 +93,6 @@ private fun SignedOutContent() {
),
textStyle = ElementTheme.typography.fontBodyMdMedium,
iconTint = ElementTheme.colors.iconSecondary,
backgroundColor = ElementTheme.colors.temporaryColorBgSpecial
)
}
}

View file

@ -34,8 +34,8 @@ import kotlinx.collections.immutable.persistentListOf
@Composable
fun InfoListOrganism(
items: ImmutableList<InfoListItem>,
backgroundColor: Color,
modifier: Modifier = Modifier,
backgroundColor: Color = ElementTheme.colors.bgSubtleSecondary,
iconTint: Color = LocalContentColor.current,
iconSize: Dp = 20.dp,
textStyle: TextStyle = LocalTextStyle.current,

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4eeb1191c449106118a084db23555ea3882971a41e219b6b094e6a980a6a2b8
size 88813
oid sha256:37414749c809668c8381e7be123c058dd6df385c6a4d518021d3b74dc607d5dd
size 82175

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:312f2196d34f5c75336e55e0cc1f47adc1484b3a51f19e662f60ccbbe2ba72b6
size 80869
oid sha256:5cf7dd7a7a03b91ddde428308cf56e5f53723bd71d159b8db936c2ca16668626
size 75356

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a3d734e3d2a572344ab26b042cf249afc56c7eff2d1454565ddc75e54faaced
size 69147
oid sha256:c1a55b39ae7912929b064dc31b62368a38db30a9c1d4dcc3cafde7291c54d501
size 69035

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a41f758a358792131a03f7015710fe28c9e8fecb49cafa72fe4b0a0a21bbf9d
size 58206
oid sha256:a56706faeed7812de2fa682cbfad6d4b3d9f38f256bfd39ef7fb042ca9164957
size 58024

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:676c85998a4b76894de1cbf470e18876abc791cc56a8322db9e1d24e32adfd56
size 67963
oid sha256:41d5780c17995aa5016187671d7bd75060a243437d31828657fc9bb3724046d6
size 68019

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3f8388e77e222255f9bcd04c81094a88d57176f588feb476146035f56c0054c
size 56116
oid sha256:0c5157eb167545919726335a3dd75c487a5ad1933870c8a1c2bed705cb295139
size 56171

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c73527dbc8004c993d288447cd1596e26b0093536270b101fffb794a3233fc9b
size 56216
oid sha256:8e74c751eff5f2b168503e6f47bdab6fd57d9e88deabd469e1c39507734955d7
size 55945

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f86c6e2e9052d4124b339b1b569f1d359e3c3f7b37269f90cf672a4898573368
size 55125
oid sha256:4330b8ebfff0bff2e5bbcbb358141040bd6b786a07eeb821dc2ba2ff24e0dbd3
size 54974