Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "theme"

Index

Variables

Const lnum

lnum: "attr(data-lnum)" = "attr(data-lnum)"

Functions

Const bgfg

  • bgfg(__namedParameters: [string, string]): { background: string; color: string }
  • Parameters

    • __namedParameters: [string, string]

    Returns { background: string; color: string }

    • background: string
    • color: string

Const bgfgBorder

  • bgfgBorder(__namedParameters: [string, string, string]): { background: string; border-right: string; color: string }
  • Parameters

    • __namedParameters: [string, string, string]

    Returns { background: string; border-right: string; color: string }

    • background: string
    • border-right: string
    • color: string

Const compileTheme

  • compileTheme(theme: Theme): string

Const diffAttr

  • diffAttr(id: string): string

Const diffMode

  • diffMode(__namedParameters: { main: [string, string]; side: [string, string, string]; word: undefined | [string, string] }, mode: string, content: string): (null | string | { background: string; color: string } | (string | { background: string; color: string })[] | (string | { content: string })[])[]
  • Parameters

    • __namedParameters: { main: [string, string]; side: [string, string, string]; word: undefined | [string, string] }
      • main: [string, string]
      • side: [string, string, string]
      • word: undefined | [string, string]
    • mode: string
    • content: string

    Returns (null | string | { background: string; color: string } | (string | { background: string; color: string })[] | (string | { content: string })[])[]

Object literals

Const block

block: object

display

display: string = "block"

Const none

none: object

display

display: string = "none"

Generated using TypeDoc