light constant

PortTheme const light

A predefined light theme for ports.

This theme is designed for use in light-themed applications with:

  • Light gray idle color
  • Blue accent colors for interactions
  • No border

Colors:

  • Idle: Light gray (#BABABA)
  • Connected: Material blue (#2196F3)
  • Highlight: Light blue (#42A5F5)

Implementation

static const light = PortTheme(
  size: Size(9, 9),
  color: Color(0xFFBABABA),
  connectedColor: Color(0xFF2196F3),
  highlightColor: Color(0xFF42A5F5),
  highlightBorderColor: Color(0xFF000000),
  borderColor: Colors.transparent,
  borderWidth: 1.0,
  labelTextStyle: TextStyle(
    fontSize: 10.0,
    color: Color(0xFF333333),
    fontWeight: FontWeight.w500,
  ),
  labelOffset: 4.0,
);