saberland/saber


Do you want to work on this issue?
You can request for a bounty in order to promote it!
Support saber config in theme directory #160
egoist posted onGitHub
<!-- Please don't delete this template or we'll close your issue -->
<!-- Before creating an issue please make sure you are using the latest version of Saber. -->
Feature request
<!-- Please ask questions via following several ways. -->
<!-- https://chat.saber.land/ -->
<!-- https://stackoverflow.com/questions/ask?tags=saberjs -->
What problem does this feature solve?
A theme should be able to pre-configure siteConfig
themeConfig
plugins
etc.
What does the proposed API look like?
Just populate a saber config file in your theme directory.
Some options are not available when it is loaded from theme directory, e.g. theme
How should this be implemented in your opinion?
Merge it with the saber config we found at project root.
Are you willing to work on this yourself?
PR welcome.