mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Remove unused span styles (#3970)
This commit is contained in:
parent
61b09fe8f1
commit
dad501d37e
1 changed files with 0 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
|||
package com.x8bit.bitwarden.ui.platform.theme
|
||||
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.ReadOnlyComposable
|
||||
import androidx.compose.ui.text.SpanStyle
|
||||
import androidx.compose.ui.text.TextStyle
|
||||
|
||||
/**
|
||||
* Defines a span style for clickable span texts. Useful because spans require a
|
||||
* [SpanStyle] instead of the typical [TextStyle].
|
||||
*/
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
fun clickableSpanStyle(): SpanStyle = SpanStyle(
|
||||
color = MaterialTheme.colorScheme.primary,
|
||||
fontSize = MaterialTheme.typography.bodyMedium.fontSize,
|
||||
fontWeight = MaterialTheme.typography.bodyMedium.fontWeight,
|
||||
fontStyle = MaterialTheme.typography.bodyMedium.fontStyle,
|
||||
fontFamily = MaterialTheme.typography.bodyMedium.fontFamily,
|
||||
)
|
Loading…
Reference in a new issue