For Ubuntu Users, the code_editor.xml
is in
/usr/share/mysql-workbench/data
edit as you need, In Ubuntu which is a must need, some default used colours lacks contrast and it is unable to read,
For a quick workaround you can also use this solution.
Visit this repo to get the full XML file.