Atom Pro Theme
Publisher: CodeAlbThemes in package: 1
A lightweight dark theme for Visual Studio Code
A lightweight dark theme for Visual Studio Code
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 | #656c7c | — |
| punctuation.definition.arguments, punctuation.definition.parameters, punctuation.accessor, constant, keyword.operator.new, support.class, entity.other.alias, variable.language.this, variable.language.this punctuation, source.css keyword.other.unit | #eeb08b | — |
| string | #9bca79 | — |
| keyword.operator.assignment, keyword.operator.class, keyword.operator.key, keyword.operator.string, entity, punctuation, support.type.property-name, source.js punctuation.definition.parameters, support.type.vendored.property-name, meta.property-value, source.css support.constant.property-value, source.css meta.property-value | #acb3c2 | — |
| variable, variable punctuation, entity.name.tag | #db888f | — |
| support, punctuation.definition.storage-type, punctuation.definition.array, source.css entity.name.function, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #66bcd6 | — |
| storage, keyword.operator, keyword.operator.ternary, keyword, source.css keyword.control.at-rule punctuation, punctuation.section.embedded | #cc8eff | — |
| entity.other.attribute-name | #d1af70 | — |
| punctuation.section.array, meta.other.type.phpdoc keyword.other.type | #848c9e | — |
| variable.language.this, meta.other.type.phpdoc keyword.other.type | — | italic |
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}!`;
}