10xDev Theme
Publisher: TanerThemes in package: 1
For aspiring Developers who like cyberpunk colors but also don't want them to be distracting.
For aspiring Developers who like cyberpunk colors but also don't want them to be distracting.
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 | #BBBBBB4D | italic |
| constant | #F09483E6 | — |
| constant.character.escape | #27ddeee6 | — |
| entity.name | #f8cd4de6 | — |
| entity.name.function | #38e4f3e6 | — |
| entity.name.tag | #E95678E6 | bold |
| entity.name.type, storage.type.cs | #f3d489e5 | — |
| entity.other.attribute-name | #F09483E6 | bold |
| entity.other.inherited-class | #fa8951f3 | — |
| entity.other.attribute-name.id | #27ddeee6 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #fa8951f3 | — |
| entity.name.variable, variable | #E95678E6 | — |
| keyword | #B877DBE6 | bold |
| keyword.operator | #BBBBBB | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete | #B877DBE6 | — |
| keyword.other.unit | #F09483E6 | — |
| markup.quote | #FAB795B3 | italic |
| markup.heading, entity.name.section | #E95678E6 | — |
| markup.bold | #B877DBE6 | bold |
| markup.italic | #27ddeee6 | italic |
| markup.inline.raw, markup.fenced_code.block | #F09483E6 | — |
| markup.underline.link | #fa8951f3 | — |
| storage | #B877DBE6 | bold |
| string.quoted, string.template | #fa8951f3 | — |
| string.regexp | #F09483E6 | — |
| string.other.link | #F09483E6 | — |
| support | #f3d489e5 | — |
| support.function | #27ddeee6 | — |
| support.variable | #E95678E6 | — |
| support.type.property-name, meta.object-literal.key | #E95678E6 | — |
| support.type.property-name.css | #BBBBBB | — |
| variable.language | #f3d489e5 | italic |
| variable.parameter | — | italic |
| string.template meta.embedded | #BBBBBB | — |
| punctuation.definition.tag | #E95678B3 | bold |
| punctuation.separator | #BBBBBB | — |
| punctuation.definition.template-expression, punctuation.quasi.element | #B877DBE6 | — |
| punctuation.section.embedded | #B877DBE6 | — |
| punctuation.definition.list | #F09483E6 | — |
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}!`;
}