base24定义中文版
# 颜色
base00到base0F与base16相同。有关Base24回退到哪种颜色,请参阅下表:
| Base24 | Base16 |
| ---- | ---- |
| base10 | base00 |
| base11 | base00 |
| base12 | base08 |
| base13 | base0A |
| base14 | base0B |
| base15 | base0C |
| base16 | base0D |
| base17 | base0E |
- 颜色base00到base07通常是灰阶变化,从暗到亮。这些颜色用于前景和背景、状态栏、线条、突出显示等。
- 颜色base08到base0E通常是用于类型、运算符、名称和变量的单独颜色。
- 不应使用Base0F。
- 颜色base10和base11是base00的扩展,base10更暗,base00最暗。
- Colours base12 through base17 are brighter variants of base08 to base09 and
base0B to base0E
- 颜色base12到base17是base08到base09和base0B到base0E的更亮的变体
- 也就是12 => 08, 13 => 09, 14 => 0B, 15 => 0C, 16 => 0D, 17 => 0E
- In order to create a dark theme, colours base00 to base07 should span from
dark to light and colours base10 to base11 should span light (though darker
than base00) to darker still.
- 为了创建一个深色主题,颜色base00到base07应该从深色到浅色,颜色base10到base11应该从比base00深一点点的深色,到最深的深色。
- For a light theme, colours base00 to base07 should span from light to dark and
colours base10 to base11 should span dark (though lighter than base00) to
lighter still.
- 对于浅色主题,颜色base00到base07应该从浅色到深色,颜色base10到base11应该从比base00浅一点点的浅色,到最浅的浅色。
|参考色|baseNN|Ansi颜色|终端颜色|含义|
|---|---|---|---|---|
| `#282c34` |base00|-|Background|Default Background|
| `#3f4451` |base01|0|Black|Lighter Background(Used for status bars)|
| `#4f5666` |base02|8|Bright Black|Selection Background|
| `#545862` |base03|-|NA|Comments, Invisibles, Line Highlighting|
| `#9196a1` |base04|-|NA|Dark Foreground (Used for status bars)|
| `#abb2bf` |base05|-|Foreground|Default Foreground, Caret, Delimiters, Operators|
| `#e6e6e6` |base06|7|White|Light Foreground (Not often used)|
| `#ffffff` |base07|15|Bright White|The Lightest Foreground (Not often used)|
| `#e06c75` |base08|1|Red|Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted|
| `#d19a66` |base09|3|Yellow|Integers, Boolean, Constants, XML Attributes, Markup Link Url|
| `#e5c07b` |base0A|~11|NA|Classes, Markup Bold, Search Text Background|
| `#98c379` |base0B|2|Green|Strings, Inherited Class, Markup Code, Diff Inserted|
| `#56b6c2` |base0C|6|Cyan|Support, Regular Expressions, Escape Characters, Markup Quotes|
| `#61afef` |base0D|4|Blue|Functions, Methods, Attribute IDs, Headings|
| `#c678dd` |base0E|5|Purple|Keywords, Storage, Selector, Markup Italic, Diff Changed|
| `#be5046` |base0F|-|NA|Deprecated|
| `#21252b` |base10|-|NA|Darker Background|
| `#181a1f` |base11|-|NA|The Darkest Background|
| `#ff7b86` |base12|9|Bright Red|NA|
| `#efb074` |base13|11|Bright Yellow|NA|
| `#b1e18b` |base14|10|Bright Green|NA|
| `#63d4e0` |base15|14|Bright Cyan|NA|
| `#67cdff` |base16|12|Bright Blue|NA|
| `#e48bff` |base17|13|Bright Purple|NA|