Skip to content
LiG.

LiG.

Less is Great.

Syntax highlighting uses a few colors. The rest of the palette stays out of the code.

Syntax

Six.

Text, quiet, type, value, call, special. That is the highlighter.

Yellow, cyan, and the other accents are for diagnostics and the UI. They do not paint syntax.

Variant

theme.ts

export function loadTheme(name: string) {
  const count = 6
  // less is great
  return read("lig", "\n")
}

lig git status

modified: tokens.json

untracked: 占位

Source

Palette

The full source palette. Open it for a hex. Reading code does not need it.

Copy as
Triads and UI roles

red

green

yellow

blue

magenta

cyan

orange

azure

Ports

Downloads & ports

Generated token files in this repo

  • palette/generated/tokens.json
  • palette/generated/tokens.css
  • palette/generated/tokens.scss
  • palette/generated/tailwind-colors.json