From 645892a7dcbd6c16035badf50e0f63fa3d14e2e6 Mon Sep 17 00:00:00 2001
From: Vishesh Handa <me@vhanda.in>
Date: Mon, 27 Jan 2020 23:33:21 +0100
Subject: [PATCH] NoteMetadata Settings: Fix colors for dark mode

---
 lib/screens/settings_note_metadata.dart | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/screens/settings_note_metadata.dart b/lib/screens/settings_note_metadata.dart
index 6f20848f..dcde8152 100644
--- a/lib/screens/settings_note_metadata.dart
+++ b/lib/screens/settings_note_metadata.dart
@@ -80,11 +80,12 @@ class NoteMetaDataExample extends StatelessWidget {
 
   @override
   Widget build(BuildContext context) {
-    var style = Theme.of(context).textTheme.subhead;
+    var theme = Theme.of(context);
+    var style = theme.textTheme.subhead;
     style = style.copyWith(fontFamily: "Roboto Mono");
 
     return Container(
-      color: Colors.grey[200],
+      color: theme.highlightColor,
       child: Text(yamlHeader, style: style),
       padding: const EdgeInsets.all(0),
     );