Atom One Cyan
Publisher: kq996Themes in package: 2
A beautiful Atom One theme with cyan accents for Visual Studio Code
A beautiful Atom One theme with cyan accents 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 | #5c6370 | italic |
| keyword, storage.type, storage.modifier | #c792ea | — |
| string, punctuation.definition.string | #98c379 | — |
| constant.numeric | #d19a66 | — |
| constant.language.boolean | #d19a66 | — |
| constant.language.null | #d19a66 | — |
| constant.language.undefined | #d19a66 | — |
| variable, support.variable | #e06c75 | — |
| variable.parameter | #97b1be | — |
| entity.name.function, support.function | #61afef | — |
| entity.name.class, support.class, entity.name.type | #e5c07b | — |
| entity.name.function.member | #61afef | — |
| variable.other.property, support.variable.property | #e06c75 | — |
| keyword.operator | #c678dd | — |
| punctuation | #abb2bf | — |
| entity.name.tag | #61afef | — |
| entity.other.attribute-name | #d19a66 | — |
| support.type.property-name.css | #abb2bf | — |
| support.constant.property-value.css, constant.other.color.rgb-value.css | #d19a66 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #61afef | — |
| support.type.property-name.json | #61afef | — |
| string.quoted.double.json | #98c379 | — |
| markup.heading | #61afef | — |
| markup.bold | #d19a66 | — |
| markup.italic | #c678dd | italic |
| markup.inline.raw, markup.fenced_code | #98c379 | — |
| markup.underline.link | #61afef | underline |
| invalid, invalid.illegal | #e06c75 | — |
| invalid.deprecated | #d19a66 | — |
| constant, support.constant | #d19a66 | — |
| support | #c678dd | — |
| support.function | #61afef | — |
| support.class | #e5c07b | — |
| entity.name.namespace, entity.name.scope-resolution | #56b6c2 | — |
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}!`;
}