Skip to content

Commit 1b87107

Browse files
authored
Merge pull request #523 from kiwicom/text-selection-color
Utilize more dark color for text selection
2 parents 5cc7945 + e69d038 commit 1b87107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/androidMain/kotlin/kiwi/orbit/compose/ui/foundation/TextSelectionColors.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import androidx.compose.runtime.remember
66

77
@Composable
88
internal fun rememberTextSelectionColors(colors: Colors): TextSelectionColors =
9-
remember(colors.info.normal, colors.info.subtleAlt) {
9+
remember(colors.info.normal) {
1010
TextSelectionColors(
1111
handleColor = colors.info.normal,
12-
backgroundColor = colors.info.subtleAlt,
12+
backgroundColor = colors.info.normal.copy(alpha = 0.2f),
1313
)
1414
}

0 commit comments

Comments
 (0)