added micro settings
This commit is contained in:
parent
104f366736
commit
83cfcb5745
27 changed files with 1963 additions and 0 deletions
21
micro/plug/nordcolors/LICENSE
Normal file
21
micro/plug/nordcolors/LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020 Kiran Wells
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
23
micro/plug/nordcolors/README.md
Normal file
23
micro/plug/nordcolors/README.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Micro Nord Colors
|
||||
|
||||
A [Nord](https://www.nordtheme.com/) colorscheme port for the [Micro](https://micro-editor.github.io/index.html) editor.
|
||||
|
||||
See the help file for other issues, such as off colors or no transparency.
|
||||
|
||||
## Features
|
||||
|
||||
Two new color schemes, supporting both true-color and 16-color versions. The 16-color versions require that the terminal has the Nord colorscheme installed, and support transparency (if the terminal and compositor are configured for it).
|
||||
|
||||
## Screenshots
|
||||
|
||||
Truecolor:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
16-Color (with transparency):
|
||||
|
||||

|
||||
|
||||

|
||||
40
micro/plug/nordcolors/colorschemes/nord-16-light.micro
Normal file
40
micro/plug/nordcolors/colorschemes/nord-16-light.micro
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
color-link default "black"
|
||||
color-link comment "white"
|
||||
color-link comment.bright "bold white"
|
||||
color-link identifier "brightblack"
|
||||
color-link identifier.class "brightcyan"
|
||||
color-link identifier.macro "white"
|
||||
color-link identifier.var "brightblack"
|
||||
color-link constant "brightblack"
|
||||
color-link constant.bool "brightgreen"
|
||||
color-link constant.bool.true "brightgreen"
|
||||
color-link constant.bool.false "brightred"
|
||||
color-link constant.number "magenta"
|
||||
color-link constant.specialChar "yellow"
|
||||
color-link constant.string "green"
|
||||
color-link constant.string.url "brightyellow"
|
||||
color-link statement "cyan"
|
||||
color-link symbol "white"
|
||||
color-link symbol.brackets "white"
|
||||
color-link symbol.operator "brightblue"
|
||||
color-link symbol.tag "brightblue"
|
||||
color-link preproc "blue"
|
||||
color-link preproc.shebang "white"
|
||||
color-link type "brightcyan"
|
||||
color-link type.keyword "brightblue"
|
||||
color-link special "brightblue"
|
||||
color-link underlined "black,brightwhite"
|
||||
color-link error "bold red"
|
||||
color-link todo "bold magenta"
|
||||
color-link statusline "blue,brightwhite"
|
||||
color-link tabbar "brightblack,brightwhite"
|
||||
color-link indent-char "brightblack"
|
||||
color-link line-number "white,brightwhite"
|
||||
color-link gutter-error "red"
|
||||
color-link gutter-warning "yellow"
|
||||
color-link cursor-line "brightwhite"
|
||||
color-link current-line-number "brightblack"
|
||||
color-link color-column "white"
|
||||
color-link ignore "brightblack, white"
|
||||
color-link divider "white"
|
||||
40
micro/plug/nordcolors/colorschemes/nord-16.micro
Normal file
40
micro/plug/nordcolors/colorschemes/nord-16.micro
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
color-link default "brightwhite"
|
||||
color-link comment "brightblack"
|
||||
color-link comment.bright "bold brightblack"
|
||||
color-link identifier "white"
|
||||
color-link identifier.class "brightcyan"
|
||||
color-link identifier.macro "brightblack"
|
||||
color-link identifier.var "white"
|
||||
color-link constant "white"
|
||||
color-link constant.bool "brightgreen"
|
||||
color-link constant.bool.true "brightgreen"
|
||||
color-link constant.bool.false "brightred"
|
||||
color-link constant.number "magenta"
|
||||
color-link constant.specialChar "yellow"
|
||||
color-link constant.string "green"
|
||||
color-link constant.string.url "brightyellow"
|
||||
color-link statement "cyan"
|
||||
color-link symbol "brightblack"
|
||||
color-link symbol.brackets "brightblack"
|
||||
color-link symbol.operator "brightblue"
|
||||
color-link symbol.tag "brightblue"
|
||||
color-link preproc "blue"
|
||||
color-link preproc.shebang "brightblack"
|
||||
color-link type "brightcyan"
|
||||
color-link type.keyword "brightblue"
|
||||
color-link special "brightblue"
|
||||
color-link underlined "brightwhite,black"
|
||||
color-link error "bold red"
|
||||
color-link todo "bold magenta"
|
||||
color-link statusline "blue,black"
|
||||
color-link tabbar "white,black"
|
||||
color-link indent-char "white"
|
||||
color-link line-number "brightblack,black"
|
||||
color-link gutter-error "red"
|
||||
color-link gutter-warning "yellow"
|
||||
color-link cursor-line "black"
|
||||
color-link current-line-number "white"
|
||||
color-link color-column "brightblack"
|
||||
color-link ignore "white, brightblack"
|
||||
color-link divider "brightblack"
|
||||
40
micro/plug/nordcolors/colorschemes/nord-tc-light.micro
Normal file
40
micro/plug/nordcolors/colorschemes/nord-tc-light.micro
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
color-link default "#2E3440,#ECEFF4"
|
||||
color-link comment "#D8DEE9,#ECEFF4"
|
||||
color-link comment.bright "#6C768A,#ECEFF4"
|
||||
color-link identifier "#4C566A,#ECEFF4"
|
||||
color-link identifier.class "#8FBCBB,#ECEFF4"
|
||||
color-link identifier.macro "#B48EAD,#ECEFF4"
|
||||
color-link identifier.var "#4C566A,#ECEFF4"
|
||||
color-link constant "#8FBCBB,#ECEFF4"
|
||||
color-link constant.bool "#C3DEAC,#ECEFF4"
|
||||
color-link constant.bool.true "#C3DEAC,#ECEFF4"
|
||||
color-link constant.bool.false "#DF818A,#ECEFF4"
|
||||
color-link constant.number "#B48EAD,#ECEFF4"
|
||||
color-link constant.specialChar "#EBCB8B,#ECEFF4"
|
||||
color-link constant.string "#A3BE8C,#ECEFF4"
|
||||
color-link constant.string.url "#FBEBAB,#ECEFF4"
|
||||
color-link statement "#88C0D0,#ECEFF4"
|
||||
color-link symbol "#2E3440,#ECEFF4"
|
||||
color-link symbol.brackets "#6C768A,#ECEFF4"
|
||||
color-link symbol.operator "#81A1C1,#ECEFF4"
|
||||
color-link symbol.tag "#81A1C1,#ECEFF4"
|
||||
color-link preproc "#5E81AC,#ECEFF4"
|
||||
color-link preproc.shebang "#434C5E,#ECEFF4"
|
||||
color-link type "#8FBCBB,#ECEFF4"
|
||||
color-link type.keyword "#81A1C1,#ECEFF4"
|
||||
color-link special "#81A1C1,#ECEFF4"
|
||||
color-link underlined "#5E81AC,#D8DEE9"
|
||||
color-link error "bold #BF616A,#ECEFF4"
|
||||
color-link todo "bold #B48EAD,#ECEFF4"
|
||||
color-link statusline "#81A1C1,#D8DEE9"
|
||||
color-link tabbar "#E5E9F0,#D8DEE9"
|
||||
color-link indent-char "#D8DEE9,#ECEFF4"
|
||||
color-link line-number "#ECEFF4,#D8DEE9"
|
||||
color-link gutter-error "#BF616A,#D8DEE9"
|
||||
color-link gutter-warning "#EBCB8B,#D8DEE9"
|
||||
color-link cursor-line "#E5E9f0"
|
||||
color-link current-line-number "#4C566A,#D8DEE9"
|
||||
color-link color-column "#D8DEE9"
|
||||
color-link ignore "#4C566A, #D8DEE9"
|
||||
color-link divider "#D8DEE9"
|
||||
40
micro/plug/nordcolors/colorschemes/nord-tc.micro
Normal file
40
micro/plug/nordcolors/colorschemes/nord-tc.micro
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
color-link default "#ECEFF4,#2E3440"
|
||||
color-link comment "#4C566A,#2E3440"
|
||||
color-link comment.bright "#6C768A,#2E3440"
|
||||
color-link identifier "#D8DEE9,#2E3440"
|
||||
color-link identifier.class "#8FBCBB,#2E3440"
|
||||
color-link identifier.macro "#B48EAD,#2E3440"
|
||||
color-link identifier.var "#D8DEE9,#2E3440"
|
||||
color-link constant "#8FBCBB,#2E3440"
|
||||
color-link constant.bool "#C3DEAC,#2E3440"
|
||||
color-link constant.bool.true "#C3DEAC,#2E3440"
|
||||
color-link constant.bool.false "#DF818A,#2E3440"
|
||||
color-link constant.number "#B48EAD,#2E3440"
|
||||
color-link constant.specialChar "#EBCB8B,#2E3440"
|
||||
color-link constant.string "#A3BE8C,#2E3440"
|
||||
color-link constant.string.url "#FBEBAB,#2E3440"
|
||||
color-link statement "#88C0D0,#2E3440"
|
||||
color-link symbol "#ECEFF4,#2E3440"
|
||||
color-link symbol.brackets "#6C768A,#2E3440"
|
||||
color-link symbol.operator "#81A1C1,#2E3440"
|
||||
color-link symbol.tag "#81A1C1,#2E3440"
|
||||
color-link preproc "#5E81AC,#2E3440"
|
||||
color-link preproc.shebang "#434C5E,#2E3440"
|
||||
color-link type "#8FBCBB,#2E3440"
|
||||
color-link type.keyword "#81A1C1,#2E3440"
|
||||
color-link special "#81A1C1,#2E3440"
|
||||
color-link underlined "#5E81AC,#3B4252"
|
||||
color-link error "bold #BF616A,#2E3440"
|
||||
color-link todo "bold #B48EAD,#2E3440"
|
||||
color-link statusline "#81A1C1,#3B4252"
|
||||
color-link tabbar "#E5E9F0,#3B4252"
|
||||
color-link indent-char "#4C566A,#2E3440"
|
||||
color-link line-number "#4C566A,#3B4252"
|
||||
color-link gutter-error "#BF616A,#4C566A"
|
||||
color-link gutter-warning "#EBCB8B,#4C566A"
|
||||
color-link cursor-line "#3B4252"
|
||||
color-link current-line-number "#D8DEE9,#4C566A"
|
||||
color-link color-column "#4C566A"
|
||||
color-link ignore "#D8DEE9, #4C566A"
|
||||
color-link divider "#4C566A"
|
||||
34
micro/plug/nordcolors/help/nordcolors.md
Normal file
34
micro/plug/nordcolors/help/nordcolors.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Micro Nord Colors
|
||||
|
||||
A [Nord](https://www.nordtheme.com/) colorscheme port for the [Micro](https://micro-editor.github.io/index.html) editor.
|
||||
|
||||
## Features
|
||||
|
||||
`nord-tc`: A truecolor dark theme
|
||||
`nord-16`: A 16-color dark theme
|
||||
`nord-tc-light`: A truecolor light theme
|
||||
`nord-16-light`: A 16-color light theme
|
||||
|
||||
## FAQ (useful info)
|
||||
|
||||
### Why are the themes not showing up?
|
||||
|
||||
This issue should have been fixed with the 1.1.4 update. If you have updated and it is still not working, please open a new issue on the GitHub. (Also, try restarting micro first.)
|
||||
|
||||
### Why do the colors look off?
|
||||
|
||||
The truecolor schemes require micro to be started with the environment variable "MICRO_TRUECOLOR" equal to 1 or true. For these, make sure you do:
|
||||
|
||||
```sh
|
||||
MICRO_TRUECOLOR=1 micro
|
||||
```
|
||||
|
||||
The 16-color schemes require the terminal to have the nord color scheme installed. See the [Nord ports page](https://www.nordtheme.com/ports) for config files for your terminal.
|
||||
|
||||
### Why is there no transparency?
|
||||
|
||||
For transparency to work, you need transparency enabled in your terminal, a compositor (possibly), and one of the 16-color versions enabled. The way it works is that the 16-color themes have no background color, defaulting to the terminal's native background.
|
||||
|
||||
### Why do the light colorschemes look bad?
|
||||
|
||||
I did my best to convert the dark schemes to a usable light scheme, but it is difficult to work with the Nord colors in light themes. You can edit the files yourself in the `.config/micro/colorschemes` directory, and if you think you have improved it, make a pull request on the [GitHub page.](https://github.com/KiranWells/micro-nord-tc-colors/)
|
||||
9
micro/plug/nordcolors/nordcolors.lua
Normal file
9
micro/plug/nordcolors/nordcolors.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
VERSION = "1.1.4"
|
||||
|
||||
local config = import("micro/config")
|
||||
|
||||
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-16.micro")
|
||||
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-tc.micro")
|
||||
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-16-light.micro")
|
||||
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-tc-light.micro")
|
||||
config.AddRuntimeFile("nordcolors", config.RTHelp, "help/nordcolors.md")
|
||||
BIN
micro/plug/nordcolors/pics/nord-16-light.jpg
Normal file
BIN
micro/plug/nordcolors/pics/nord-16-light.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
BIN
micro/plug/nordcolors/pics/nord-16.jpg
Normal file
BIN
micro/plug/nordcolors/pics/nord-16.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
BIN
micro/plug/nordcolors/pics/nord-tc-light.jpg
Normal file
BIN
micro/plug/nordcolors/pics/nord-tc-light.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
BIN
micro/plug/nordcolors/pics/nord-tc.jpg
Normal file
BIN
micro/plug/nordcolors/pics/nord-tc.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
22
micro/plug/nordcolors/repo.json
Normal file
22
micro/plug/nordcolors/repo.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[{
|
||||
"Name": "nordcolors",
|
||||
"Description": "A color palette based on the Nord colorscheme",
|
||||
"Tags": ["nord", "color", "truecolor", "16"],
|
||||
"Website": "https://github.com/KiranWells/micro-nord-tc-colors/",
|
||||
"Versions": [
|
||||
{
|
||||
"Version": "1.1.4",
|
||||
"Url": "https://github.com/KiranWells/micro-nord-tc-colors/archive/v1.1.4.zip",
|
||||
"Require": {
|
||||
"micro": ">=1.1.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Version": "1.0.0",
|
||||
"Url": "https://github.com/KiranWells/micro-nord-tc-colors/archive/v1.0.0.zip",
|
||||
"Require": {
|
||||
"micro": ">=1.1.3"
|
||||
}
|
||||
}
|
||||
]
|
||||
}]
|
||||
Loading…
Add table
Add a link
Reference in a new issue