11 ms·
Does someone know of a tool that helps to generate the themes for the individual applications based on your preferred color scheme? I am currently using Dracula
by alexruf 4y ago
Does someone know of a tool that helps to generate the themes for the individual applications based on your preferred color scheme?
I am currently using Dracula (https://draculatheme.com/ https://draculatheme.com/) as color scheme. Not that it is my favourite color scheme (actually I don’t like it’s colours at all), but the fact that the creator is providing ready to use themes for almost every application is the main reason for me to use it. I want a consistent look across all of my applications.
- kseistrup 4y agoIt ought to be possible to do a search/replace operation on dracula themes to get e.g. solarized everywhere. It would be useful with a public repository with [e.g.] solarized theme for “all” applications, the same way Dracula Theme has.
- alexruf 4y agoActually that’s a fantastic idea. Should have thought of that for myself. But as a warning, a lot of the Dracula themes are are not correctly (for some reason especially the Dracula Pro themes). For example the iTerm and Kitty theme have same foreground and background color set so I had to fix them manually. Doesn’t seem that they are tested by the author.
- kseistrup 4y agoRight, if the dracula files are incorrect then it's gonna be a mess.
- nilueps 4y agohttps://github.com/chriskempson/base16 https://github.com/chriskempson/base16
- kensuke155 4y agoI use Base16 to apply Dracula across my terminal applications. https://github.com/chriskempson/base16 https://github.com/chriskempson/base16
- otikik 4y agoEDIT: other answers point to base16 as a way to do this automatically. Use that. Leaving my previous comment here just in case. I think what the creator is doing is outsourcing the maintenance of each individual app to a maintainer that cares; the themes folder contains pointers to other repos: https://github.com/dracula/dracula-theme/tree/master/themes https://github.com/dracula/dracula-theme/tree/master/themes I think that is a good idea. This could be used to "reverse-engineer a generic platform" relatively easily: 1: Fork Dracula and its themes 3: For each color in Dracula.Palette 4: Find and replace color.hex by color.refjex on themes 5: Find and replace "color.r,color.g,color.b" by color.refrgb on themes 6: Find and replace "color.h,color.s,color.l" by color.refhsl on themes The whole idea would be replacing #282a36 for a reference like `{{Background}}` and then using a templating language like handlebars or m4 to generate the themes. Of course steps 4,5 and 6 are more complex than 3 lines. One will have to come up with a way to filter out spaces, commas and other things. I expect a lot of the apps out there to expect hex numbers though.
- brabarossa 4y agoThey even have instructions for Hacker News! On behalf of my tired eyes, thank you.