defaultFor static method

CodeTheme defaultFor(
  1. RenderContext ctx
)

Implementation

static CodeTheme defaultFor(RenderContext ctx) => CodeTheme(
      keyword: Style(fg: ctx.theme.colors.primary, bold: true),
      string: Style(fg: ctx.theme.colors.success),
      number: Style(fg: ctx.theme.colors.warning),
      comment: Style(fg: ctx.theme.colors.muted, italic: true),
      identifier: ctx.theme.text.body,
      punctuation: Style(fg: ctx.theme.colors.muted),
      lineNumber: Style(fg: ctx.theme.colors.muted),
    );