Amphirion theme(dark)
Publisher: styfrombrestThemes in package: 1
Dark syntax theme extension for Visual Studio Code inspired by Darcula theme from Jetbrains IDE.
Dark syntax theme extension for Visual Studio Code inspired by Darcula theme from Jetbrains IDE.
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 |
|---|---|---|
| — | #dcdcdcff | — |
| comment | #808080 | |
| variable | #A9B7C6 | |
| variable.language | #CC7832 | bold |
| keyword.control, storage.modifier | #CC7832 | bold |
| keyword.operator.comparison | #DCDCDC | — |
| keyword.operator.assignment | #DCDCDC | — |
| keyword.operator.arithmetic | #DCDCDC | — |
| constant.numeric | #5074BB | bold |
| support.constant, constant | #B4CEA8 | |
| constant.language | #CC7832 | bold |
| constant.language.boolean | #CC7832 | bold |
| string | #95E454 | |
| constant.character.escape, string source | #E3BBAB | |
| entity.name.function, keyword.other.name-of-parameter.objc | #FFC66D | |
| entity.name.type | #4EC9B0 | |
| storage.type | #CC7832 | bold |
| entity.other.inherited-class | #4EC9B0 | — |
| variable.parameter | — | — |
| storage.type.method | #70727E | — |
| entity.name.type | #FFF | — |
| entity.other.inherited-class | #DCDCDC | italic |
| support.variable | #6796e6 | |
| support.function | #569CD6 | — |
| support.type | #8AC6F2 | |
| keyword.operator.js | #687687 | bold |
| invalid | #ff3333 | — |
| invalid.illegal | — | — |
| invalid.deprecated.trailing-whitespace | — | — |
| text source, string.unquoted | — | — |
| meta.xml-processing, declaration.xml-processing | #68685B | |
| meta.doctype, declaration.doctype | #808080 | |
| meta.doctype.DTD, declaration.doctype.DTD | #808080 | — |
| meta.tag, declaration.tag | #FFF | |
| punctuation.definition.tag | #808080 | — |
| meta.block | — | |
| entity.name.tag | #E8BF6A | — |
| entity.other.attribute-name | #92CAF4 | |
| string.quoted.double.xml, string.quoted.double.html | #C8C8C8 | |
| markup.heading | #569CD6 | — |
| markup.quote | #DCDCDC | |
| markup.list | #DCDCDC | — |
| meta.selector.css entity.name.tag | #D7BA7D | — |
| meta.selector.css entity.other.attribute-name.tag.pseudo-class | #D7BA7D | — |
| meta.selector.css entity.other.attribute-name.id | #D7BA7D | — |
| meta.selector.css entity.other.attribute-name.class | #D7BA7D | — |
| support.type.property-name.css | #9CDCFE | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #C8C8C8 | — |
| meta.preprocessor.at-rule keyword.control.at-rule | #87CEFA | — |
| markup.deleted.git_gutter | #F92672 | — |
| markup.inserted.git_gutter | #A6E22E | — |
| markup.changed.git_gutter | #967EFB | — |
| markup.ignored.git_gutter | #565656 | — |
| markup.untracked.git_gutter | #565656 | — |
| git.changes.x | — | — |
| git.changes.+ | — | — |
| git.changes.- | — | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| source.vue string.quoted.double.html | #838d99 | |
| source.vue text.html.vue-html - string.quoted.double.html | #fff | |
| source.vue entity.name.tag.inline.any.html, source.vue entity.name.tag.block.any.html | #E8BF6A | italic |
| source.vue | #FFF | — |
| source.vue meta.directive.vue variable.other.readwrite.js | #6796e6 | — |
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}!`;
}