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

add multi-color scheme support #270

Open
2 of 3 tasks
jiangtj opened this issue May 8, 2021 · 1 comment
Open
2 of 3 tasks

add multi-color scheme support #270

jiangtj opened this issue May 8, 2021 · 1 comment
Labels
Feature Request New feature or request

Comments

@jiangtj
Copy link

jiangtj commented May 8, 2021

Please follow this Issue template to provide relevant information, such as source code repository, website URL and screenshots, which will help us investigate.
请按照此 Issue 模版提供相关信息,例如源码仓库、网站链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist

  • I am using NexT version 8.0 or later.
  • I have already read the relevant documents of Hexo and NexT.
  • I have already searched for current issues, which does not help me.

Expected behavior

I found out that GitHub changed its darkmode scheme. It can choose two colors to be switched automatically by the system, or select a single color scheme. So we can refer to it to improve our theme.

Single theme
image

Sync with system
image

For our theme style, it is easy to implement, since mimi extracted the colors

for example
image
blue.styl

@import 'light';
// custom color ...
:root {
  --text-color: blue;
}

But for some third-party plug-ins, we need to consider how to integrate. 😑

for example
image
image
image

@liushulun
Copy link

liushulun commented Feb 17, 2022

Expect for that too!

Theme can only be switched by OS or browser for now. Add [Prefer theme] to force only one theme will be really helpful to me 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants