mirror of
https://github.com/anotherhadi/ilovetui.git
synced 2026-10-05 10:58:26 +02:00
1c1d8ead1ffc38457aa6ca2925742787075a840c
I Love TUI
Shared OpenTUI/Solid theme, components, and config helpers for my TUIs.
Install
bun add github:anotherhadi/ilovetui
Peer dependencies, install whichever you actually use: @opentui/core, @opentui/solid, @opentui/keymap, solid-js, opentui-spinner.
Usage
import { theme, presets } from "ilovetui";
import "ilovetui/solid";
Entry points: ., ./solid, ./context, ./project-config, ./keymap, ./components, ./components/help, ./components/spinner. See the source for what each exports.
The theme is base16 and user-overridable via ~/.config/ilovetui/config.yaml. Copy src/default.yaml there as a starting point.
Languages
TypeScript
100%