mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibGUI: Use themes for syntax highlighting
This commit is contained in:
parent
6da7fd9aab
commit
2b162ef794
Notes:
sideshowbarker
2024-07-19 08:17:09 +09:00
Author: https://github.com/oriko1010
Commit: 2b162ef794
Pull-request: https://github.com/SerenityOS/serenity/pull/1471
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