- Created Jinja2 template for Btop theme. - Mapped system DNA to Btop graph gradients and UI elements. - Updated documentation and repository map.
90 lines
2.5 KiB
Django/Jinja
90 lines
2.5 KiB
Django/Jinja
# {{ scheme }} — Btop Theme
|
|
# DNA: State over Decoration
|
|
|
|
# Main background, empty for terminal default, black for dark themes
|
|
theme[main_bg]="{{ palette.background }}"
|
|
|
|
# Main text color
|
|
theme[main_fg]="{{ palette.foreground }}"
|
|
|
|
# Title color for boxes
|
|
theme[title]="{{ palette.foreground }}"
|
|
|
|
# Highlight color for keyboard shortcuts
|
|
theme[hi_fg]="{{ palette.cursor }}"
|
|
|
|
# Background color of selected item in processes box
|
|
theme[selected_bg]="{{ palette.selection }}"
|
|
|
|
# Foreground color of selected item in processes box
|
|
theme[selected_fg]="{{ palette.selection_fg }}"
|
|
|
|
# Color of inactive/disabled text
|
|
theme[inactive_fg]="{{ ui.dim }}"
|
|
|
|
# Color of text appearing on top of graphs, i.e. usage percentage
|
|
theme[graph_text]="{{ ui.dim }}"
|
|
|
|
# Background color of the percentage meters
|
|
theme[meter_bg]="{{ ui.panel }}"
|
|
|
|
# Misc colors for processes box including mini cpu graphs, used memory percentage, and entries filter
|
|
theme[proc_misc]="{{ palette.info }}"
|
|
|
|
# Cpu box outline color
|
|
theme[cpu_box]="{{ ui.border }}"
|
|
|
|
# Memory box outline color
|
|
theme[mem_box]="{{ ui.border }}"
|
|
|
|
# Net box outline color
|
|
theme[net_box]="{{ ui.border }}"
|
|
|
|
# Processes box outline color
|
|
theme[proc_box]="{{ ui.border }}"
|
|
|
|
# Box divider line and small boxes line color
|
|
theme[div_line]="{{ ui.border }}"
|
|
|
|
# Temperature graph colors
|
|
theme[temp_start]="{{ palette.info }}"
|
|
theme[temp_mid]="{{ palette.special }}"
|
|
theme[temp_end]="{{ palette.cursor }}"
|
|
|
|
# CPU graph colors
|
|
theme[cpu_start]="{{ palette.info }}"
|
|
theme[cpu_mid]="{{ palette.special }}"
|
|
theme[cpu_end]="{{ palette.cursor }}"
|
|
|
|
# Mem graph colors
|
|
theme[free_start]="{{ palette.success }}"
|
|
theme[free_mid]="{{ palette.warning }}"
|
|
theme[free_end]="{{ palette.cursor }}"
|
|
|
|
theme[cached_start]="{{ palette.info }}"
|
|
theme[cached_mid]="{{ palette.special }}"
|
|
theme[cached_end]="{{ palette.cursor }}"
|
|
|
|
theme[available_start]="{{ palette.success }}"
|
|
theme[available_mid]="{{ palette.warning }}"
|
|
theme[available_end]="{{ palette.cursor }}"
|
|
|
|
theme[used_start]="{{ palette.info }}"
|
|
theme[used_mid]="{{ palette.special }}"
|
|
theme[used_end]="{{ palette.cursor }}"
|
|
|
|
# Download graph colors
|
|
theme[download_start]="{{ palette.info }}"
|
|
theme[download_mid]="{{ palette.special }}"
|
|
theme[download_end]="{{ palette.cursor }}"
|
|
|
|
# Upload graph colors
|
|
theme[upload_start]="{{ palette.info }}"
|
|
theme[upload_mid]="{{ palette.special }}"
|
|
theme[upload_end]="{{ palette.cursor }}"
|
|
|
|
# Process path color
|
|
theme[process_start]="{{ palette.info }}"
|
|
theme[process_mid]="{{ palette.special }}"
|
|
theme[process_end]="{{ palette.cursor }}"
|