Outer Heaven Theme
Publisher: VerbessThemes in package: 4
A coloring code theme for Visual Studio Code to making you more comfortable programming.
A coloring code theme for Visual Studio Code to making you more comfortable programming.
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 |
|---|---|---|
| source, comment, constant, entity, invalid, keyword, markup, meta, storage, string, support, variable | #9E9E9E | — |
| comment.line, comment.block, comment.block.documentation, punctuation.definition.comment, string.unquoted.cdata | #6d6875 | italic |
| constant.character, keyword.control, keyword.operator, keyword.other, keyword.preprocessor, meta.preprocessor, meta.return-type, storage.modifier, variable.language, entity.name.variable.preprocessor | #C678DD | — |
| constant.character.escape, constant.language, constant.numeric, constant.regexp, constant.rgb-value, constant.other, support.constant | #E5C07B | — |
| entity.name.class, entity.name.type, keyword.type, meta.class, meta.type, meta.type.annotation, storage.type, support.class, support.type, support.type.property-name | #E5C07B | — |
| entity.name.variable.local, entity.name.variable.field, entity.name.variable.parameter, entity.name.variable.property, entity.name.variable.enum-member, support.variable, variable.name, variable.other, variable.other.readwrite, variable.parameter | #E06C75 | — |
| entity.name.function, entity.name.method, meta.function, meta.function-call, support.function | #61AFEF | — |
| string.quoted, string.unquoted, string.interpolated, string.regexp, string.other | #98C379 | — |
| punctuation | #C678DD | — |
| punctuation.parenthesis | #61AFEF | — |
| punctuation.squarebracket, punctuation.definition | #E5C07B | — |
| punctuation.terminator | #E06C75 | — |
| entity.name.section, entity.name.selector, markup.heading, markup.other, meta.selector | #D9AE94 | bold |
| markup.underline, markup.underline.link | #546E7A | underline |
| markup.bold | #eeef20 | bold |
| markup.italic | #80b918 | italic |
| markup.list, markup.quote | #ff595e | — |
| markup.inline.raw, markup.raw | #a1c181 | — |
| text.html | #9E9E9E | — |
| entity.name.tag, meta.tag | #D9AE94 | — |
| entity.other.inherited-class, entity.other.attribute-name | #6A906F | — |
| punctuation.definition.array.begin.json, punctuation.definition.array.end.json, punctuation.separator.array.json, punctuation.separator.dictionary.key-value.json, punctuation.separator.dictionary.pair.json, punctuation.definition.dictionary.begin.json, punctuation.definition.dictionary.end.json | #CDDC39 | — |
| support.type.property-name.json | #E06C75 | — |
| token.info-token | #9E9E9E | — |
| token.warn-token | #C5E1A5 | — |
| token.error-token | #EF5350 | — |
| token.debug-token | #448AFF | — |
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}!`;
}