-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(preset): new preset "Pastel Rainbow" #5806
Open
ecspresso
wants to merge
6
commits into
starship:master
Choose a base branch
from
ecspresso:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6f3d502
Added pastel-rainbow preset
ecspresso 3dd3211
New preset "pastel rainbow"
ecffff0
Update pastel-rainbow.toml
ecspresso 5d70ec7
Removed extra line
ecspresso 0a6081f
Removed line
ecspresso 4a2a0ae
Update pastel-rainbow.md
ecspresso File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,187 @@ | ||
format = """ | ||
[](color_purple)\ | ||
$os\ | ||
$username\ | ||
[](bg:color_rustyred fg:color_purple)\ | ||
$directory\ | ||
[](fg:color_rustyred bg:color_apricot)\ | ||
$git_branch\ | ||
$git_status\ | ||
[](fg:color_apricot bg:color_skyblue)\ | ||
$c\ | ||
$elixir\ | ||
$elm\ | ||
$golang\ | ||
$gradle\ | ||
$haskell\ | ||
$java\ | ||
$julia\ | ||
$nodejs\ | ||
$nim\ | ||
$rust\ | ||
$scala\ | ||
[](fg:color_skyblue bg:color_teal)\ | ||
$docker_context\ | ||
[](fg:color_teal bg:color_steelblue)\ | ||
$time\ | ||
[ ](fg:color_steelblue)\ | ||
$line_break$character | ||
""" | ||
|
||
palette = 'pastel_powerline' | ||
|
||
[palettes.pastel_powerline] | ||
color_rustyred = '#DA627D' | ||
color_purple = '#9A348E' | ||
color_apricot = '#FCA17D' | ||
color_skyblue = '#86BBD8' | ||
color_teal = '#06969A' | ||
color_steelblue = '#33658A' | ||
color_green = '#98971a' | ||
color_red = '#cc241d' | ||
color_pink = '#b16286' | ||
color_yellow = '#d79921' | ||
color_aqua = '#689d6a' | ||
|
||
# Disable the blank line at the start of the prompt | ||
# add_newline = false | ||
|
||
[username] | ||
show_always = true | ||
style_user = "bg:color_purple" | ||
style_root = "bg:color_purple" | ||
format = '[$user ]($style)' | ||
disabled = false | ||
|
||
[os] | ||
style = "bg:color_purple" | ||
disabled = false | ||
|
||
[directory] | ||
style = "bg:color_rustyred" | ||
format = "[ $path ]($style)" | ||
truncation_length = 3 | ||
truncation_symbol = "…/" | ||
|
||
# Here is how you can shorten some long paths by text replacement | ||
# similar to mapped_locations in Oh My Posh: | ||
[directory.substitutions] | ||
"Documents" = " " | ||
"Downloads" = " " | ||
"Music" = " " | ||
"Pictures" = " " | ||
"Developer" = " " | ||
# Keep in mind that the order matters. For example: | ||
# "Important Documents" = " " | ||
# will not be replaced, because "Documents" was already substituted before. | ||
# So either put "Important Documents" before "Documents" or use the substituted version: | ||
# "Important " = " " | ||
|
||
[os.symbols] | ||
Windows = "" | ||
Ubuntu = "" | ||
SUSE = "" | ||
Raspbian = "" | ||
Mint = "" | ||
Macos = "" | ||
Manjaro = "" | ||
Linux = "" | ||
Gentoo = "" | ||
Fedora = "" | ||
Alpine = "" | ||
Amazon = "" | ||
Android = "" | ||
Arch = "" | ||
Artix = "" | ||
CentOS = "" | ||
Debian = "" | ||
Redhat = "" | ||
RedHatEnterprise = "" | ||
|
||
[c] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[docker_context] | ||
symbol = " " | ||
style = "bg:color_teal" | ||
format = '[ $symbol $context ]($style)' | ||
|
||
[elixir] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[elm] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[git_branch] | ||
symbol = "" | ||
style = "bg:color_apricot" | ||
format = '[ $symbol $branch ]($style)' | ||
|
||
[git_status] | ||
style = "bg:color_apricot" | ||
format = '[$all_status$ahead_behind ]($style)' | ||
|
||
[golang] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[gradle] | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[haskell] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[java] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[julia] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[nodejs] | ||
symbol = "" | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[nim] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[rust] | ||
symbol = "" | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[scala] | ||
symbol = " " | ||
style = "bg:color_skyblue" | ||
format = '[ $symbol ($version) ]($style)' | ||
|
||
[time] | ||
disabled = false | ||
time_format = "%R" # Hour:Minute Format | ||
style = "bg:color_steelblue" | ||
format = '[ ♥ $time ]($style)' | ||
|
||
[character] | ||
disabled = false | ||
success_symbol = '[](bold fg:color_aqua)' | ||
error_symbol = '[](bold fg:color_red)' | ||
vimcmd_symbol = '[](bold fg:color_green)' | ||
vimcmd_replace_one_symbol = '[](bold fg:color_pink)' | ||
vimcmd_replace_symbol = '[](bold fg:color_pink)' | ||
vimcmd_visual_symbol = '[](bold fg:color_yellow)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[Return to Presets](./README.md#pastel-rainbow) | ||
|
||
# Pastel Rainbow Preset | ||
|
||
This preset is the same as [Gruvbox Rainbow](./gruvbox-rainbow.md) but with the colors of [Pastel Powerline](./pastel-powerline.md). | ||
|
||
![Screenshot of Pastel Rainbow preset](/presets/img/pastel-rainbow.png) | ||
|
||
### Prerequisites | ||
|
||
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal | ||
|
||
### Configuration | ||
|
||
```sh | ||
starship preset pastel-rainbow -o ~/.config/starship.toml | ||
``` | ||
|
||
[Click to download TOML](/presets/toml/pastel-rainbow.toml) | ||
|
||
<<< @/.vuepress/public/presets/toml/pastel-rainbow.toml |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put the img and toml files inside the right directory, docs/public/presets/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The paths changed when we switched to vitepress.