feat: bundle Luciole, Literata, Charis SIL and a Hebrew fallback face
This commit is contained in:
parent
dfba1cfb16
commit
6de6672ae3
30 changed files with 624 additions and 11 deletions
|
|
@ -4,6 +4,7 @@ import 'package:flutter/gestures.dart';
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../l10n/strings.dart';
|
||||
import '../../application/fonts.dart';
|
||||
import '../../mews/document.dart';
|
||||
import 'palettes.dart';
|
||||
|
||||
|
|
@ -117,6 +118,7 @@ class _MewsPageViewState extends State<MewsPageView> {
|
|||
style: TextStyle(
|
||||
color: palette.foreground.withValues(alpha: 0.7),
|
||||
fontFamily: widget.fontFamily,
|
||||
fontFamilyFallback: fallbackFor(widget.fontFamily),
|
||||
fontSize: base * 0.85,
|
||||
),
|
||||
),
|
||||
|
|
@ -129,6 +131,7 @@ class _MewsPageViewState extends State<MewsPageView> {
|
|||
final foreground = TextStyle(
|
||||
color: palette.foreground,
|
||||
fontFamily: widget.fontFamily,
|
||||
fontFamilyFallback: fallbackFor(widget.fontFamily),
|
||||
fontSize: base,
|
||||
height: 1.5,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue