X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fhelp%2Fcolors.md;h=e340f49544f8f99110d91cae927694b9e77594ff;hb=54c23cae72d7237bc898a59f79aad0acffdf0ffe;hp=40ac92ee6b8c6252de463bbe8153dd52d36373fd;hpb=bdf9e6d3a4d8c60b491d724ff0c107b2be68e076;p=micro.git diff --git a/runtime/help/colors.md b/runtime/help/colors.md index 40ac92ee..e340f495 100644 --- a/runtime/help/colors.md +++ b/runtime/help/colors.md @@ -8,7 +8,7 @@ This help page aims to cover two aspects of micro's syntax highlighting engine: ## Colorschemes -To change your colorscheme, press CtrlE in micro to bring up the command +To change your colorscheme, press Ctrl-e in micro to bring up the command prompt, and type: ``` @@ -20,6 +20,8 @@ set colorscheme twilight Micro comes with a number of colorschemes by default. The colorschemes that you can display will depend on what kind of color support your terminal has. +Omit color-link default "[fg color],[bg color]" will make the background color match the terminal's, and transparency if set. + Modern terminals tend to have a palette of 16 user-configurable colors (these colors can often be configured in the terminal preferences), and additional color support comes in three flavors. @@ -85,7 +87,8 @@ These may vary widely based on the 16 colors selected for your terminal. True color requires your terminal to support it. This means that the environment variable `COLORTERM` should have the value `truecolor`, `24bit`, or `24-bit`. In addition, to enable true color in micro, the environment -variable `MICRO_TRUECOLOR` must be set to 1. +variable `MICRO_TRUECOLOR` must be set to 1. Note that you have to create +and set this variable yourself. * `solarized-tc`: this is the solarized colorscheme for true color. * `atom-dark-tc`: this colorscheme is based off of Atom's "dark" colorscheme. @@ -93,6 +96,7 @@ variable `MICRO_TRUECOLOR` must be set to 1. look its best. Use cmc-16 if your terminal doesn't support true color. * `gruvbox-tc`: The true color version of the gruvbox colorscheme * `github-tc`: The true color version of the Github colorscheme +* `material-tc`: Colorscheme based off of Google's Material Design palette ## Creating a Colorscheme @@ -129,7 +133,7 @@ If you would like no foreground you can just use a comma with nothing in front: color-link comment ",blue" ``` -You can also put bold, or underline in front of the color: +You can also put bold, italic, or underline in front of the color: ``` color-link comment "bold red" @@ -172,6 +176,7 @@ Here is a list of the colorscheme groups that you can use: * underlined * error * todo +* selection (Color of the text selection) * statusline (Color of the statusline) * tabbar (Color of the tabbar that lists open files) * indent-char (Color of the character which indicates tabs if the option is @@ -179,11 +184,17 @@ Here is a list of the colorscheme groups that you can use: * line-number * gutter-error * gutter-warning +* diff-added +* diff-modified +* diff-deleted * cursor-line * current-line-number * color-column * ignore +* scrollbar * divider (Color of the divider between vertical splits) +* message (Color of messages in the bottom line of the screen) +* error-message (Color of error messages in the bottom line of the screen) Colorschemes must be placed in the `~/.config/micro/colorschemes` directory to be used.