Skip to content

Latest commit

 

History

History
160 lines (99 loc) · 4.23 KB

File metadata and controls

160 lines (99 loc) · 4.23 KB

src/ui/theme.ml

Home · Files

Provides ui theme facilities for this project.

Package: ui.theme

Reachable from entry: yes

Imports

Declarations

border_color

function border_color(st)

Return the border color for the active theme.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

chrome_bg

function chrome_bg(st)

Return the toolbar and status chrome background color for the active theme.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

editor_bg

function editor_bg(st)

Return the editor background color for the active theme.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

editor_fg

function editor_fg(st)

Return the editor foreground color for the active theme.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

gutter_bg

function gutter_bg(st)

Return the line-number gutter background color for the active theme.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

is_dark

function is_dark(st)

Return true when the active theme is dark.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

muted_fg

function muted_fg(st)

Return the muted foreground color for secondary UI text.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

panel_bg

function panel_bg(st)

Return the side and result panel background color for the active theme.

Parameter Type Default Description
st dynamic st value consumed by this operation.

View source

syntax_color

function syntax_color(st, kind)

Return the syntax-highlight color for a token kind.

Parameter Type Default Description
st dynamic st value consumed by this operation.
kind dynamic kind value consumed by this operation.

View source