Theme

declslides.domain.Theme
See theTheme companion object
final case class Theme(name: ThemeName, background: HexColor, foreground: HexColor, accent: HexColor, codeBackground: HexColor)

Visual theme used by renderers.

A theme keeps the color vocabulary small and renderer-friendly: background, foreground, accent, and code background are enough to express the current HTML and text renderers without overfitting the model.

Value parameters

accent

highlight color used for titles and emphasis

background

main background color

codeBackground

background color for code blocks and similar surfaces

foreground

main text color

name

stable theme identifier

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product