mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
LibGUI: Use themes for syntax highlighting
This commit is contained in:
parent
6da7fd9aab
commit
2b162ef794
14 changed files with 219 additions and 85 deletions
|
@ -114,6 +114,17 @@ RefPtr<SharedBuffer> load_system_theme(const String& path)
|
|||
DO_COLOR(RulerInactiveText);
|
||||
DO_COLOR(TextCursor);
|
||||
DO_COLOR(FocusOutline);
|
||||
DO_COLOR(SyntaxComment);
|
||||
DO_COLOR(SyntaxNumber);
|
||||
DO_COLOR(SyntaxString);
|
||||
DO_COLOR(SyntaxType);
|
||||
DO_COLOR(SyntaxPunctuation);
|
||||
DO_COLOR(SyntaxOperator);
|
||||
DO_COLOR(SyntaxKeyword);
|
||||
DO_COLOR(SyntaxControlKeyword);
|
||||
DO_COLOR(SyntaxIdentifier);
|
||||
DO_COLOR(SyntaxPreprocessorStatement);
|
||||
DO_COLOR(SyntaxPreprocessorValue);
|
||||
|
||||
buffer->seal();
|
||||
buffer->share_globally();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue