Skip to content

Commit 4129f43

Browse files
committed
chore: update some icon color
1 parent 689a9b3 commit 4129f43

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/recent_views_list.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ class RecentViewsList extends StatelessWidget {
5757
emojiSize: 16.0,
5858
lineHeight: 20 / 16,
5959
)
60-
: FlowySvg(view.iconData, size: const Size.square(20));
60+
: FlowySvg(
61+
view.iconData,
62+
size: const Size.square(20),
63+
color: theme.iconColorScheme.secondary,
64+
);
6165

6266
return SearchRecentViewCell(
6367
icon: SizedBox.square(

frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_result_cell.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ class _SearchResultCellState extends State<SearchResultCell> {
153153

154154
Widget buildIcon(AppFlowyThemeData theme) {
155155
final icon = item.icon;
156+
final color = theme.iconColorScheme.secondary;
156157
if (icon.ty == ResultIconTypePB.Emoji) {
157-
return icon.getIcon(size: 20) ?? SizedBox.shrink();
158+
return icon.getIcon(size: 20, iconColor: color) ?? SizedBox.shrink();
158159
} else {
159-
return icon.getIcon(size: 20, iconColor: theme.iconColorScheme.primary) ??
160-
SizedBox.shrink();
160+
return icon.getIcon(size: 20, iconColor: color) ?? SizedBox.shrink();
161161
}
162162
}
163163

0 commit comments

Comments
 (0)