tuil
ReferencePackages@mwillbanks/tuil-themeAPI

normalizeTheme

function exported by @mwillbanks/tuil-theme.

View rawEdit

function

Public function exported by @mwillbanks/tuil-theme.

export function normalizeTheme(
  theme: Theme,
  capabilities: TerminalCapabilities,
): Theme;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
themeThemeYesSupplies the theme value as Theme.Theme
capabilitiesTerminalCapabilitiesYesSupplies the capabilities value as TerminalCapabilities.TerminalCapabilities

Returns

Theme — Returns a value that satisfies Theme.

Related types: Theme

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-theme

On this page