Skip to content

Conversation

@BinaryMuse
Copy link
Member

Migrated from atuinsh/docs PR: atuinsh/docs#109
Original author: @philtweir


What is the purpose of this pull request?

Short change to note that there is a supported way of directly setting ANSI codes, and other Crossterm colours, directly using the @ symbol.

Why is this relevant?

This could provide a workaround for issues such as #2827, where a 256 colour terminal shows all themes as grey.

@BinaryMuse BinaryMuse marked this pull request as ready for review January 16, 2026 19:14
@BinaryMuse BinaryMuse merged commit a3d5f9f into main Jan 16, 2026
23 checks passed
@BinaryMuse BinaryMuse deleted the docs-pr-migration/fix-ansi-theme-fallback branch January 16, 2026 19:14
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 16, 2026

Greptile Summary

Adds documentation for the existing @ prefix feature that allows direct specification of Crossterm colors and ANSI codes in theme files. This helps users work around theme rendering issues on 256-color terminals by using explicit ANSI codes like @ansi_(123) or Crossterm color names like @dark_yellow.

Important Files Changed

Filename Overview
docs/docs/guide/theming.md Added documentation for @ prefix syntax to use Crossterm colors and ANSI codes

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.

3 participants