defaultTextAreaStyles function

TextAreaStyles defaultTextAreaStyles()

Implementation

TextAreaStyles defaultTextAreaStyles() {
  return TextAreaStyles(
    focused: TextAreaStyleState(
      cursorLine: Style().background(const AnsiColor(0)),
      cursorLineNumber: Style().foreground(const AnsiColor(240)),
      endOfBuffer: Style().foreground(const AnsiColor(0)),
      lineNumber: Style().foreground(const AnsiColor(249)),
      placeholder: Style().foreground(const AnsiColor(240)),
      prompt: Style().foreground(const AnsiColor(7)),
      text: Style(),
    ),
    blurred: TextAreaStyleState(
      cursorLine: Style().foreground(const AnsiColor(245)),
      cursorLineNumber: Style().foreground(const AnsiColor(249)),
      endOfBuffer: Style().foreground(const AnsiColor(0)),
      lineNumber: Style().foreground(const AnsiColor(249)),
      placeholder: Style().foreground(const AnsiColor(240)),
      prompt: Style().foreground(const AnsiColor(7)),
      text: Style().foreground(const AnsiColor(245)),
    ),
    cursor: TextAreaCursorStyle(
      color: const AnsiColor(7),
      shape: CursorShape.block,
      blink: true,
    ),
  );
}