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

插件导致新版zotero只能显示5种颜色 #118

Closed
zyx335588 opened this issue Feb 12, 2023 · 10 comments
Closed

插件导致新版zotero只能显示5种颜色 #118

zyx335588 opened this issue Feb 12, 2023 · 10 comments

Comments

@zyx335588
Copy link

Zotero官方在新版beta中PDF阅读器高亮等位置增加了3种颜色,将在6.0.22中实际应用。貌似style插件会导致PDF阅读器中的高亮只显示前5种颜色。

Zotero forum
In the latest Zotero beta, we've added three additional highlight colors in the PDF reader and note editor and restored the ability to set text colors in notes. These changes will be included in Zotero 6.0.22.

具体表现为高打开PDF文件时仍为8种颜色,但是选中一次弹窗后,就只有5种颜色了。
希望能够改善。

@MuiseDestiny
Copy link
Owner

style支持无数种颜色,shift p点击标注

@zyx335588
Copy link
Author

但是官方现在的弹窗就有8种,大多数情况是够用的,没必要增加一步shift p去切换啊

@MuiseDestiny
Copy link
Owner

但是官方现在的弹窗就有8种,大多数情况是够用的,没必要增加一步shift p去切换啊

可以shift p点击标注,创建官方的八种颜色。然后使用它就可以了。只需要修改这一次。

@zyx335588
Copy link
Author

好的。但是个人感觉插件还是不要改变官方的操作为好。

@zyx335588
Copy link
Author

我不清楚这个issue为什么现在被关闭了,应该不止我一个人会遇到这个问题。
希望作者后续更新时,能够恢复官方的8种默认颜色。而不是让用户去自己设置。

@MuiseDestiny MuiseDestiny reopened this Feb 12, 2023
@MuiseDestiny MuiseDestiny reopened this Feb 12, 2023
@MuiseDestiny
Copy link
Owner

MuiseDestiny commented Feb 12, 2023

好的,还有哪些地方不希望插件改的,我以后注意

@zyx335588
Copy link
Author

点赞,作者已经很棒了!
官方额外的三种颜色代码,目前有需要的可以使用:
['general.magenta', '#e56eee'],
['general.orange', '#f19837'],
['general.gray', '#aaaaaa']

@MuiseDestiny
Copy link
Owner

[
['general.yellow', '#ffd400'],
['general.red', '#ff6666'],
['general.green', '#5fb236'],
['general.blue', '#2ea8e5'],
['general.purple', '#a28ae5'],
['general.magenta', '#e56eee'],
['general.orange', '#f19837'],
['general.gray', '#aaaaaa']
];

https://github.com/zotero/pdf-reader/blob/f720ff8348cfe2b0b548fe9683e02523ef2f378b/src/lib/colors.js

@MuiseDestiny
Copy link
Owner

为啥这么喜欢官方的颜色啊,我觉得很普通。

@MuiseDestiny
Copy link
Owner

image

这么设置可以恢复官方颜色。

但我觉得五个颜色刚刚好。对于Zotero这样的升级,由于一些代码逻辑,插件不太好恢复8个颜色。但可以设置当点击+创建颜色组时候创建的是官方默认的八个颜色。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants