Use correct bg color.

This commit is contained in:
Benoit Marty 2026-02-10 10:17:41 +01:00
parent 6c046fc5f7
commit 68c9e688ad

View file

@ -27,12 +27,15 @@ import io.element.android.libraries.designsystem.preview.PreviewGroup
import io.element.android.libraries.testtags.TestTags
import io.element.android.libraries.testtags.testTag
/**
* Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=2027-2043
*/
@Composable
fun FloatingActionButton(
onClick: () -> Unit,
modifier: Modifier = Modifier,
shape: Shape = FloatingActionButtonDefaults.shape,
containerColor: Color = ElementTheme.colors.textActionAccent,
containerColor: Color = ElementTheme.colors.bgAccentRest,
contentColor: Color = ElementTheme.colors.iconOnSolidPrimary,
elevation: FloatingActionButtonElevation = FloatingActionButtonDefaults.elevation(),
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },