

长时间敲代码,是浅色背景好还是深色背景好?
source link: https://www.v2ex.com/t/785006
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

如题,大家在 ide 里面是深色背景还是浅色的呢? 个人是浅色背景,常用 idea,发现深色背景下的字体对比度不如浅色背景,看久了容易类。老哥们有没有实际的数据说明哪个更好地呀
sheeta 15 小时 13 分钟前 2
Leonard 15 小时 4 分钟前
way2create 14 小时 46 分钟前
ericls 14 小时 35 分钟前 via iPhone
GDKVIP 12 小时 8 分钟前
newmlp 11 小时 35 分钟前
IgniteWhite 10 小时 3 分钟前 via iPhone
Neovim/Vim: Gruvbox, high contrast, light/dark
Terminal: Dracula
statusbar: vim-airline
Zsh: powerlevel10k
Code highlighting parser: nvim-treesitter
tmuxline theme manager: tmuxline.vim
无论亮暗,代码辨识度很重要。提高辨识度的关键是使用一款合适的 parser,改进关键词高亮识别。这里推荐 treesitter,可以看看各位自己用的编辑器 /IDE 有没有对应的 treesitter 插件。
我的配置中写了个小脚本 github.com/g6ai/dotfiles/blob/master/tmux/update_tmuxline.sh ,让 tmuxline 能跟着 window 配色而变化(渣清换体积,抱歉):
dfkjgklfdjg 9 小时 57 分钟前
现在是 VSCode 默认亮色主题 + Win 的夜间模式,自动变黄,看了 2 年了都没有流眼泪啥的。
反正我是这样,视力也一直保持在 5.1 左右。
israinbow 4 小时 51 分钟前
预览
icylogic 3 小时 58 分钟前
包括之前某个帖子也有类似的引用,但其实全文的意思是浅色背景黑色字更加容易识别,更加易读
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.
honjow 1 小时 38 分钟前 via iPhone
Recommend
-
28
谢 @灿若莲花 邀。关于rpg核心元素的定义很多大佬都发表过看法,wiki也有解释,还有护士大大们的理解,这…
-
12
产品经理技术背景重要,还是人文、社科背景重要? 这是最近在苦苦寻思的问题!自己想在工作岗位上更上一层楼,有进修的打算!可是往技术方向,还是人文社科方向?大家伙点拨一二!感谢! ...
-
10
由于长期伏案,颈椎问题比较严重,所以平时都尽量减少低头看手机的时间,也就养成了用浏览器看各种读物的习惯,其中就包括公众号文章。最近不知道从哪一天开始,突然发现公众号文章的背景突然变成了黑色。 就像这样子:
-
13
V2EX › 程序员 [引战帖] IDE 背景 浅色和暗色,到底哪个更护眼? chevalier · 1...
-
12
by zhangxinxu from https://www.zhangxinxu.com/wordpress/?p=9982 本文欢迎分享与聚合,全文转载就不必了,尊重版权,圈子就这么大,若急用可...
-
10
全球碳中和大背景下,对 NFT 的发展是阻碍还是机会? 白话区块链 原创 2021-09-27 06:34 热度 391091 分享 微信扫一扫:分享 ...
-
7
前段时间,一篇名为《NFT艺术品要结束了》的文章引起不少人关注,它向大家解释了为什么看空NFT艺术品,也提到了NFT艺术家们的困境:他们越来越难从中盈利。另外,法国艺术家 JoanieLemercier 抨击NFT拍卖过程产生了非常高的碳排放(POW机制)……市面上充...
-
9
IDE的暗黑模式(dark mode)真的护眼吗?我为什么一直使用浅色背景(light mode) 2021-06-03 日记
-
4
GNOME 42 将期待已久的浅色和深色主题引入了 GNOME 桌面。它还带来了浅色和深色版壁纸,当你在浅色和深色主题...
-
14
使用c#的 async/await编写 长时间运行的基于代码的工作流的 持久任务框架 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK