Sepia Theme
Publisher: Zhi YinThemes in package: 2
Your eyes will thank you
Your eyes will thank you
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| text, source | #8D796B | — |
| entity.name | #009944 | — |
| meta.function-call, meta.method-call, meta.function-call entity.name.function, meta.method-call entity.name.function | #009B98 | — |
| entity.other.inherited-class | #B96900D7 | — |
| variable | #879900 | — |
| variable.other.property, variable.other.object.property, support.type.property-name, meta.object-literal.key | #879900 | — |
| variable.language | #009944 | — |
| support.variable, support.class, support.constant, support.function | #008888 | — |
| variable.parameter, entity.name.variable.parameter | #6677BB | — |
| variable.function | #008888 | — |
| constant | #AA00AABB | — |
| constant.numeric | #F57B00 | — |
| storage.type, keyword.type, punctuation.definition.annotation | #038DBEEE | — |
| storage.modifier | #008888 | — |
| support.type | #B96900D7 | — |
| keyword.import, keyword.export, keyword.control.import, keyword.control.export, keyword.other.import, keyword.other.export, keyword.other.using, keyword.control.directive.include | #CC1100CC | — |
| keyword.control | #CC1100CC | — |
| keyword.control.conditional, keyword.control.trycatch, keyword.control.try, keyword.control.loop, switch-expression.expr keyword.control.switch | #222222 | — |
| keyword.operator | #F57B00 | — |
| keyword | #038DBEEE | — |
| string, punctuation.definition.string | #A7882D | — |
| string.regexp, string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.escape.backslash.regexp | #EE4444DD | — |
| meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.interpolation, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.variable.makefile | #EE4444DD | — |
| comment, punctuation.definition.comment | #999999DD | — |
| invalid | #FF0000 | — |
| invalid.deprecated | #F00D86CC | — |
| punctuation.definition.directive | #CC1100CC | — |
| source.cs entity.name.variable | #839400 | — |
| entity.name.function.cs | #009944 | — |
| keyword.other.new.cs | #CC1100CC | — |
| source.c, source.cpp | #879900 | — |
| source.c punctuation, source.cpp punctuation | #8D796B | — |
| meta.function.c | #6677BB | — |
| meta.function-call.c | #879900 | — |
| support.type.property-name, support.type.vendored.property-name | #879900 | — |
| meta.property-value, support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media | #A7882D | — |
| keyword.control.at-rule, keyword.control.at-rule punctuation.definition.keyword | #CC1100CC | — |
| keyword.control.at-rule.import, keyword.control.at-rule.import punctuation.definition.keyword | #CC1100CC | — |
| variable.scss, variable.other.less, variable punctuation.definition | #EE4444DD | — |
| keyword.other.important | #CC1100CC | — |
| constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color, keyword.other.unit | #F57B00 | — |
| variable.interpolation.scss | #8D796B | — |
| support.constant.color.w3c-standard-color-name.css, support.constant.color.w3c-extended-color-name | #8D796B | — |
| constant.other.symbol.hashkey.ruby, keyword.operator.dereference.java, keyword.operator.navigation.groovy, meta.scope.for-loop.shell punctuation.definition.string.begin, meta.scope.for-loop.shell punctuation.definition.string.end, meta.scope.for-loop.shell string, punctuation.separator.list.comma.css, constant.language.empty-list.haskell, punctuation.section.embedded, punctuation.definition.block, punctuation.terminator | #8D796B | — |
| source.go | #879900 | — |
| source.go punctuation | #8D796B | — |
| variable.other.assignment.go | #839400 | — |
| support.function.go | #009B98 | — |
| string entity.name.import.go | #A7882D | — |
| entity.name.tag, punctuation.definition.tag, punctuation.definition.tag source | #038DBEEE | — |
| support.class.component.js | #009B98 | — |
| meta.attribute.class string, entity.other.attribute-name.class, entity.other.attribute-name.class punctuation.definition.entity | #009944 | — |
| meta.attribute.id string, entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #BB3366EE | — |
| entity.other.attribute-name | #879900 | — |
| meta.tag.attributes.js keyword.operator.assignment.js | #8D796B | — |
| punctuation.definition.entity | #AA00AABB | — |
| source.java | #879900 | — |
| source.java punctuation | #8D796B | — |
| variable.other.definition.java | #839400 | — |
| meta.function-call.java, meta.method-call.java | #879900 | — |
| storage.modifier.import | #879900 | — |
| support.module.node, support.type.object.module | #CC1100CC | — |
| support.variable.property | #879900 | — |
| support.type.property-name.json, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #879900 | — |
| string.quoted.double.json, punctuation.definition.string.begin.json, punctuation.definition.string.end.json | #A7882D | — |
| markup.heading, entity.name.section.markdown | #009944 | — |
| markup.underline.link. | #038DBEEE | — |
| markup.list.numbered | #009B98 | — |
| markup.list.unnumbered | #879900 | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown | #222222 | — |
| markup.quote.markdown | #008888 | — |
| meta.separator.markdown | #EE4444DD | — |
| markup.italic | #B96900D7 | italic |
| markup.bold | #B96900D7 | bold |
| markup.bold markup.italic | #B96900D7 | bold italic |
| punctuation.definition.variable.php | #879900 | — |
| variable.language punctuation.definition.variable.php | #009944 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, punctuation.section.embedded.end source.php, punctuation.section.embedded.end source.ruby | #6677BB | — |
| source.python | #879900 | — |
| source.python punctuation | #8D796B | — |
| meta.function-call.arguments | #879900 | — |
| meta.function-call.arguments meta.function-call | #879900 | — |
| string.quoted.docstring, string.quoted.docstring punctuation.definition.string | #B96900D7 | — |
| punctuation.definition.variable.shell | #879900 | — |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}