color_scheme.dart 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import 'package:meta/meta.dart';
  2. import 'package:xterm/buffer/cell_color.dart';
  3. class TerminalColourScheme {
  4. TerminalColourScheme({
  5. @required this.cursor,
  6. @required this.selection,
  7. @required this.foreground,
  8. @required this.background,
  9. @required this.black,
  10. @required this.white,
  11. @required this.red,
  12. @required this.green,
  13. @required this.yellow,
  14. @required this.blue,
  15. @required this.magenta,
  16. @required this.cyan,
  17. @required this.brightBlack,
  18. @required this.brightRed,
  19. @required this.brightGreen,
  20. @required this.brightYellow,
  21. @required this.brightBlue,
  22. @required this.brightMagenta,
  23. @required this.brightCyan,
  24. });
  25. CellColor cursor;
  26. CellColor selection;
  27. CellColor foreground;
  28. CellColor background;
  29. CellColor black;
  30. CellColor red;
  31. CellColor green;
  32. CellColor yellow;
  33. CellColor blue;
  34. CellColor magenta;
  35. CellColor cyan;
  36. CellColor brightBlack;
  37. CellColor brightRed;
  38. CellColor brightGreen;
  39. CellColor brightYellow;
  40. CellColor brightBlue;
  41. CellColor brightMagenta;
  42. CellColor brightCyan;
  43. CellColor white;
  44. }