added micro settings

This commit is contained in:
tomit4 2021-09-27 11:16:00 -07:00
parent 104f366736
commit 83cfcb5745
27 changed files with 1963 additions and 0 deletions

View 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.

View 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:
![The Truecolor Dark Scheme](pics/nord-tc.jpg)
![The Truecolor Light Scheme](pics/nord-tc-light.jpg)
16-Color (with transparency):
![The 16-Color Dark Scheme](pics/nord-16.jpg)
![The 16-Color Light Scheme](pics/nord-16-light.jpg)

View 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"

View 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"

View 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"

View 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"

View 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/)

View 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")

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

View 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"
}
}
]
}]