settings
Package metadata and default configuration derived from package.json.
All exports are read once at module load time. The configuration prefix
(humanualsTheme) is derived from the property keys in package.json rather
than from pkg.name, since npm package names and VS Code configuration
prefixes follow different casing conventions (kebab-case vs camelCase).
Variables
Section titled “Variables”PKG_CONFIG_PREFIX
Section titled “PKG_CONFIG_PREFIX”
constPKG_CONFIG_PREFIX:string=prefix
Defined in: settings.ts:55
VS Code configuration namespace prefix (e.g. "humanualsTheme").
Used with workspace.getConfiguration() and event.affectsConfiguration().
PKG_DEFAULTS
Section titled “PKG_DEFAULTS”
constPKG_DEFAULTS:Configuration
Defined in: settings.ts:75
Default configuration values read directly from package.json.
Used by generateThemes.ts to produce the static shipped theme files, and as
the fallback when user settings are unavailable.
The two axes — temperature and contrast — each have independent dark/light
settings, allowing e.g. warm dark paired with cool light.
PKG_NAME
Section titled “PKG_NAME”
constPKG_NAME:string=pkg.name
Defined in: settings.ts:46
Npm package name (e.g. "humanuals-theme").
PKG_THEMES
Section titled “PKG_THEMES”
constPKG_THEMES:any=pkg.contributes.themes
Defined in: settings.ts:62
Theme entries from package.json contributes.themes.