I followed this topic and similar pages in order to customize the color of text and background of TeXworks. I can change the background color
QTextEdit {
background-color: #000000;
color: white; /* sets the main text color */
}
However, the keywords which are dark blue are shown good in the in the black background. How can I change the colors of keywords, numbers, strings and ...?