Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【配置表】把主题这个参数添加进去 #2552

Open
lhuafmaof opened this issue Jun 28, 2024 · 1 comment
Open

【配置表】把主题这个参数添加进去 #2552

lhuafmaof opened this issue Jun 28, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@lhuafmaof
Copy link

为什么提出这个新的特性改动
目前,每次代码更新后,重新部署都会被新的代码覆盖,需要重新去代码里面改主题的类型。

描述一下你推荐的解决方案
1、用户在主题里面设置主题的类型。
2、每次重新部署后自动读取配置表格里面的参数。

描述一下你考虑过的其它替代解决方案
简要说明你所有想过的有可能解决此问题的方案。

补充说明
这个对小白比较友好,我们稍微懂点的会对比代码或这部署完了再来改,但对他们有点懵逼。

@lhuafmaof lhuafmaof added the enhancement New feature or request label Jun 28, 2024
@tangly1024 tangly1024 changed the title 配置表里面把主题这个参数添加进去 【配置表】把主题这个参数添加进去 Jul 8, 2024
@tangly1024
Copy link
Owner

Notion配置里添加 THEME=simple , 这是支持的,并且在网页上实时生效,但主要做预览切换使用,长期使用建议配置在环境变量中。

image

@tangly1024 tangly1024 added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants