Aqua Theme
Publisher: kimulacoThemes in package: 4
Color theme converted from Aqua Theme for Visual Studio Code.
Color theme converted from Aqua 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 |
|---|---|---|
| — | #000000 | — |
| comment, comment punctuation | #ADADAD | |
| comment.block.preprocessor | #ADADAD | |
| comment.documentation, comment.block.documentation | #BC670F | |
| invalid.deprecated | — | italic underline |
| invalid.illegal | #000000 | |
| keyword.operator | #626FC9 | |
| keyword, storage | #61862F | |
| storage.type, support.type | #6700B9 | |
| constant.language, support.constant, variable.language | #7653C1 | |
| variable, support.variable | #4C8FC7 | |
| variable punctuation | #4C8FC7 | |
| entity.name.function, support.function, entity | #61862F | |
| entity.name.type, entity.other.inherited-class, support.class | #3A1D72 | |
| entity.name.exception | #F93232 | — |
| entity.name.section | — | |
| constant.numeric, constant | #7653C1 | |
| punctuation | #000000 | |
| constant.character, string | #BC670F | |
| string punctuation | #E69A4C | |
| constant.character.escape | — | bold |
| string.regexp | #699D36 | |
| constant.other.symbol | — | bold |
| string source, text source | #434343 | |
| ----------------------------------- | — | |
| meta.tag.sgml.doctype | #7F7F7F | |
| entity.name.tag | #2F6F9F | |
| meta.tag string punctuation | #5FAFEF | |
| punctuation.definition.tag | #4F9FCF | |
| constant.character.entity | #000000 | |
| entity.other.attribute-name | #4F9FCF | |
| meta.tag string.quoted, meta.tag string.quoted constant.character.entity | #D44950 | |
| ----------------------------------- | — | |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #3A77BF | |
| meta.property-name, support.type.property-name | #D4430D | — |
| meta.property-value constant.numeric, meta.property-value constant, meta.property-value keyword | #43A202 | |
| ----------------------------------- | — | — |
| markup.changed | #000000 | |
| markup.deleted | #000000 | — |
| markup.italic | — | italic |
| markup.error | #F9F2CE | |
| markup.inserted | #000000 | |
| markup.output, markup.raw | #7F7F7F | — |
| markup.prompt | #555555 | — |
| markup.heading | — | bold |
| markup.bold | — | bold |
| markup.traceback | #F93232 | — |
| markup.underline | — | underline |
| ----------------------------------- | — | — |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
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}!`;
}