From 061fee0f79514a62af5e79a195aa6103dde8dd63 Mon Sep 17 00:00:00 2001 From: Sadturtleman Date: Wed, 21 Oct 2026 12:15:49 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=20=ED=95=B8=EB=93=A4=20=EB=B0=8F=20=ED=95=98=EC=9D=B4?= =?UTF-8?q?=EB=9D=BC=EC=9D=B4=ED=8A=B8=20=EC=83=89=EC=83=81=EC=9D=84=20?= =?UTF-8?q?=ED=94=BC=EB=93=9C=20=EC=9E=91=EC=84=B1=EA=B3=BC=20=ED=86=B5?= =?UTF-8?q?=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) --- .../websoso/core/designsystem/theme/Theme.kt | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/core/designsystem/src/main/java/com/into/websoso/core/designsystem/theme/Theme.kt b/core/designsystem/src/main/java/com/into/websoso/core/designsystem/theme/Theme.kt index 88cd2a3e1..55036be4a 100644 --- a/core/designsystem/src/main/java/com/into/websoso/core/designsystem/theme/Theme.kt +++ b/core/designsystem/src/main/java/com/into/websoso/core/designsystem/theme/Theme.kt @@ -2,6 +2,8 @@ package com.into.websoso.core.designsystem.theme import android.os.Build import androidx.compose.foundation.isSystemInDarkTheme +import androidx.compose.foundation.text.selection.LocalTextSelectionColors +import androidx.compose.foundation.text.selection.TextSelectionColors import androidx.compose.material3.MaterialTheme import androidx.compose.material3.darkColorScheme import androidx.compose.material3.dynamicDarkColorScheme @@ -41,10 +43,12 @@ fun WebsosoTheme( } CompositionLocalProvider(LocalWebsosoTypography provides websosoTypography) { - MaterialTheme( - colorScheme = colorScheme, - content = content, - ) + MaterialTheme(colorScheme = colorScheme) { + CompositionLocalProvider( + LocalTextSelectionColors provides WebsosoTextSelectionColors, + content = content, + ) + } } } @@ -52,6 +56,11 @@ private val LocalWebsosoTypography = staticCompositionLocalOf error("No WebsosoTypography provided") } +private val WebsosoTextSelectionColors = TextSelectionColors( + handleColor = Primary100, + backgroundColor = Primary50, +) + private val DarkColorScheme = darkColorScheme( primary = Primary100, onPrimary = White,