Project

General

Profile

Actions

Feature #5805

closed
AL PA

Add switch theme api

Feature #5805: Add switch theme api

Added by Andrew L over 1 year ago. Updated 11 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
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.

PA Updated by Per Amundsen over 1 year ago Actions #1

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.

AL Updated by Andrew L 12 days ago Actions #3

I keep checking the 4.5 release notes daily, hoping this makes it in!

PA Updated by Per Amundsen 11 days ago Actions #4

  • Category changed from Api to Scripting
  • Status changed from New to Resolved

PA Updated by Per Amundsen 11 days ago Actions #5

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom