diff --git a/lib/screens/gh_search.dart b/lib/screens/gh_search.dart index 9227cac..2f8324a 100644 --- a/lib/screens/gh_search.dart +++ b/lib/screens/gh_search.dart @@ -112,10 +112,16 @@ class _GhSearchScreenState extends State { } Widget _buildInput() { + final theme = Provider.of(context); + final brightnessType = theme.brighnessValue; + var color = Colors.black; + if(brightnessType == AppBrightnessType.light) { + color = Colors.white; + } switch (Provider.of(context).theme) { case AppThemeType.cupertino: return Container( - color: Colors.white, + color: color, child: CupertinoTextField( prefix: Row( children: [