diff --git a/lib/core/controller/debug.dart b/lib/core/controller/debug.dart index 4f12718..dc7bdc9 100644 --- a/lib/core/controller/debug.dart +++ b/lib/core/controller/debug.dart @@ -18,7 +18,7 @@ class _Debug extends StatelessWidget { bottom: -60, child: Text( 'ID: ${id.substring(0, 4)}\nGS:(${gs.dx.toInt()},${gs.dy.toInt()})\nSS:(${ss.dx.toInt()},${ss.dy.toInt()})', - style: monospaceStyle, + style: monospaceStyle(context), ), ), ], diff --git a/lib/core/render.dart b/lib/core/render.dart index a4f030a..9dccec2 100644 --- a/lib/core/render.dart +++ b/lib/core/render.dart @@ -94,7 +94,7 @@ class _LazyCanvasState extends State with TickerProviderStateMixin TextStyle( + color: Theme.of(context).colorScheme.onSurface, fontSize: 14, fontWeight: FontWeight.bold, fontFamily: 'monospace',