|
1 year ago | |
---|---|---|
src | 1 year ago | |
.gitignore | 1 year ago | |
CHANGELOG.md | 1 year ago | |
Cargo.lock | 1 year ago | |
Cargo.toml | 1 year ago | |
LICENSE.md | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago |
README.md
distsyn
Distributes styles according to syntax.
License
Available via the Anti-Capitalist Software License for individuals, non-profit organisations, and worker-owned businesses.
Planning
Currently, this is just a plan for a project that has not yet been started. The idea is to put more thought into generating colour schemes for syntax highlighting using actual data. First, the program would offer inputting data for a language or languages that would be parsed by syntect. This would involve figuring out the visual distance between various syntactic elements, how many characters they are, etc. Then, given the desired colours and styles, it would distribute those colours into a theme based upon what styles a user prefers (e.g. I want my code to look mostly blue) and what is most visible in the code.
This is extremely ambitious, but also seems relatively straightforward at the same tiem. I haven't seen any actual data-driven approaches to generating schemes, just "this looks good", and I wanted to fix that.