AriaNg icon indicating copy to clipboard operation
AriaNg copied to clipboard

[Question] Set theme using command API ?

Open tianalemesle opened this issue 2 years ago • 7 comments

Hello,

How can I set AriaNg's theme using the command API ?

Thanks

tianalemesle avatar Apr 22 '22 11:04 tianalemesle

AriaNg does not provide command API for theme

mayswind avatar Apr 22 '22 12:04 mayswind

Could that be added ? Or, alternatively, use system theme as default instead of light ? Thanks

KaKi87 avatar Apr 22 '22 12:04 KaKi87

  1. This is not a frequently used feature and there is no need to make command api support it.
  2. I want to keep the consistency of the GUI of AriaNg all the times. I don't think it is a good idea that set an option that might break consistency to default value. Although I add dark theme to AriaNg, I always think the dark theme should be set by user own operation.

mayswind avatar Apr 22 '22 13:04 mayswind

So, in one hand, there's webui-aria2 which allows setting default configurations for everything but has no dark theme, in the other hand, there's AriaNg which features a dark theme but only allow setting a few default configurations.

Anyone willing to provide both ?

KaKi87 avatar Apr 22 '22 15:04 KaKi87

@KaKi87 you can set defaults....by editing aria-ng js file

hapylestat avatar Jul 02 '22 01:07 hapylestat

Which file exactly are you talking about ? I can't find aria-ng.js. Thanks

KaKi87 avatar Jul 02 '22 09:07 KaKi87

@hapylestat Hello ?

KaKi87 avatar Jul 29 '22 10:07 KaKi87