darkTheme constant
PulseTheme
const darkTheme
Dark theme with dark colors suitable for dark mode
Implementation
static const PulseTheme darkTheme = PulseTheme(
dialogBorderRadius: 12.0,
dialogBackgroundColor: Color(0xFF1E1E1E), // Dark gray background
primaryColor: Color(0xFF64B5F6), // Light blue for dark mode
titleTextColor: Color(0xFFE0E0E0), // Light gray for titles
contentTextColor: Color(0xFFB0B0B0), // Medium gray for content
dialogContentPadding: EdgeInsets.all(16.0),
dialogBlurSigmaX: 2.0,
dialogBlurSigmaY: 2.0,
dialogBarrierColor: Color(0xB0000000), // More opaque black for dark mode
titleTextStyle: TextStyle(
fontSize: 20.0,
fontWeight: FontWeight.bold,
color: Color(0xFFE0E0E0),
),
contentTextStyle: TextStyle(
fontSize: 14.0,
color: Color(0xFFB0B0B0),
),
buttonTextStyle: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.w500,
color: Color(0xFF212121),
),
iconSize: 24.0,
errorIconColor: Color(0xFFEF5350), // Lighter red for dark mode
defectIconColor: Color(0xFFFFB74D), // Lighter orange for dark mode
suggestionIconColor: Color(0xFF66BB6A), // Lighter green for dark mode
categoryIconColor: Color(0xFF64B5F6), // Light blue for dark mode
);