Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.channel.theme

Internal, channel-agnostic Vis theme data.

Keep this namespace pure data: no Lanterna, Swing, browser, or terminal backend imports. Channels adapt these tokens to their own render types.

Internal, channel-agnostic Vis theme data.

Keep this namespace pure data: no Lanterna, Swing, browser, or terminal
backend imports. Channels adapt these tokens to their own render types.
raw docstring

auto-theme-idclj

The theme preference that follows the color scheme of the system. It names no palette.

The theme preference that follows the color scheme of the system. It names no palette.
sourceraw docstring

auto-theme-idsclj

The built-in theme that auto-theme-id selects for each color scheme of the system.

The built-in theme that `auto-theme-id` selects for each color scheme of the system.
sourceraw docstring

available-theme-idsclj

(available-theme-ids)
(available-theme-ids extensions)

Theme ids from the process registry plus optional unregistered extension descriptor maps. Normally extensions are already installed into themes by register-extension!; the argument remains for pure tests/previews.

vis-light/vis-dark are pinned to the top (see theme-id-priority); all other ids follow, sorted alphabetically.

Theme ids from the process registry plus optional unregistered extension
descriptor maps. Normally extensions are already installed into `themes`
by `register-extension!`; the argument remains for pure tests/previews.

`vis-light`/`vis-dark` are pinned to the top (see `theme-id-priority`);
all other ids follow, sorted alphabetically.
sourceraw docstring

blockether-darkclj

Blockether brand dark theme — matching blockether.com.

Blockether brand dark theme — matching blockether.com.
sourceraw docstring

blockether-dark-paletteclj

Blockether brand dark palette: deep slate ground + amber accent + brand green/red/teal — matching the blockether.com dark theme. A re-skin of dark-palette; syntax + per-tool badge colours are inherited.

Blockether brand dark palette: deep slate ground + amber accent + brand
green/red/teal — matching the blockether.com dark theme.
A re-skin of `dark-palette`; syntax + per-tool badge colours are inherited.
sourceraw docstring

blockether-lightclj

Blockether brand light theme — warm cream + amber, matching blockether.com.

Blockether brand light theme — warm cream + amber, matching blockether.com.
sourceraw docstring

blockether-light-paletteclj

Blockether brand light palette: warm cream ground + amber accent + brand green/red/teal — the exact tokens the blockether.com site uses. A re-skin of overridden (syntax + per-tool badge colours are inherited).

Blockether brand light palette: warm cream ground + amber accent + brand
green/red/teal — the exact tokens the blockether.com site uses. A re-skin of
overridden (syntax + per-tool badge colours are inherited).
sourceraw docstring

built-in-themesclj

source

colorclj

(color k)
(color theme-map k)

Return RGB vector for palette token k in theme-map (or selected/default theme).

Return RGB vector for palette token `k` in `theme-map` (or selected/default theme).
sourceraw docstring

common-fontsclj

source

common-spacingclj

source

common-widthsclj

source

dark-paletteclj

source

default-themeclj

source

default-theme-idclj

The built-in theme id used when config has no explicit theme.

The built-in theme id used when config has no explicit theme.
sourceraw docstring

explain-themeclj

(explain-theme x)
source

extension-theme-map?clj

(extension-theme-map? x)

True for extension :ext/theme declarations.

Shape is intentionally plain EDN for third-party packages:

{:ext/theme {"THEME_NAME" {"PADDING" "0px"}}}

Theme names may be strings or keywords. Values may be compact setting maps or full theme maps.

True for extension `:ext/theme` declarations.

Shape is intentionally plain EDN for third-party packages:

  {:ext/theme {"THEME_NAME" {"PADDING" "0px"}}}

Theme names may be strings or keywords. Values may be compact setting maps
or full theme maps.
sourceraw docstring

extension-theme-settingsclj

(extension-theme-settings)
(extension-theme-settings theme-registry)

Return a registry in extension :ext/theme compact settings shape.

Return a registry in extension `:ext/theme` compact settings shape.
sourceraw docstring

extension-themesclj

(extension-themes extensions)

Merge :ext/theme maps from registered extension descriptors. Later extensions override earlier themes with the same name.

Merge `:ext/theme` maps from registered extension descriptors.
Later extensions override earlier themes with the same name.
sourceraw docstring

high-contrast-darkclj

White ink on black; the inverse accessibility choice, not an e-ink default.

White ink on black; the inverse accessibility choice, not an e-ink default.
sourceraw docstring

light-paletteclj

source

paletteclj

Default palette. Kept as a named var for channels that only need colours.

Default palette. Kept as a named var for channels that only need colours.
sourceraw docstring

paperclj

Black ink on white paper, for high contrast and e-ink palette exploration.

Black ink on white paper, for high contrast and e-ink palette exploration.
sourceraw docstring

register-theme!clj

(register-theme! theme-map)
(register-theme! id theme-map)

Add or replace one theme in the process registry.

Arity 1 expects a full theme map with :name. Arity 2 accepts either a full theme map or a compact settings map such as {"PADDING" "0px"}.

Add or replace one theme in the process registry.

Arity 1 expects a full theme map with `:name`. Arity 2 accepts either a
full theme map or a compact settings map such as `{"PADDING" "0px"}`.
sourceraw docstring

register-themes!clj

(register-themes! theme-map)

Add every entry from an extension-style theme map.

{"THEME_NAME" {"PADDING" "0px"}}

Values may be compact settings maps or full theme maps.

Add every entry from an extension-style theme map.

  {"THEME_NAME" {"PADDING" "0px"}}

Values may be compact settings maps or full theme maps.
sourceraw docstring

reset-themes!clj

(reset-themes!)

Reset process registry to built-in themes. Test/dev helper.

Reset process registry to built-in themes. Test/dev helper.
sourceraw docstring

rgb->cssclj

(rgb->css [r g b])

Hex CSS color ("#rrggbb") for an RGB triple.

Hex CSS color ("#rrggbb") for an RGB triple.
sourceraw docstring

rgb?clj

(rgb? x)

True when x is an RGB triple [r g b], each channel 0..255.

True when `x` is an RGB triple `[r g b]`, each channel 0..255.
sourceraw docstring

solarized-darkclj

Solarized Dark theme.

Solarized Dark theme.
sourceraw docstring

solarized-dark-paletteclj

source

solarized-lightclj

Solarized Light theme.

Solarized Light theme.
sourceraw docstring

solarized-light-paletteclj

source

themeclj

(theme id)

Return registered theme by id (string or keyword). Unknown ids fall back to default-theme.

Return registered theme by id (string or keyword). Unknown ids fall back to
`default-theme`.
sourceraw docstring

theme->web-css-varsclj

(theme->web-css-vars {:keys [palette settings]})

CSS custom-property map ("--bg" -> "#rrggbb") for a theme map - the palette-named tokens, the derived bg/fg mixes, and the luminance-delta-normalized border hairlines.

CSS custom-property map ("--bg" -> "#rrggbb") for a theme map -
the palette-named tokens, the derived bg/fg mixes, and the
luminance-delta-normalized border hairlines.
sourceraw docstring

theme-registryclj

(theme-registry)

Return current immutable theme registry map.

Return current immutable theme registry map.
sourceraw docstring

themesclj

source

tokyonight-dayclj

tokyonight.nvim Day theme.

tokyonight.nvim Day theme.
sourceraw docstring

tokyonight-day-colorsclj

tokyonight.nvim Day colours, with small-text inks moved only darker for AA.

tokyonight.nvim Day colours, with small-text inks moved only darker for AA.
sourceraw docstring

tokyonight-day-paletteclj

source

tokyonight-moonclj

tokyonight.nvim Moon theme.

tokyonight.nvim Moon theme.
sourceraw docstring

tokyonight-moon-colorsclj

tokyonight.nvim Moon colours; its muted ink is lifted only enough for AA on raised bands.

tokyonight.nvim Moon colours; its muted ink is lifted only enough for AA on raised bands.
sourceraw docstring

tokyonight-moon-paletteclj

source

tokyonight-nightclj

tokyonight.nvim Night theme.

tokyonight.nvim Night theme.
sourceraw docstring

tokyonight-night-colorsclj

Canonical tokyonight.nvim Night colours: Storm with its three darker grounds.

Canonical tokyonight.nvim Night colours: Storm with its three darker grounds.
sourceraw docstring

tokyonight-night-paletteclj

source

tokyonight-stormclj

tokyonight.nvim Storm theme.

tokyonight.nvim Storm theme.
sourceraw docstring

tokyonight-storm-colorsclj

Canonical tokyonight.nvim Storm colours (upstream 4.14.1).

Canonical tokyonight.nvim Storm colours (upstream 4.14.1).
sourceraw docstring

tokyonight-storm-paletteclj

source

unregister-theme!clj

(unregister-theme! id)

Remove a theme id. Built-ins reset to their built-in value instead of being removed, so the registry always keeps light and dark available.

Remove a theme id. Built-ins reset to their built-in value instead of being
removed, so the registry always keeps light and dark available.
sourceraw docstring

unregister-themes!clj

(unregister-themes! ids)
source

valid-theme?clj

(valid-theme? x)
source

vis-darkclj

Default Vis dark theme.

Default Vis dark theme.
sourceraw docstring

vis-lightclj

Default Vis light theme.

Default Vis light theme.
sourceraw docstring

web-css-border-tokensclj

Hairline border vars keyed to a TARGET luminance delta from the ground (NOT a raw mix ratio): each is mixed from --bg toward the palette's :border-fg just far enough to hit that delta. Borders then read with equal weight on EVERY theme — the same presence vis-light's hairline carries — even where a palette's own border color sits close to its background (Solarized), instead of washing out to near-white.

Hairline border vars keyed to a TARGET luminance delta from the ground (NOT
a raw mix ratio): each is mixed from `--bg` toward the palette's `:border-fg`
just far enough to hit that delta. Borders then read with equal weight on
EVERY theme — the same presence vis-light's hairline carries — even where a
palette's own border color sits close to its background (Solarized), instead
of washing out to near-white.
sourceraw docstring

web-css-derived-tokensclj

CSS vars derived from the ground. Hover is paint; quiet text is the palette's contrast-checked :dialog-hint, mapped in web-css-palette-tokens.

CSS vars derived from the ground. Hover is paint; quiet text is the palette's
contrast-checked `:dialog-hint`, mapped in `web-css-palette-tokens`.
sourceraw docstring

web-css-palette-tokensclj

The shared TUI/HTML theme contract: CSS custom property -> palette token. Browser channels consume exact semantic colors instead of approximating them with opacity or brightness filters.

The shared TUI/HTML theme contract: CSS custom property -> palette token.
Browser channels consume exact semantic colors instead of approximating them
with opacity or brightness filters.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close