From 596c97b6e7dd9c0da29bf0b7575f8311e8005dd6 Mon Sep 17 00:00:00 2001 From: Roscoe Rubin-Rottenberg Date: Fri, 12 Jun 2026 20:35:44 -0400 Subject: [PATCH] style: text selection theme --- lib/src/core/design_system/theme/app_theme.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/src/core/design_system/theme/app_theme.dart b/lib/src/core/design_system/theme/app_theme.dart index 7d5055c2..c10360f4 100644 --- a/lib/src/core/design_system/theme/app_theme.dart +++ b/lib/src/core/design_system/theme/app_theme.dart @@ -12,6 +12,11 @@ class AppTheme { fontFamily: 'SN Pro', brightness: Brightness.light, colorScheme: AppColorScheme.light, + textSelectionTheme: TextSelectionThemeData( + cursorColor: AppColorScheme.light.primary, + selectionColor: AppColorScheme.light.primary.withAlpha(80), + selectionHandleColor: AppColorScheme.light.primary, + ), scaffoldBackgroundColor: AppColors.greyWhite, appBarTheme: AppBarTheme( elevation: 0, @@ -94,6 +99,11 @@ class AppTheme { fontFamily: 'SN Pro', brightness: Brightness.dark, colorScheme: AppColorScheme.dark, + textSelectionTheme: TextSelectionThemeData( + cursorColor: AppColorScheme.dark.primary, + selectionColor: AppColorScheme.dark.primary.withAlpha(80), + selectionHandleColor: AppColorScheme.dark.primary, + ), highlightColor: Colors.transparent, splashColor: Colors.transparent, focusColor: Colors.transparent, -- 2.51.2