Friendly Dark
Publisher: Satou FukumiThemes in package: 6
A friendly dark theme - new ErrorDark! ✨
A friendly dark theme - new ErrorDark! ✨
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 | #505067 | — |
| support.other.variable, variable.language.this | #11C9C9 | underline italic |
| variable.other.constant, meta.definition.variable.js | #00E1FF | underline bold |
| string | #A6FA62 | — |
| constant.numeric | #A6FA62 | — |
| meta.object-literal.key, support.variable.property | #9C8FE6 | — |
| constant.language | #7873AE | — |
| constant.character, constant.other | #7873AE | — |
| variable, variable.other, variable.other.property | #00E1FF | |
| keyword | #7873AE | — |
| storage | #7873AE | |
| storage.type | #585480 | |
| entity.name.class | #7873AE | underline |
| entity.other.inherited-class | #7873AE | |
| entity.name.function | #FFFFFF | |
| variable.parameter | #C8C7D5 | |
| entity.name.tag | #585480 | |
| entity.other.attribute-name | #7873AE | |
| support.function | #A6FA62 | |
| support.constant | #7873AE | |
| support.type, support.class | #7873AE | |
| invalid | #CF433E | |
| invalid.deprecated | #CF433E | — |
| meta.structure.dictionary.json string.quoted.double.json | #A6FA62 | — |
| meta.diff, meta.diff.header | #505067 | — |
| markup.deleted | #E61F44 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #F7B83D | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #727291 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #A6FA62 | — |
| meta.structure.dictionary.json string.quoted.double.json | #7873AE | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #A6FA62 | — |
| meta.property-name support.type.property-name, meta.property-name.css, meta.property-list.css, meta.property-name.scss, meta.property-list.scss | #4EC9B0 | |
| meta.property-value punctuation.separator.key-value | #C8C7D5 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #585480 | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #585480 | |
| variable.parameter.function | #A6FA62 | |
| entity.name.section.markdown | #7873AE | — |
| punctuation.definition.heading.markdown | #7873AE | — |
| markup.raw.inline.markdown | #A6FA62 | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #7873AE | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #7873AE | — |
| punctuation.definition.metadata.markdown | #7873AE | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #585480 | |
| markup.bold.markdown, markup.italic.markdown | #585480 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| markup.raw.block.markdown | #664E4D | — |
| markup.deleted.git_gutter | #E61F44 | — |
| markup.inserted.git_gutter | #A7DA1E | — |
| markup.changed.git_gutter | #F7B83D | — |
| meta.template.expression | #C8C7D5 | — |
| entity.name.function.constructor, entity.name.function.destructor | — | italic |
| entity.other.attribute-name | — | italic |
| keyword.operator.new, keyword.operator.delete | #C586C0 | italic |
| keyword.other, keyword.operator.logical | #569CD6 | — |
| keyword.control | #C586C0 | |
| storage.type.modifier.access | #AA00FF | italic |
| storage.modifier.const, storage.modifier.constexpr, storage.modifier.specifier, storage.modifier.async | #FF6BCB | — |
| string, string.quoted, meta.structure.dictionary | #CE9178 | — |
| comment | — | |
| entity.name.function.preprocessor, meta.preprocessor | #569CD6 | italic |
| keyword.other.unit | #B5CEA8 | italic |
| constant.numeric | #B5CEA8 | — |
| variable.parameter | #00E1FF | — |
| meta.preprocessor | #569CD6 | — |
| keyword.operator | #D4D4D4 | |
| keyword.other.using | #C586C0 | italic |
| storage.type | #569CD6 | — |
| meta.return-type, support.class, support.type, entity.other.attribute, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #4EC9B0 | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, entity.name.function.operator | #DCDCAA | — |
| constant.language | #569CD6 | italic |
| storage.modifier | #569CD6 | — |
| punctuation.separator, punctuation.terminator, punctuation.section, punctuation.definition.function | #D4D4D4 | — |
| punctuation.definition.string.json | #A6FA62 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| keyword.operator.cast, keyword.operator.sizeof, keyword.operator.typeid | #569CD6 | italic |
| entity.name.tag | #569CD6 | — |
| support.constant.property, keyword.operator.expression | #C586C0 | underline |
| meta.function.definition, meta.body.function.definition, entity.name.type | #55FFAADD | — |
| meta.using-namespace, entity.name.namespace, entity.name.scope-resolution | #4EC9B0 | italic |
| comment | — | |
| entity.name.function.member.static | #55FF00 | |
| variable.other.enummember | #FFF49E | — |
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}!`;
}