Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v6.10.1 (#6273)
* Import compound token v6.10.1 ./tools/compound/import_tokens.sh -b v6.10.1 * Use stop icon from Compound. * Fix compilation issue. * Use gradient color in ComposerAlertMolecule. Fixes #6192 * Update screenshots * Remove ComposerAlertLevel.Default (not in the design). * Update screenshots --------- Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
+1
-2
@@ -23,7 +23,6 @@ import io.element.android.libraries.designsystem.preview.ElementPreview
|
||||
import io.element.android.libraries.designsystem.preview.PreviewsDayNight
|
||||
import io.element.android.libraries.designsystem.theme.components.Icon
|
||||
import io.element.android.libraries.designsystem.theme.components.IconButton
|
||||
import io.element.android.libraries.designsystem.utils.CommonDrawables
|
||||
|
||||
@Composable
|
||||
internal fun VoiceMessageRecorderButtonIcon(
|
||||
@@ -65,7 +64,7 @@ private fun StopButton(
|
||||
) {
|
||||
Icon(
|
||||
modifier = Modifier.size(24.dp),
|
||||
resourceId = CommonDrawables.ic_stop,
|
||||
imageVector = CompoundIcons.StopSolid(),
|
||||
// Note: accessibility is managed in TextComposer.
|
||||
contentDescription = null,
|
||||
tint = ElementTheme.colors.iconOnSolidPrimary,
|
||||
|
||||
Reference in New Issue
Block a user