rajasegar / alacritty-themes

:rainbow: :lollipop: Themes :candy: :heart_eyes: for Alacritty: A cross-platform GPU-accelerated Terminal emulator
MIT License
685 stars 70 forks source link

Add support for TOML #262

Closed danilo-alm closed 2 months ago

danilo-alm commented 5 months ago

Addressing issues #260 and #261

Some important considerations you might want to address:

danilo-alm commented 5 months ago

The themes were converted to TOML using the script yml_to_toml.py, 9e1b7c3.

danilo-alm commented 5 months ago

May be a problem to some people: I just noticed this approach wipes all comments. There's a discussion about comment-preserving parsers here and it seems that there aren't many, especially in javascript. It'd be a good to put a warning in the README.

rajasegar commented 5 months ago

@danilo-alm Thanks for pitching in for the TOML support What do you mean by tests are already broken? Do you think you can fix it, that would be greatly appreciated

danilo-alm commented 5 months ago

After checking out to master and running the tests on my computer, 3 of them fail; maybe I'm doing something wrong? I'm not going to look into fixing the tests, at least not now. Feel free to help, anyone!

I'm not very familiar with js, so just to make it clear, they fail after:

npm install --include=dev
npm test
rajasegar commented 2 months ago

@danilo-alm Thanks a lot for the PR, the changes are merged and a new release is cut