匹配 Windows 系统颜色:浅色系 [英] Matching windows system colors: light on dark

查看:29
本文介绍了匹配 Windows 系统颜色:浅色系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让我的应用程序成为一个好的 Windows 公民,所以我使用匹配的系统颜色(请参阅 "选择系统颜色时,尽量搭配但不要混合").但是,有时深色背景上的浅色文本(例如 COLOR_APPWORKSPACE/clAppWorkSpace)似乎最合适,但系统不提供此功能.您对此有什么建议吗?

I'm trying to make my app a good Windows citizen, so I use matching system colors (see "When selecting system colors, match but don't mix") as much as possible. However, sometimes light text on a dark background (something like COLOR_APPWORKSPACE/clAppWorkSpace) seems most appropriate, but the system doesn't provide this. Do you have any recommendations regarding this?

推荐答案

您可以交换两种颜色.例如,如果您可以在 InfoBackground 彩色背景上阅读 InfoText 彩色文本,那么您应该能够在 Info 彩色背景上阅读 InfoBackground 彩色文本(或将该概念应用于 Window 和 WindowText).

You could swap two colors. For example, if you can read InfoText colored text on a InfoBackground colored background, you should be able to read InfoBackground colored text on an Info colored background (or apply the concept to Window and WindowText).

可读性可能会略有下降.

Readability might suffer slightly.

有时可以使用您自己的颜色,只要它们不与系统颜色混合(即不要在系统颜色背景上绘制您的颜色文本).如果你自己的配色方案看起来合适,那就使用它.此外,Windows 没有可配置的颜色来满足每个需求.

Sometimes it is okay to use your own colors, as long as they aren't mixed in with system colors (i.e. don't draw your color text on a system color background). If your own color scheme seems appropriate, then use it. Besides, Windows doesn't have a configurable color for every single need.

这篇关于匹配 Windows 系统颜色:浅色系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆