its-mohitkumar-7 left a comment (geany/geany-themes#95) >While it's up to the maintainers whether they add a FAQ to the README, if your >goal is simply to understand the theme format, I can answer those questions >here.
**1. Can you use RGB colors?** **Answer:** Geany themes do not use the `rgb(255, 0, 0)` syntax for colors. Instead, colors are specified using hexadecimal RGB values in the form `#RRGGBB`. For example: ```ini keyword=#BF4D58 string=#00AA00 default=#FFFFFF ``` **2. Is syntax highlighting customization possible?** **Answer:** Yes. Geany supports language-specific syntax highlighting customization (including Ruby). The Geany manual explains how filetype definitions and lexer styles are mapped for each language. You can find the relevant documentation here: https://www.geany.org/manual/dev/index.html#toc-entry-198 **3. What does this mean?** ```ini keyword=#BF4D58;;true;false keyword_1=keyword ``` **Answer:** - `keyword=#BF4D58;;true;false` The format is: ```text foreground;background;bold;italic ``` So, in your example: ```text #BF4D58 → foreground (text) color (empty) → use the default background true → bold false → not italic ``` For example: ```ini keyword=#BF4D58;#1E1E1E;true;false ``` means: ```text foreground = #BF4D58 background = #1E1E1E bold = yes italic = no ``` - `keyword_1=keyword` This is an alias. It tells Geany to use the same style as `keyword` for the lexer style named `keyword_1`. Instead of defining the colors twice, it simply reuses the existing style. For a more detailed explanation, see the documentation: https://www.geany.org/manual/dev/index.html#toc-entry-199 -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-themes/issues/95#issuecomment-4880623624 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-themes/issues/95/[email protected]>
