light constant
NodeTheme
const light
Pre-configured light theme for nodes.
Features white background, subtle gray borders, and blue accents for selected states. Suitable for light mode applications.
Implementation
static const light = NodeTheme(
backgroundColor: Colors.white,
selectedBackgroundColor: Color(0xFFF5F5F5),
borderColor: Color(0xFFE0E0E0),
selectedBorderColor: Color(0xFF2196F3),
borderWidth: 2.0,
selectedBorderWidth: 2.0,
borderRadius: BorderRadius.all(Radius.circular(8.0)),
padding: EdgeInsets.all(2.0),
titleStyle: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.bold,
color: Color(0xFF333333),
),
contentStyle: TextStyle(fontSize: 12.0, color: Color(0xFF666666)),
);