wiki
wiki copied to clipboard
Configurable Colors and Fonts
Issue
Currently, wiki defines its own style, separate from the rest of the website, which gets included in wiki pages only. This way, it's also not configurable.
Proposed solution
For usual web pages we can define colors, fonts, etc. in Website Theme. IMHO, this should apply to wiki as well.
We can achieve this by creating a website.bundle.scss, which imports all the wiki styles. We'll need to scope the styles to apply to wiki pages only, avoiding to mess up the rest of the website.
wiki uses the variables defined by the website theme so changing that should change wiki too
That's what I expected, but it doesn't
That's weird We remember breaking our internal wiki by adding custom CSS/ js for webpages
Full theme capabilities support would be cool though
Yes, I can imagine that you had problems this way around.
Website Theme only takes into account website.bundle.scss. But wiki doesn't provide this file. Instead it has several CSS files that get included in the specific pages directly. This way it cannot access the fonts and colors defined in Website Theme.