Update dark theme colors for improved visibility and aesthetics (#656)

This commit is contained in:
wanghongenpin
2026-01-10 08:09:15 +08:00
parent ae7d821185
commit 7261b46559
2 changed files with 7 additions and 7 deletions

View File

@@ -339,7 +339,7 @@ Widget _getValueWidget(dynamic value, ColorTheme colorTheme,
style = TextStyle(color: colorTheme.keyword);
} else if (value is num) {
valueStr = value.toString();
style = TextStyle(color: colorTheme.keyword);
style = TextStyle(color: colorTheme.number);
} else if (value is String) {
valueStr = '"$value"';
style = TextStyle(color: colorTheme.string);

View File

@@ -13,12 +13,12 @@ class ColorTheme {
);
static ColorTheme dark(ColorScheme colorScheme) => ColorTheme(
background: const Color(0xff2b2b2b),
propertyKey: const Color(0xff9876aa),
colon: const Color(0xffcc7832),
string: const Color(0xff6a8759),
number: const Color(0xff6897bb),
keyword: const Color(0xffcc7832),
background: const Color(0XFF1E1F22),
propertyKey: const Color(0XFFC77DBB),
colon: const Color(0XFFBCBEC4),
string: const Color(0XFF6AAB73),
number: const Color(0XFF2AACB8),
keyword: const Color(0XFFCF8E6D),
searchMatchColor: colorScheme.inversePrimary,
searchMatchCurrentColor: colorScheme.primary,
);