Distributes styles according to syntax.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ltdk 968d956b7b Initial commit 1 year ago
src Initial commit 1 year ago
.gitignore Initial commit 1 year ago
CHANGELOG.md Initial commit 1 year ago
Cargo.lock Initial commit 1 year ago
Cargo.toml Initial commit 1 year ago
LICENSE.md Initial commit 1 year ago
Makefile Initial commit 1 year ago
README.md Initial commit 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.