fredyvonvinet / ANTLR4-Plugins-for-NetBeans

NetBeans plugins for ANTLR 4 enabling to integrate ANTLR grammar files in standard NetBeans projects (ant-based or Maven-based).
9 stars 11 forks source link

Use colors from theme/add language to preferences. #47

Open sbuzonas opened 6 years ago

sbuzonas commented 6 years ago

The default colors are explicitly chosen instead of inheriting colors from common token names. This renders the colors illegible with dark backgrounds.

I propose using the colors that the built-in language types already use to apply themes properly.

Additionally, adding the language in the layers.xml to list it in the preview dialog will allow users to change the colors themselves.