mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
Update dark theme colors for improved visibility and aesthetics (#656)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user