Skip to content

fix: resolve relative LEAF_THEME paths from the config dir - #314

Open
simono wants to merge 1 commit into
RivoLink:mainfrom
simono:fix/leaf-theme-env-relative-path
Open

simono wants to merge 1 commit into
RivoLink:mainfrom
simono:fix/leaf-theme-env-relative-path

Conversation

@simono

@simono simono commented Sep 30, 2026

Copy link
Copy Markdown

A relative theme file in LEAF_THEME was resolved against the working directory, while the same value in config.toml's theme is resolved from the config dir. Outside that directory the lookup failed and leaf silently fell back to the default theme, so LEAF_THEME needed an absolute path.

LEAF_THEME now passes the config dir as well. The README line on relative paths mentions it.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant