ColorScheme

it.grypho.scala.leonardo.cli.ColorScheme
See theColorScheme companion class
object ColorScheme

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def named(name: String): ColorScheme

Looks up a scheme by name, falling back to Dark for unknown names.

Looks up a scheme by name, falling back to Dark for unknown names.

Value parameters

name

the scheme name ("dark", "light", or "none")

Attributes

Returns

the matching ColorScheme, or Dark if name is not recognised

Concrete fields

val All: Map[String, ColorScheme]

All named schemes, keyed by the string accepted by the colors command.

All named schemes, keyed by the string accepted by the colors command.

Attributes

Optimised for dark / black terminal backgrounds.

Optimised for dark / black terminal backgrounds.

Attributes

Optimised for light / white terminal backgrounds.

Optimised for light / white terminal backgrounds.

Attributes

No colouring — every token rendered in the terminal's default style.

No colouring — every token rendered in the terminal's default style.

Attributes