Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/tui/src/theme.ts

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
import * as tui from "https://deno.land/x/tui@2.0.0/src/theme.ts";

Functions

Used as placeholder style when one is not supplied, returns the input

Applies default values to properties (lower one hierarchy or emptyStyle) that aren't set

Returns {replacement} if {style} is an {emptyStyle} otherwise returns {style} back

Interfaces

Base theme used to style components, can be expanded upon

Type Aliases

Function that's supposed to return styled text given string as parameter