[GH-ISSUE #522] How to set the default theme #384

Closed
opened 2026-03-02 15:58:19 +03:00 by kerem · 2 comments
Owner

Originally created by @ccpplinux on GitHub (Apr 4, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/522

I want to set the theme tomorrow_night_blue as the default theme for my editor. But in the file config.php I see that the variable $theme is accepting only two values - light and dark. So how to set the default theme of this editor to tomorrow_night_blue? Please help me in this regard.

Originally created by @ccpplinux on GitHub (Apr 4, 2021). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/522 I want to set the theme tomorrow_night_blue as the default theme for my editor. But in the file config.php I see that the variable $theme is accepting only two values - light and dark. So how to set the default theme of this editor to tomorrow_night_blue? Please help me in this regard.
kerem closed this issue 2026-03-02 15:58:19 +03:00
Author
Owner

@prasathmani commented on GitHub (Apr 5, 2021):

add the below code into line no 2895 will work.

editor.setTheme("ace/theme/tomorrow_night_blue");

image

<!-- gh-comment-id:813214523 --> @prasathmani commented on GitHub (Apr 5, 2021): add the below code into line no 2895 will work. ```php editor.setTheme("ace/theme/tomorrow_night_blue"); ``` ![image](https://user-images.githubusercontent.com/11345598/113543975-136f5b80-9605-11eb-8ea0-213d16607d32.png)
Author
Owner

@michacassola commented on GitHub (Dec 15, 2022):

Hey, I tried "ace/theme/monokai", but it just shows the standard one and you can't even select anything else.
Would be something nice in the config/config file and not to sed into the main script.

<!-- gh-comment-id:1353314607 --> @michacassola commented on GitHub (Dec 15, 2022): Hey, I tried "ace/theme/monokai", but it just shows the standard one and you can't even select anything else. Would be something nice in the config/config file and not to sed into the main script.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#384
No description provided.