Targ Apps Docs
Chroma

Glossary

Chroma terms and the names of its packages, repositories, and plugins in one place.

Terms

TermMeaning
EngineThe Rust/WebAssembly runtime (chroma_bg.wasm plus the pkg/chroma.js loader). Not the dev server.
Dev serverThe static HTTP server behind chroma dev (Chroma-Server, binary engine).
SignalA mutable value slot. Created by hookState, useReducer, and useMemo.
Getter / setterThe pair you hold for a signal. A getter read inside a reactive function subscribes to it.
BindingA function plus a target (attribute, child, effect, memo) that re-runs when its signals change.
ReactiveA child or attribute passed as a function. See Reactivity.
.chrChroma source file: ES module JavaScript with a different extension. See .chr format.
Manifestchroma.json, the project configuration.
PluginA browser JavaScript module declared in chroma.json and loaded at startup. See Plugins.
Portable (Web)Deployment state where chroma build output runs in a normal browser tab or static host. See Runtime modes.
Executable (Chroma Desktop)Deployment state where the same bundle runs inside the native chroma-desktop shell (develop or imported zip). See Runtime modes.
Live reloadFull page reload when watched sources change during chroma dev in a browser. Not hot module replacement.
Screen routerThe WebAssembly createRouter for navigating between screens.
API routerThe @chroma/router plugin's createRouter for file-based simulated endpoints.
Simulated endpointsHandlers under api/ that run in the browser and answer fetch-style requests locally.
Portable (Web)Runtime mode: the app runs as a normal web app (browser or static host). See Runtime modes.
Executable (Chroma Desktop)Runtime mode: the same bundle runs in the Chroma Desktop native shell (loopback iframe + bridges).
VariantA named option of a component's style, resolved by cva.

Name equivalence

One product often has a repository name, a plugin name in chroma.json, and an npm-style package name.

RepositoryPlugin name (chroma.json)Package nameNotes
Chroman/apkg/chroma.jsThe engine
Chroma-CLIn/achroma commandInstalled by chroma install
Chroma-Servern/aengine binaryThe dev server
Chroma-Desktopn/achroma-desktop binaryTauri shell
Chroma-Fschroma-fs@chroma/fsStorage
Chroma-Stylechroma-style@chroma/styleTokens and cva presets
Chroma-Routerchroma-router@chroma/routerAPI router
Chroma-t2tchroma-t2t@chroma/t2tTest utilities
Chroma-Lintern/a@chroma/linterLinter CLI
Chroma-VSCoden/atargapps.chromaEditor extension (publisher targapps)

What is Chroma-t2t

Chroma-t2t ("test-to-test") is an optional dev plugin (@chroma/t2t) with snapshot smoke checks, a persist export/import round-trip driven by your adapters, and a Node test bridge. See Chroma-t2t for setup, runtime-mode behavior, and a wiring example.

On this page