Astra

Themes

Theme System

Astra uses a theme system to control how the shell prompt looks. Themes define the identity, symbols, and enabled prompt sections.

Available Themes

Selecting a Theme

Change the theme in:

~/.astrarc

Example:

[general]

theme = "midnight"

Prompt Components

Themes can control the following prompt sections:

Creating Custom Themes

Custom themes can be added by extending Astra's theme system.

src/theme.rs

A theme contains:

name
prompt_symbol
show_user
show_hostname
show_directory
show_git
show_time

Design Philosophy

Astra themes are designed around clarity and speed. The prompt should provide useful information without becoming distracting.