Files
dotfiles/matugen/files/templates/tmux-colors.conf
T

82 lines
3.5 KiB
Plaintext

# Tmux theme colors (generated by matugen)
# Uses Material Design 3 semantic color system
# =============================================
# Semantic Color Roles
# =============================================
# Primary - main brand color
PRIMARY={{colors.primary.default.hex}}
ON_PRIMARY={{colors.on_primary.default.hex}}
# Secondary - complementary accent
SECONDARY={{colors.secondary.default.hex}}
ON_SECONDARY={{colors.on_secondary.default.hex}}
# Tertiary - contrasting accent
TERTIARY={{colors.tertiary.default.hex}}
ON_TERTIARY={{colors.on_tertiary.default.hex}}
# Surface - backgrounds at different elevations
SURFACE={{colors.surface.default.hex}}
SURFACE_CONTAINER={{colors.surface_container.default.hex}}
SURFACE_VARIANT={{colors.surface_variant.default.hex}}
INVERSE_SURFACE={{colors.inverse_surface.default.hex}}
# On colors - text/icons on surfaces
ON_SURFACE={{colors.on_surface.default.hex}}
ON_SURFACE_VARIANT={{colors.on_surface_variant.default.hex}}
INVERSE_ON_SURFACE={{colors.inverse_on_surface.default.hex}}
# Outlines - borders and dividers
OUTLINE={{colors.outline.default.hex}}
OUTLINE_VARIANT={{colors.outline_variant.default.hex}}
# Error - destructive actions
ERROR={{colors.error.default.hex}}
ON_ERROR={{colors.on_error.default.hex}}
# =============================================
# Tmux Styling with Semantic Colors
# =============================================
# Status bar - surface container for elevation
set -g status-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
# Left side - primary with on-primary text (max contrast)
set -g status-left "#[fg={{colors.on_primary.default.hex}},bg={{colors.primary.default.hex}},bold] #S #[bg={{colors.surface_container.default.hex}}] "
# Right side - muted text
set -g status-right "#[fg={{colors.on_surface_variant.default.hex}}]%Y-%m-%d #[fg={{colors.on_surface.default.hex}}]%H:%M #[default]"
# Window tabs - variant for inactive, primary for active
set -g window-status-format "#[fg={{colors.on_surface_variant.default.hex}}] #I:#W "
set -g window-status-current-format "#[fg={{colors.on_primary.default.hex}},bg={{colors.primary.default.hex}},bold] #I:#W #[default]"
set -g window-status-separator ""
set -g status-justify left
# Pane borders - outline for inactive, primary for active
set -g pane-border-style "fg={{colors.outline_variant.default.hex}}"
set -g pane-active-border-style "fg={{colors.primary.default.hex}}"
# Messages - surface variant bg with on-surface text
set -g message-style "bg={{colors.surface_variant.default.hex}},fg={{colors.on_surface.default.hex}},bold"
set -g message-command-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
# Copy mode - tertiary accent
set -g mode-style "bg={{colors.tertiary.default.hex}},fg={{colors.on_tertiary.default.hex}}"
# Clock
set -g clock-mode-color "{{colors.primary.default.hex}}"
# Selection highlighting
set -g copy-mode-match-style "bg={{colors.tertiary_container.default.hex}},fg={{colors.on_tertiary_container.default.hex}}"
set -g copy-mode-current-match-style "bg={{colors.primary.default.hex}},fg={{colors.on_primary.default.hex}},bold"
# Popups and menus
set -g popup-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
set -g popup-border-style "fg={{colors.outline.default.hex}}"
set -g menu-style "bg={{colors.surface_container.default.hex}},fg={{colors.on_surface.default.hex}}"
set -g menu-selected-style "bg={{colors.primary.default.hex}},fg={{colors.on_primary.default.hex}}"
set -g menu-border-style "fg={{colors.outline.default.hex}}"