i3 Dark Theme
Publisher: i3acksp4ceThemes in package: 100
The VSCode theme base on github dark workbench color with WCAG 2.0
The VSCode theme base on github dark workbench color with WCAG 2.0
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 |
|---|---|---|
| comment, punctuation.definition.comment | #8eafbf | |
| variable, string constant.other.placeholder | #d9e7e7 | — |
| constant.other.color | #e5e5e5 | — |
| invalid, invalid.illegal | #ff7289 | — |
| keyword, storage.type, storage.modifier | #da97ff | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #89e7ff | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #ff7981 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #82b8ff | — |
| meta.block variable.other | #ff7981 | — |
| support.other.variable, string.other.link | #ff7981 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #ff9b54 | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #c9f08f | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #ffd767 | — |
| support.type | #b8d5e0 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #b8d5e0 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #ff7289 | — |
| variable.language | #ff7289 | |
| entity.name.method.js | #82b8ff | |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82b8ff | — |
| entity.other.attribute-name | #da97ff | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #ffd767 | |
| entity.other.attribute-name.class | #ffd767 | — |
| source.sass keyword.control | #82b8ff | — |
| markup.inserted | #c9f08f | — |
| markup.deleted | #ff7289 | — |
| markup.changed | #da97ff | — |
| string.regexp | #89e7ff | — |
| constant.character.escape | #89e7ff | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82b8ff | |
| source.js constant.other.object.key.js string.unquoted.label.js | #ff7289 | |
| source.json meta.structure.dictionary.json support.type.property-name.json | #da97ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffd767 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff9b54 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff7289 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e29787 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #82b8ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff7981 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #da97ff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c9f08f | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #d9e7e7 | — |
| text.html.markdown markup.inline.raw.markdown | #da97ff | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #9dadb8 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #c9f08f | — |
| markup.italic | #ff7981 | |
| markup.bold, markup.bold string | #ff7981 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #ff7981 | bold |
| markup.underline | #ff9b54 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #9dadb8 | — |
| markup.quote | — | |
| string.other.link.title.markdown | #82b8ff | — |
| string.other.link.description.title.markdown | #da97ff | — |
| constant.other.reference.link.markdown | #ffd767 | — |
| markup.raw.block | #da97ff | — |
| markup.raw.block.fenced.markdown | #a9a9a9 | — |
| punctuation.definition.fenced.markdown | #a9a9a9 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #d9e7e7 | — |
| variable.language.fenced.markdown | #9dadb8 | — |
| meta.separator | #9dadb8 | bold |
| markup.table | #d9e7e7 | — |
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}!`;
}