Wikipedia:Zenburn

From Wikipedia, the free encyclopedia

Zenburn is a color scheme created for Vim, but since adapted for many other uses. The following CSS, if added to your custom CSS under preferences, is a partial implementation of the scheme. Feel free to tweak this, using https://github.com/jnurmine/Zenburn/blob/master/colors/zenburn.vim as a reference.

body {
    background-color: #3f3f3f;
    /* @embed */
    background-image: url(images/page-base.png);
}
a:link {color: #f0dfaf}
a:visited {color: #e0cf9f}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #dcdccc;
}
 
/* Head */
#mw-page-base {
    height: 5em;
    background-color: #3f3f3f;
    /* @embed */
    background-image: url(images/page-fade.png);
    background-position: bottom left;
    background-repeat: repeat-x;
}
#content {
    margin-left: 10em;
    padding: 1em;
    /* @embed */
    background-image: url(images/border.png);
    background-position: top left;
    background-repeat: repeat-y;
    background-color: #3f3f3f;
    color: #dcdccc;
    direction: ltr;
}
 
pre {
    background: #3f3f3f;
    border: 1pt dashed #dcdccc;
    color: #dcdccc;
    font-size: 8pt;
    overflow: auto;
    padding: 1em 0;
    white-space: pre;
}
 
table.tmbox {
    background: #dc8cc3;
    border: 1px solid #C0C090;
    border-collapse: collapse;
    margin: 4px 10%;
}
 
table.diff {
    background: #3f3f3f;
}
More information Category, Example Text ...
Zenburn color definitions (originally defined for Vim)
CategoryExample TextForegroundBackgroundExtra
HexRGBHexRGB
Normal NormalDCDCCC220,220,2043F3F3F63,63,63
Boolean BooleanDCA3A3220,163,163
Character CharacterDCA3A3220,163,163bold
Comment Comment7F9F7F127,159,127italic
Conditional ConditionalF0DFAF240,223,175bold
Constant ConstantDCA3A3220,163,163bold
Cursor Cursor000D180,13,248FAF9F143,175,159bold
Debug DebugBCA3A3188,163,163bold
Define DefineFFCFAF255,207,175bold
Delimiter Delimiter8F8F8F143,143,143
DiffAdd DiffAdd709080112,144,128313C3649,60,54bold
DiffChange DiffChangeDCDCCC220,220,20433333351,51,51
DiffDelete DiffDelete33333351,51,5146464670,70,70
DiffText DiffTextECBCBC236,188,18841363C65,54,60bold
Directory DirectoryDCDCCC220,220,204bold
ErrorMsg ErrorMsg80D4AA128,212,1702F2F2F47,47,47bold
Exception ExceptionC3BF9F195,191,159bold
Float FloatC0BED1192,190,209
FoldColumn FoldColumn93B3A3147,179,1633F404063,64,64
Folded Folded93B3A3147,179,1633F404063,64,64
Function FunctionEFEF8F239,239,143
Identifier IdentifierEFDCBC239,220,188
IncSearch IncSearch385F3856,95,56F8F893248,248,147
Keyword KeywordF0DFAF240,223,175bold
Label LabelDFCFAF223,207,175underline
LineNr LineNr9FAFAF159,175,17526262638,38,38
Macro MacroFFCFAF255,207,175bold
ModeMsg ModeMsgFFCFAF255,207,175
MoreMsg MoreMsgFFFFFF255,255,255bold
NonText NonText40404064,64,64
Number Number8CD0D3140,208,211
Operator OperatorF0EFD0240,239,208
PreCondit PreConditDFAF8F223,175,143bold
PreProc PreProcFFCFAF255,207,175bold
Question QuestionFFFFFF255,255,255bold
Repeat RepeatFFD7A7255,215,167bold
Search SearchFFFFE0255,255,224284F2840,79,40
SpecialChar SpecialCharDCA3A3220,163,163bold
SpecialComment SpecialComment82A282130,162,130bold
Special SpecialCFBFAF207,191,175
SpecialKey SpecialKey9ECE9E158,206,158
Statement StatementE3CEAB227,206,171
StatusLine StatusLine2E434046,67,64CCDC90204,220,144
StatusLineNC StatusLineNC2E333046,51,4888B090136,176,144
StorageClass StorageClassC3BF9F195,191,159bold
String StringCC9393204,147,147
Structure StructureEFEFAF239,239,175bold
Tag TagE89393232,147,147bold
Title TitleEFEFEF239,239,239bold
Todo TodoDFDFDF223,223,223bold
Typedef TypedefDFE4CF223,228,207bold
Type TypeDFDFBF223,223,191bold
Underlined UnderlinedDCDCCC220,220,204underline
VertSplit VertSplit30303048,48,48688060104,128,96
VisualNOS VisualNOS33333351,51,51F18C96241,140,150bold, underline
WarningMsg WarningMsgFFFFFF255,255,25533333351,51,51bold
WildMenu WildMenuCBECD0220,163,1632C302D44,48,45underline
Close

Related Articles

Wikiwand AI