nordtheme / nord

An arctic, north-bluish color palette.
https://www.nordtheme.com
MIT License
6.05k stars 168 forks source link

Port for Micro #115

Open WingofaGriffin opened 5 years ago

WingofaGriffin commented 5 years ago

Looking into figuring out how to make it myself, but here's the documentation https://github.com/zyedidia/micro/blob/master/runtime/help/colors.md and a sample color for monokai https://github.com/zyedidia/micro/blob/master/runtime/colorschemes/monokai.micro

Seems pretty simple to get done. Love the color theme! I use it everywhere I can!

arcticicestudio commented 5 years ago

Hi @WingofaGriffin ๐Ÿ‘‹ , thanks for your contribution. I've added it to the backlog and @-mention you as soon as I start working on it so you can track the progress or contribute ideas for this port project. Micro looks like a nice, active and large project and and it's written in Go ๐Ÿ’™. Nord Vim seem to be the port which comes closest to the theme API of Micro so it might be a good starting point too.

Please note that it may take some time to start an official port project because there are many other issues over many other port projects with requests and proposals waiting in the queue. I'm currently also very busy on working and porting all docs and assets to nord-docs, the official website and โ€žsingle source of truthโ€œ documentation of Nord and all related data. Please also take into account that I work as a software developer in the "real world" and I hope you understand that the time to work on my projects may vary depending on my freetime. :octocat:

jonjohansen commented 4 years ago

Hey ๐Ÿ‘‹ I've been looking into a true-color version of this, mapping from the vscode theme. I can't seem to map everything correctly (due to differences in how the syntax-highlighting is done, since there are some large differences between vscode and micro). I've been testing with Markdown, Typescript and Python, trying to map most of the stuff correctly.

Not sure how strict you are about it though? ๐Ÿ˜ธ

arcticicestudio commented 4 years ago

@jonjohansen Thanks for your help. I've mentioned Nord Vim as good starting point because Micros syntax rules are very similar to Vims. Both make use of regular expressions to define and match the syntax elements of a language. As far as I know VS Code's engine uses AST's instead which makes it more precise.

jonjohansen commented 4 years ago

Yupp tried having a peek at the Vim port, but I'm not familiar enough with it to get much from it. I could try to have another look here I guess ๐Ÿ˜„

I've been able to map over the main elements, though it seems like the differences (at least in my experience) have been due to a lack of specified elements. Micro does feature the possibility for you to customize the syntax highlighting yourself if you find it lacking, creating subgroups of elements.

There are a few elements listed in the micro docs I'm unsure of the usage of, though. I could have another peek through the syntax files in the source, and try to map some more of them out?

KiranWells commented 3 years ago

Is anyone still working on this? I have a nord-tc colorscheme created already, although I have not started working on any extra syntax management. I thought that would be a good separate project, as the language syntax is independent of the colorscheme itself.