Modified SSE Display to support DarkMode

This commit is contained in:
Manas Hejmadi
2025-07-08 04:12:04 +05:30
parent 74465ff243
commit 458e8c4fbe
3 changed files with 3 additions and 21 deletions

View File

@@ -34,7 +34,9 @@ class _SSEDisplayState extends State<SSEDisplay> {
} catch (_) {}
return Card(
color: Colors.white,
color: Theme.of(context).brightness == Brightness.light
? Colors.white
: const Color.fromARGB(255, 14, 20, 27),
margin: const EdgeInsets.symmetric(vertical: 6, horizontal: 8),
elevation: 2,
shape: RoundedRectangleBorder(