NotepadPlusPlus Remixed Theme
Publisher: sh4dowThemes in package: 1
This is not an exact replica of the Notepad++ default theme. JS/HTML/Python colors were used as a base but were partly combined and modified a bit.
This is not an exact replica of the Notepad++ default theme. JS/HTML/Python colors were used as a base but were partly combined and modified a bit.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #000000 | — |
| comment | #008000 | — |
| string | #E68C32 | — |
| constant.numeric | #FF0000 | — |
| constant.language | #000080 | italic |
| constant.language | #000080 | bold |
| constant.character, constant.other | #000000 | — |
| variable | — | |
| keyword | #0000FF | bold |
| storage.type | #0000FF | bold |
| entity.name.tag | #0000FF | — |
| entity.other.attribute-name.html | #FF0000 | — |
| string.quoted.double.html, string.quoted.single.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #8000FF | — |
| entity.other.attribute-name.class.css | #FF0000 | — |
| entity.other.attribute-name.id.css | #0080FF | bold |
| entity.other.attribute-name.pseudo-element.css | #FF8000 | bold |
| meta.property-name.css | #8080C0 | bold |
| meta.property-value.css, constant.numeric.css, constant.other.color.rgb-value.css, support.constant.property-value.css, support.constant.font-name.css | #000000 | bold |
| keyword.other.important.css | #FF0000 | bold |
| source.ruby.embedded.html | — | — |
| punctuation.section.embedded.ruby | — | — |
| entity.name.function | #FF00FF | — |
| keyword.operator | #000000 | — |
| entity.name.type.class | — | bold |
| keyword.operator.new | #0000FF | bold |
| storage.modifier | — | bold |
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}!`;
}