Skip to content

Commit

Permalink
feat: make underline dotted and add space between underline and vocab…
Browse files Browse the repository at this point in the history
… words (#1619)
  • Loading branch information
ggurdin authored Jan 28, 2025
1 parent d408910 commit 3725313
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,17 @@ class LemmaListSection extends StatelessWidget {
child: Text(
"${lemma.displayText ?? lemma.construct.lemma}${index < lemmas.length - 1 ? ', ' : ''}",
style: TextStyle(
color:
Theme.of(context).colorScheme.onPrimaryFixed,
shadows: [
Shadow(
color: Theme.of(context)
.colorScheme
.onPrimaryFixed,
offset: const Offset(0, -2.5),
),
],
color: Colors.transparent,
decoration: TextDecoration.underline,
decorationStyle: TextDecorationStyle.dashed,
decorationStyle: TextDecorationStyle.dotted,
decorationColor:
Theme.of(context).colorScheme.onPrimaryFixed,
decorationThickness: 1,
Expand Down

0 comments on commit 3725313

Please sign in to comment.