如何使语法高亮的颜色变亮?

How to lighten up colors of syntax highlighting?

我需要使语法颜色更浅(对于深色主题)。是否全球化。

是的,事实上一个影响所有面孔的调光开关。实际上有几个这样的调光器开关:(1) 到 dim/brighten,(2) 提高颜色或使它们更褪色,(3) 接近或远离特定色调,或 (4, 5, 6) 使它们都或多或少地变成红色、蓝色或绿色。

所有这些一起作用于所有面部的调光器开关都集中在一个命令中——好吧,两个命令:一个用于面部背景 (doremi-all-faces-bg+)一张用于脸部前景 (doremi-all-faces-fg+).

这是几个 Do Re Mi 颜色增量命令中的两个。其他人在个人面孔或框架背景和前景上工作。所有这些命令都以相同的方式工作。调用命令后(例如 M-x doremi-all-faces-bg+):

You are prompted for the color COMPONENT to increment/decrement (a character):

  `r` - red
  `g` - green
  `b` - blue
  `h` - hue (basic color)
  `s` - saturation (purity)
  `v` - value (brightness)

  `R` - red, green, and blue, at the same time
  `H` - hue, saturation, and value, at the same time

`R` and `H` increment all components of the respective color spaces,
according to the value of INCREMENT.

You can at any time change, to increment/decrement a different color
component (r, g, b, h, s, v, R, or H).  For example, you can type `r`
and use the arrow keys or mouse wheel to change the red component,
then type `b` and use the arrows or wheel to change the blue
component, and so on, all in the same call.

为了降低饱和度,也就是使所有颜色变得更苍白或褪色,您只需使用 s

有关此所有面的同步饱和调光的更多信息,请参见Angry Fruit Salad

如果您想要或多或少褪色,您可以随时使用调光开关。或者你可以用它来找到一个好的组合,然后将当前面值保存在你的custom-file(或者你的初始化文件,如果你没有custom-file,你应该有)。

您更有可能希望通过 "dimming" 进行试验,然后对一些个人面孔进行一些自定义。为此,您可以对各个面孔使用类似的调光开关(doremi-face-bg+ 等)。一次增加所有面孔的质量有点粗糙。但是对于像去饱和这样的东西,它非常快并且做得很好。

请注意,使用 Do Re Mi 命令所做的面部更改不会自动保存。用户选项 doremi-customization-status 控制自定义视图如何更改。

  • 默认情况下,Customize 将它们视为您使用 Customize UI 制作的一样。在这种情况下,您可以使用命令 customize-unsaved 为它们全部打开自定义,您可以在其中保存单个更改或所有更改。

  • 如果将选项 doremi-customization-status 设置为值 outside,则 Customize 会将更改视为在 Customize 外部进行。在这种情况下,您可以使用命令 customize-rogue 为它们全部打开自定义。

  • 如果您将选项设置为任何其他选项,则 Customize 将完全忽略更改 - 您不能使用 Customize 来保存它们,直到您使用 Customize 本身或 set-face-foreground 等命令重新应用它们。如果您只想试验而不想让自定义看到您所做的,此选项设置会很有用。