MyasNick's Nexus Color Theme
Publisher: MyasNickThemes in package: 1
MyasNick's Nexus Visual Studio Code color theme based on Nexus Sublime Text theme by Mark H. Morrison
MyasNick's Nexus Visual Studio Code color theme based on Nexus Sublime Text theme by Mark H. Morrison
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 |
|---|---|---|
| — | #E6E1DC | — |
| markup.deleted.git_gutter | #F92672 | — |
| markup.inserted.git_gutter | #A6E22E | — |
| markup.changed.git_gutter | #967EFB | — |
| markup.ignored.git_gutter | #565656 | — |
| markup.untracked.git_gutter | #565656 | — |
| source | — | — |
| comment | #BC9458 | — |
| keyword, storage | #CC7833 | |
| entity.name.function, keyword.other.name-of-parameter.objc | #FFC66D | |
| entity.name | #D0D0FF | — |
| constant.numeric | #A5C261 | |
| variable.language, variable.other | #D0D0FF | |
| constant | #6D9CBE | |
| variable.other.constant | #DA4939 | — |
| constant.language | #6E9CBE | |
| string | #A5C261 | |
| support.function | #DA4939 | |
| support.type | #6E9CBE | — |
| support.constant | #A5C261 | — |
| meta.tag, declaration.tag, entity.name.tag, entity.other.attribute-name | #E8BF6A | |
| invalid | #FFFFFF | — |
| constant.character.escaped, constant.character.escape, string source, string source.ruby | #519F50 | |
| markup.inserted | #E6E1DC | — |
| markup.deleted | #E6E1DC | — |
| meta.diff.header, meta.separator.diff, meta.diff.index, meta.diff.range | — | — |
| text.html.markdown meta.dummy.line-break | #E0EDDD | — |
| text.html.markdown markup.raw.inline | #269186 | — |
| punctuation.definition.raw.markdown | #269186 | — |
| markup.heading | #cb4b16 | bold |
| markup.italic | #839496 | italic |
| markup.bold | #586e75 | bold |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #586E75 | — |
| markup.underline | #839496 | underline |
| markup.underline.link, markup.link, markup.url | #6D9CBE | underline |
| string.other.link | #586E75 | — |
| url, link, variable.parameter.link, variable.parameter.url, variable.link, variable.url, meta.link, meta.paragraph.inline.link.underline.detected-link | #586E75 | — |
| markup.quote | #BC9458 | — |
| meta.separator | #586E75 | — |
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}!`;
}