Page 1 of 1

Wiki dark theme

Posted: Tue Apr 01, 2025 1:25 am
by Rapsey
No more burning your eyes: the wiki theme has been overhauled to bring it in line with the rest of the website!

Not much more to say about it really, but if you notice anything that looks off or difficult to read, please let me know.

It probably doesn't surprise most of you that I don't spend a lot of time looking up wiki guides myself. While I was working on this I was absolutely blown away by how much material is on the wiki and how thorough it is. So I would like to take this opportunity to say thank you to everyone who has worked to turn the wiki into the source of knowledge I always hoped it would become. You guys did a great job!

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 1:30 am
by Iron adam
Curious, is there still an option for light mode for any sickos out there? If so, how is it controlled? Is dark mode the default?

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 1:50 am
by Rapsey
Iron adam wrote: Tue Apr 01, 2025 1:30 am Curious, is there still an option for light mode for any sickos out there? If so, how is it controlled? Is dark mode the default?
I'm afraid not. The dokuwiki template engine only supports setting one template globally. Kinda doubt anyone will miss it though.

There is a plugin that offers this functionality but it would require some coding effort to make it work right and I don't think it's worth it.

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 2:31 am
by Lykos
Wallahi we are saved

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 2:32 am
by Iron adam
Could we get external links to show blue, similar to how internal links work?

See example page: https://wiki.pkhonor.net/guides/clue_scrolls
Spoiler: show
Image

Image

I'm not finding much in terms of issues. Everything looks really good.

Unrelated to the dark theme, but could we get an update on the item icons at some point? There are some that have been broken for a while.

See example:
Spoiler: show
Image

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 3:27 am
by Rapsey
Iron adam wrote: Tue Apr 01, 2025 2:32 am Could we get external links to show blue, similar to how internal links work?
Done. You'll probably need to do a hard refresh (ctrl-F5).
Iron adam wrote: Tue Apr 01, 2025 2:32 am Unrelated to the dark theme, but could we get an update on the item icons at some point? There are some that have been broken for a while.
I'll see if I can figure out how Mike extracted them from the cache.

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 3:39 am
by Iron adam
Rapsey wrote: Tue Apr 01, 2025 3:27 am
Iron adam wrote: Tue Apr 01, 2025 2:32 am Could we get external links to show blue, similar to how internal links work?
Done. You'll probably need to do a hard refresh (ctrl-F5).
Iron adam wrote: Tue Apr 01, 2025 2:32 am Unrelated to the dark theme, but could we get an update on the item icons at some point? There are some that have been broken for a while.
I'll see if I can figure out how Mike extracted them from the cache.
Thanks!

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 4:11 am
by Rapsey
Iron adam wrote: Tue Apr 01, 2025 2:32 am Unrelated to the dark theme, but could we get an update on the item icons at some point? There are some that have been broken for a while.
Also done.
Spoiler: show
Image
(and also fixed a bug that made it impossible to scroll on mobile)
(and also removed the unnecessary spacing after the last element inside a tab such as lists and tables, although it still happens when the content is inside a wrap, for that I will need to do a more complicated fix to avoid content being squished together when tab columns are arranged vertically due to insufficient width)

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 11:48 am
by Uim killerb
legend

Re: Wiki dark theme

Posted: Tue Apr 01, 2025 2:27 pm
by Nolan
Beauty.