Skip to content

textual-ansi theme defaults to light mode? #5862

Open

Description

@TomJGooding

After discovering that Textual has a textual-ansi theme, I was a bit surprised that this seems to default to light mode.

TEXTUAL_THEME=textual-ansi python docs/examples/widgets/footer.py

(The footer is also unreadable with this theme, but that probably needs addressing in a separate issue.)

EDIT: This doesn't happen if you set the theme in the app's __init__ method. I found creating the app with ansi_color=True also seems to prevent this using the environment variable.

Activity

  1. github-actions commented on Jun 13, 2025

    @github-actions

    Thank you for your issue. Give us a little time to review it.

    PS. You might want to check the FAQ if you haven't done so already.

    This is an automated reply, generated by FAQtory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions