Project

General

Profile

Actions

Feature #5805

open

Add switch theme api

Added by Andrew L 7 days ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Api
Target version:
Start date:
11/30/2024
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

Hello community!

I would like to request an addition to the /themes command to expand to automatically load a theme, like:

/theme lighttheme.ini

or
/theme darktheme.ini

This could be used to script an automatic dark/light mode switching between two themes.

Actions #1

Updated by Per Amundsen 4 days ago

Not exactly what you want, but for now you can use the on DARKMODECHANGED event to perform /setoption Colors ColorN=rrr,ggg,bbb to change the colors.

Actions

Also available in: Atom PDF