feat: add new theme berry (#860)

* feat: add theme berry

* docs: add development notes

* fix: fix blank page

* chore: update implementation

* fix: fix package.json

* chore: update ui copy

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
This commit is contained in:
Buer
2024-01-07 14:20:07 +08:00
committed by GitHub
parent 6227eee5bc
commit 48989d4a0b
157 changed files with 13979 additions and 5 deletions

29
web/berry/src/config.js Normal file
View File

@@ -0,0 +1,29 @@
const config = {
// basename: only at build time to set, and Don't add '/' at end off BASENAME for breadcrumbs, also Don't put only '/' use blank('') instead,
// like '/berry-material-react/react/default'
basename: '/',
defaultPath: '/panel/dashboard',
fontFamily: `'Roboto', sans-serif, Helvetica, Arial, sans-serif`,
borderRadius: 12,
siteInfo: {
chat_link: '',
display_in_currency: true,
email_verification: false,
footer_html: '',
github_client_id: '',
github_oauth: false,
logo: '',
quota_per_unit: 500000,
server_address: '',
start_time: 0,
system_name: 'One API',
top_up_link: '',
turnstile_check: false,
turnstile_site_key: '',
version: '',
wechat_login: false,
wechat_qrcode: ''
}
};
export default config;