Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tui/src/theme.ts

🦕 Deno module for creating Terminal User Interfaces
Latest
import * as tui from "https://deno.land/x/tui@2.1.11/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