chore: improve readability of text in analytics popups (#2160)
This commit is contained in:
parent
cfe5a0abf9
commit
6184942387
2 changed files with 7 additions and 2 deletions
|
|
@ -73,7 +73,9 @@ class VocabAnalyticsListTileState extends State<VocabAnalyticsListTile> {
|
|||
maxWidth: maxWidth - padding * 2,
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: widget.constructUse.constructLevel.color(context),
|
||||
color: Theme.of(context).brightness == Brightness.light
|
||||
? widget.constructUse.constructLevel.darkColor(context)
|
||||
: widget.constructUse.constructLevel.color(context),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -185,7 +185,10 @@ class MorphFocusWidgetState extends State<MorphFocusWidget> {
|
|||
onDoubleTap: enterEditMode,
|
||||
child: MorphTagDisplay(
|
||||
morphFeature: widget.morphFeature,
|
||||
textColor: id.constructUses.lemmaCategory.color(context),
|
||||
textColor: Theme.of(context).brightness ==
|
||||
Brightness.light
|
||||
? id.constructUses.lemmaCategory.darkColor(context)
|
||||
: id.constructUses.lemmaCategory.color(context),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue