mirror of
https://github.com/ivuorinen/everforest-resources.git
synced 2026-02-15 11:49:33 +00:00
feat: initial scaffold and generator
- Complete project structure with directories for all target platforms - Template system for CLI tools with color placeholder replacement - Working generator that processes templates for 6 theme variants - GitHub workflows for build, snapshots, commitlint, and cli-verify - Installer and verifier scripts for CLI tool deployment - Comprehensive documentation and specifications - Biome 2.x linting and formatting setup - Husky git hooks for pre-commit validation
This commit is contained in:
14
cli/starship/README.md
Normal file
14
cli/starship/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Starship Everforest Theme
|
||||
|
||||
This directory contains the Everforest theme for Starship prompt.
|
||||
|
||||
## Installation
|
||||
|
||||
# Copy the generated theme to your starship config
|
||||
cp starship.toml ~/.config/starship.toml
|
||||
|
||||
## Generated Files
|
||||
|
||||
- `starship.toml` - Starship configuration with Everforest colors
|
||||
|
||||
All files are generated from `template.txt` - do not edit the generated files directly.
|
||||
63
cli/starship/starship.toml
Normal file
63
cli/starship/starship.toml
Normal file
@@ -0,0 +1,63 @@
|
||||
# Everforest theme for Starship
|
||||
# Generated from template - do not edit manually
|
||||
|
||||
format = """
|
||||
[](##e9e1cc)\
|
||||
$username\
|
||||
[](bg:##e4dfc8 fg:##e9e1cc)\
|
||||
$directory\
|
||||
[](fg:##e4dfc8 bg:##f0e5cf)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](fg:##f0e5cf bg:##e9e1cc)\
|
||||
$nodejs\
|
||||
$rust\
|
||||
$golang\
|
||||
$php\
|
||||
[](fg:##e9e1cc)\
|
||||
"""
|
||||
|
||||
# Disable the blank line at the start of the prompt
|
||||
add_newline = false
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:##e9e1cc fg:##5c6a72"
|
||||
style_root = "bg:##e9e1cc fg:##e67e80"
|
||||
format = '[$user ]($style)'
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
style = "bg:##e4dfc8 fg:##7fbbb3"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:##f0e5cf fg:##a7c080"
|
||||
format = '[ $symbol $branch ]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:##f0e5cf fg:##e67e80"
|
||||
format = '[$all_status$ahead_behind ]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:##e9e1cc fg:##dbbc7f"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:##e9e1cc fg:##e69875"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:##e9e1cc fg:##83c092"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[php]
|
||||
symbol = ""
|
||||
style = "bg:##e9e1cc fg:##d699b6"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
63
cli/starship/template.txt
Normal file
63
cli/starship/template.txt
Normal file
@@ -0,0 +1,63 @@
|
||||
# Everforest theme for Starship
|
||||
# Generated from template - do not edit manually
|
||||
|
||||
format = """
|
||||
[](#{{bg1}})\
|
||||
$username\
|
||||
[](bg:#{{bg2}} fg:#{{bg1}})\
|
||||
$directory\
|
||||
[](fg:#{{bg2}} bg:#{{bg}})\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](fg:#{{bg}} bg:#{{bg1}})\
|
||||
$nodejs\
|
||||
$rust\
|
||||
$golang\
|
||||
$php\
|
||||
[](fg:#{{bg1}})\
|
||||
"""
|
||||
|
||||
# Disable the blank line at the start of the prompt
|
||||
add_newline = false
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:#{{bg1}} fg:#{{fg}}"
|
||||
style_root = "bg:#{{bg1}} fg:#{{red}}"
|
||||
format = '[$user ]($style)'
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
style = "bg:#{{bg2}} fg:#{{blue}}"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:#{{bg}} fg:#{{green}}"
|
||||
format = '[ $symbol $branch ]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:#{{bg}} fg:#{{red}}"
|
||||
format = '[$all_status$ahead_behind ]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:#{{bg1}} fg:#{{yellow}}"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#{{bg1}} fg:#{{orange}}"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:#{{bg1}} fg:#{{aqua}}"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[php]
|
||||
symbol = ""
|
||||
style = "bg:#{{bg1}} fg:#{{purple}}"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
Reference in New Issue
Block a user