dark property

ChromaTheme get dark

Default dark theme inspired by Glamour/Charm.

Colors are chosen to work well on dark terminal backgrounds.

Implementation

static ChromaTheme get dark => ChromaTheme(
  text: Style().foreground(BasicColor('#C4C4C4')),
  error: Style()
      .foreground(BasicColor('#F1F1F1'))
      .background(BasicColor('#F05B5B')),
  comment: Style().foreground(BasicColor('#676767')),
  commentPreproc: Style().foreground(BasicColor('#FF875F')),
  keyword: Style().foreground(BasicColor('#00AAFF')),
  keywordReserved: Style().foreground(BasicColor('#FF5FD2')),
  keywordNamespace: Style().foreground(BasicColor('#FF5F87')),
  keywordType: Style().foreground(BasicColor('#6E6ED8')),
  operator: Style().foreground(BasicColor('#EF8080')),
  punctuation: Style().foreground(BasicColor('#E8E8A8')),
  name: Style().foreground(BasicColor('#C4C4C4')),
  nameBuiltin: Style().foreground(BasicColor('#FF8EC7')),
  nameTag: Style().foreground(BasicColor('#B083EA')),
  nameAttribute: Style().foreground(BasicColor('#7A7AE6')),
  nameClass: Style().foreground(BasicColor('#F1F1F1')).underline().bold(),
  nameConstant: Style().foreground(BasicColor('#C4C4C4')),
  nameDecorator: Style().foreground(BasicColor('#FFFF87')),
  nameException: Style().foreground(BasicColor('#FF5F87')),
  nameFunction: Style().foreground(BasicColor('#00D787')),
  nameOther: Style().foreground(BasicColor('#C4C4C4')),
  literal: Style().foreground(BasicColor('#C4C4C4')),
  literalNumber: Style().foreground(BasicColor('#6EEFC0')),
  literalDate: Style().foreground(BasicColor('#C4C4C4')),
  literalString: Style().foreground(BasicColor('#C69669')),
  literalStringEscape: Style().foreground(BasicColor('#AFFFD7')),
  genericDeleted: Style().foreground(BasicColor('#FD5B5B')),
  genericEmph: Style().italic(),
  genericInserted: Style().foreground(BasicColor('#00D787')),
  genericStrong: Style().bold(),
  genericSubheading: Style().foreground(BasicColor('#777777')),
  background: Style().background(BasicColor('#373737')),
);