mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
* Attempt to templaterize the theme specific files * Cleanup * Slim down * Combine render into -set * Pull out the dynamic template rendering again, but simpler * Fix vars * Variables are lowercase * Better presentation * Fix missing colors * Provide stripped values too * Fix colors for regular hex format * Bring back explicit btop themes They're too involved to derive from a basic color set * Make an atomic swap of the theme directories * No longer used by walker to cancel * Explain why * Remove redundant const * Consistent const naming * No longe have $THEMES_DIR * Correct the blue * Set opencode colors too * Fix colors for readability * Move the templates together with the others in default * Split user themes and default themes * Fix paths * Look for both user themes and default themes Plus speed things up * Migrate to the new setup where default themes live inside omarchy * Explicitly store the name of the current theme * Cleanup * No longer need omarchy-theme-next since themes are now fully rendered, not symlinks * Get current theme name from the new theme.name file * Look for user background images in dedicated directory * Need yq for toml * Need yq to parse colors.toml * Look for backgrounds matching the new theme.name We no longer have symlinks * Migrate existing user backgrounds to the new proper location * Install user backgrounds in the correct path * Fix quoting * Just rely on the system theme for opencode and get ready for USRSIG2 being available to live reload * Fix template generation for rgb colors
84 lines
2.4 KiB
Smarty
84 lines
2.4 KiB
Smarty
# Main background, empty for terminal default, need to be empty if you want transparent background
|
|
theme[main_bg]="{{ background }}"
|
|
|
|
# Main text color
|
|
theme[main_fg]="{{ foreground }}"
|
|
|
|
# Title color for boxes
|
|
theme[title]="{{ foreground }}"
|
|
|
|
# Highlight color for keyboard shortcuts
|
|
theme[hi_fg]="{{ accent }}"
|
|
|
|
# Background color of selected item in processes box
|
|
theme[selected_bg]="{{ color8 }}"
|
|
|
|
# Foreground color of selected item in processes box
|
|
theme[selected_fg]="{{ accent }}"
|
|
|
|
# Color of inactive/disabled text
|
|
theme[inactive_fg]="{{ color8 }}"
|
|
|
|
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
|
|
theme[graph_text]="{{ foreground }}"
|
|
|
|
# Background color of the percentage meters
|
|
theme[meter_bg]="{{ color8 }}"
|
|
|
|
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
|
theme[proc_misc]="{{ foreground }}"
|
|
|
|
# CPU, Memory, Network, Proc box outline colors
|
|
theme[cpu_box]="{{ color5 }}"
|
|
theme[mem_box]="{{ color2 }}"
|
|
theme[net_box]="{{ color1 }}"
|
|
theme[proc_box]="{{ accent }}"
|
|
|
|
# Box divider line and small boxes line color
|
|
theme[div_line]="{{ color8 }}"
|
|
|
|
# Temperature graph color (Green -> Yellow -> Red)
|
|
theme[temp_start]="{{ color2 }}"
|
|
theme[temp_mid]="{{ color3 }}"
|
|
theme[temp_end]="{{ color1 }}"
|
|
|
|
# CPU graph colors (Teal -> Lavender)
|
|
theme[cpu_start]="{{ color6 }}"
|
|
theme[cpu_mid]="{{ color4 }}"
|
|
theme[cpu_end]="{{ color5 }}"
|
|
|
|
# Mem/Disk free meter (Mauve -> Lavender -> Blue)
|
|
theme[free_start]="{{ color5 }}"
|
|
theme[free_mid]="{{ color4 }}"
|
|
theme[free_end]="{{ color6 }}"
|
|
|
|
# Mem/Disk cached meter (Sapphire -> Lavender)
|
|
theme[cached_start]="{{ color4 }}"
|
|
theme[cached_mid]="{{ color6 }}"
|
|
theme[cached_end]="{{ color5 }}"
|
|
|
|
# Mem/Disk available meter (Peach -> Red)
|
|
theme[available_start]="{{ color3 }}"
|
|
theme[available_mid]="{{ color1 }}"
|
|
theme[available_end]="{{ color1 }}"
|
|
|
|
# Mem/Disk used meter (Green -> Sky)
|
|
theme[used_start]="{{ color2 }}"
|
|
theme[used_mid]="{{ color6 }}"
|
|
theme[used_end]="{{ color4 }}"
|
|
|
|
# Download graph colors (Peach -> Red)
|
|
theme[download_start]="{{ color3 }}"
|
|
theme[download_mid]="{{ color1 }}"
|
|
theme[download_end]="{{ color1 }}"
|
|
|
|
# Upload graph colors (Green -> Sky)
|
|
theme[upload_start]="{{ color2 }}"
|
|
theme[upload_mid]="{{ color6 }}"
|
|
theme[upload_end]="{{ color4 }}"
|
|
|
|
# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve)
|
|
theme[process_start]="{{ color6 }}"
|
|
theme[process_mid]="{{ color4 }}"
|
|
theme[process_end]="{{ color5 }}"
|