Tweak font weights & styles

This commit is contained in:
tommyxchow 2022-03-30 19:29:51 -04:00
parent 254968a2d6
commit e0b2fcc0b3
11 changed files with 76 additions and 88 deletions

View file

@ -37,7 +37,7 @@ class _SearchState extends State<Search> {
autocorrect: false,
decoration: InputDecoration(
isDense: true,
hintText: 'Search for a channel or category',
hintText: 'Find a channel or category',
contentPadding: const EdgeInsets.all(10.0),
border: const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(15.0)),
@ -64,12 +64,10 @@ class _SearchState extends State<Search> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (_searchStore.searchHistory.isNotEmpty)
const Padding(
padding: EdgeInsets.all(15.0),
child: Text(
'HISTORY',
style: TextStyle(fontWeight: FontWeight.bold),
),
const SectionHeader(
'History',
padding: headerPadding,
fontWeight: FontWeight.bold,
),
Expanded(
child: ListView(
@ -105,6 +103,7 @@ class _SearchState extends State<Search> {
child: SectionHeader(
'Channels',
padding: headerPadding,
fontWeight: FontWeight.bold,
),
),
SearchResultsChannels(
@ -115,6 +114,7 @@ class _SearchState extends State<Search> {
child: SectionHeader(
'Categories',
padding: headerPadding,
fontWeight: FontWeight.bold,
),
),
SearchResultsCategories(searchStore: _searchStore),