Skip to content

Modern Tui TuiThemeDefault

Paul Squires edited this page Oct 19, 2026 · 6 revisions

Home › Terminal TUI Library › Colour and Style › TuiThemeDefault

TuiThemeDefault

Returns the stock colour theme.

Syntax

TuiThemeDefault( ) as TuiTheme

Description

The stock colour theme. Every example in the module starts here.

Example

#import "std/tui"
using tui

dim as TuiTheme th = TuiThemeDefault( )
dim as TuiStyle focusFill = th.normal.Patch( th.selected )
print focusFill.Equals( th.normal )    '' false -- selection is visible

See also

TuiColor TuiColor.Equals TuiDefaultColor TuiIndexed TuiBlack TuiGreen
TuiColor.IsDefault TuiColor.Index TuiAnsi TuiRgb TuiRed TuiYellow

Library: Terminal TUI Library
Category: Terminal TUI Library
Documented under: Colour and Style
Working examples: hello.tiko · form.tiko · dashboard.tiko


Home · Keyword Index

Clone this wiki locally