This is 71 KiB of JavaScript and it seems to only be used for 2 icons if the theme toggle widget is enabled. Could it be excluded if the theme is set to auto, light, or dark? I can PR this change if desired.
It may also be worth considering inlining those two icons, or using similar-looking Unicode symbols.
That would be a good idea. I'll try to implement it, as it doesn't seem like too much work. We can also use the feather svg directly instead of using the Javascript library I think.
Currently the Feather icon library is always included in the page:
This is 71 KiB of JavaScript and it seems to only be used for 2 icons if the theme toggle widget is enabled. Could it be excluded if the theme is set to auto, light, or dark? I can PR this change if desired.
It may also be worth considering inlining those two icons, or using similar-looking Unicode symbols.