Srcery Logo Glyph Daniel Berg 2023 Daniel Berg and srcery-colors contributors

Srcery

Srcery is dark syntax highlighting color scheme with clearly defined contrasting colors and a slightly earthy tone.

Created using colors that logically adheres to the 16 color base palette of a terminal, while trying to retain its own identity. The colors are designed to be easy on the eyes, yet contrast well with the background for long sessions using an editor or terminal emulator.

Here's a few Rosetta Code examples demoed using highlight.js. It'll give a general impression but see the themes for details about a specific editor/IDE.


                  int factorial(int n) {
    int result = 1;
    for (int i = 1; i <= n; ++i)
        result *= i;
    return result;
}

long long int fibb(int n) {
  int fnow = 0, fnext = 1, tempf;
  while(--n > 0) {
    tempf = fnow + fnext;
    fnow = fnext;
    fnext = tempf;
  }
  return fnext;
}