duotone-dark-syntax icon indicating copy to clipboard operation
duotone-dark-syntax copied to clipboard

Illegible braces and semicolons

Open TheAksh opened this issue 8 years ago • 5 comments

Could the colors of the components be allowed to customize as per the user or please change the color of the braces as they are not at all legible. Thank you

TheAksh avatar Aug 25 '16 09:08 TheAksh

Braces, semicolons, and some variable names are not legible. :(

Otherwise great theme.

austincondiff avatar Jan 09 '17 21:01 austincondiff

Braces, punctuations etc. have very little contrast, but it's on purpose. The idea is that the more important something is, the stronger the contrast should be. Once you wrote a brace, you probably don't want to change it anymore (well, unless you delete the whole line), so it's shown with very little contrast. But something like a number, you probably edit more often, so it's shown with higher contrast.

Also, this theme might not be that suitable for daylight and more meant for evenings or dark environments.

Something you can still try is adjusting the colors in the theme settings. Picking a brighter "Uno" color will also make braces etc. brighter.

Custom Colors

simurai avatar Jan 13 '17 07:01 simurai

One idea is to have a minimum brightness theme setting. Even if you wanted to call attention on everything else, it is pretty difficult when you have mismatched or one too many brackets and you are scanning for the error.

austincondiff avatar Jan 13 '17 14:01 austincondiff

Or when you're reading someone else's code… Changing often/not often is only one use case. You don't always have eslint setup and spotting a missing ; or something like that can be a real pain 😅

minimaldesign avatar Jan 28 '17 12:01 minimaldesign

For anyone who has less than 20/20 eyesight like me, and who's interested in customizing this, it's pretty simple: just change ~/.atom/packages/duotone-dark-syntax/node_modules/duotone-syntax/styles/languages/_base.less:8 from .uno-5(); to .uno-4(); or whatever is light enough for you to see 😎

minimaldesign avatar Jan 28 '17 13:01 minimaldesign