Skip to content

Commit

Permalink
fix(ui): extension repo page font color error (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaoMint authored Jan 17, 2024
1 parent f663535 commit 89785c4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/views/widgets/extension/extension_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ class _ExtensionCardState extends State<ExtensionCard> {
),
title: Text(widget.name),
subtitle: DefaultTextStyle(
style: const TextStyle(fontSize: 12),
style: TextStyle(
fontSize: 12,
color: Theme.of(context).textTheme.bodySmall!.color,
),
child: Row(
children: [
Padding(
Expand Down Expand Up @@ -174,7 +177,10 @@ class _ExtensionCardState extends State<ExtensionCard> {
const SizedBox(height: 8),
Text(widget.name, style: const TextStyle(fontSize: 17)),
DefaultTextStyle(
style: const TextStyle(fontSize: 12),
style: TextStyle(
fontSize: 12,
color: fluent.FluentTheme.of(context).inactiveColor,
),
child: Row(
children: [
Padding(
Expand Down

0 comments on commit 89785c4

Please sign in to comment.