mirror of
https://github.com/bitwarden/android.git
synced 2026-03-22 20:41:29 -05:00
Remove unused span styles (#3970)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
Reference in New Issue
Block a user