长时间敲代码,是浅色背景好还是深色背景好?

2021-06-22 10:47:13 +08:00
 zhangchongjie

如题,大家在 ide 里面是深色背景还是浅色的呢? 个人是浅色背景,常用 idea,发现深色背景下的字体对比度不如浅色背景,看久了容易类。老哥们有没有实际的数据说明哪个更好地呀

13198 次点击
所在节点    程序员
95 条回复
kios
2021-06-22 19:23:35 +08:00
我喜欢豆沙绿
dhou45
2021-06-22 20:30:17 +08:00
说暗色累眼睛的, 我真没有留意过. 我平时也是暗色系, 感觉更容易保持注意力?
不过有时候上头了坐那儿大半天硬刚起代码来啥配色都不会觉得累..
Jirajine
2021-06-22 20:33:03 +08:00
全部用亮色。
因为网页基本都是亮色,为避免切换造成的不适,ide 和终端全部专门配置成浅色。
tediorelee
2021-06-22 20:45:58 +08:00
@yekern 这个好,mark
ipfox
2021-06-22 20:49:41 +08:00
solarized +1
ilxv
2021-06-22 20:51:24 +08:00
白底黑字,然后开护眼模式
DonkeyBenjamin
2021-06-22 20:59:30 +08:00
solarized or flux
这个有论文证明是 light theme 对眼睛更友好: https://ux.stackexchange.com/questions/53264/dark-or-white-color-theme-is-better-for-the-eyes
imzcg2
2021-06-22 21:06:02 +08:00
大言不惭推荐自己的破主题 https://plugins.jetbrains.com/plugin/16308-love-your-eyes-theme
也可以自己搜索 love 就可以搜到了
[![RexQQs.png]( https://z3.ax1x.com/2021/06/22/RexQQs.png)]( https://imgtu.com/i/RexQQs)
israinbow
2021-06-22 21:09:34 +08:00
idea 和 vscode 里用的都是叫 spacegray 的皮肤, 背景选了一位叫 yuming 的画师的一副创作 artstation.com/oldfish, 在 ps 里取了一下 spacegray 的色号然后修了一下原版背景的色调, 看起来很舒适, 弱光强光下都比较柔和.
预览![image](imgur.com/a/xRQlX1W)
melkor
2021-06-22 21:10:43 +08:00
@HDMItoDP 可能是绿豆沙
imzcg2
2021-06-22 21:21:19 +08:00
@melkor 我那个就是绿豆沙
icylogic
2021-06-22 22:02:50 +08:00
@DonkeyBenjamin

包括之前某个帖子也有类似的引用,但其实全文的意思是浅色背景黑色字更加容易识别,更加易读

In general, light mode leads to better performance most of the time for users with normal or corrected-to-normal vision.

但考虑到对视力的长期影响,是深色背景更好一些

While light mode performs better, those gain seem to be more short-term. Long-term exposure may be result in myopia.
Increased font-size in dark mode doesn't offset the gains from light-mode.
Providing a dark mode though is still recommended though becomes of the potential long-term effects with light mode, some visual impairments perform better in dark mode, and some users simply prefer it.
For applications which provide long-form reading (books, articles, even news sites), dark mode options are recommended.


这是另一篇
https://www.nngroup.com/articles/dark-mode/

Summary: In people with normal vision (or corrected-to-normal vision), visual performance tends to be better with light mode, whereas some people with cataract and related disorders may perform better with dark mode. On the flip side, long-term reading in light mode may be associated with myopia.
xiaomingVTEX
2021-06-22 22:40:50 +08:00
白天浅色
晚上深色
kksco
2021-06-23 00:16:40 +08:00
gradianto nature green
honjow
2021-06-23 00:23:12 +08:00
我用浅色
PolarBears
2021-06-23 02:19:47 +08:00
以前我也一直用深色,今年换成浅黄了
yingbo
2021-06-23 03:57:46 +08:00
屏幕背景尽量和背景色一致就好,这样眼睛不累。
cuixiao603
2021-06-23 08:49:01 +08:00
红色
ALVC666
2021-06-23 09:06:06 +08:00
日经贴。。 不过我已经全部切换成浅色了
主要是切换 ide 和其他 网页的时候 会有黑白反差
感觉有点晃眼睛 鉴于深色肯定是不能全局统一
所以我就换成浅色 atom one light 了
leafre
2021-06-23 09:07:03 +08:00
闭眼最不容易累

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/785006

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX