Hop Light with Italics
Publisher: gitKendraThemes in package: 1
This VSCode theme merges the colors from Hop Light Theme with the font styles (italic, bold, and underline) of Tomorrow and Tomorrow Night Operator Mono Theme
This VSCode theme merges the colors from Hop Light Theme with the font styles (italic, bold, and underline) of Tomorrow and Tomorrow Night Operator Mono Theme
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 |
|---|---|---|
| emphasis, storage, comment, entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.tag.jade, entity.other.attribute-name.tag.pug, markup.italic, keyword.control, variable.language | — | italic |
| strong, markup.bold, markup.heading | — | bold |
| markup.underline | — | underline |
| comment | #96928F | — |
| keyword.operator | #398BC9 | — |
| string | #BD7111 | — |
| constant.numeric | #398BC9 | — |
| support.constant, constant.language | #A5319C | — |
| variable.other.constant.property, constant.character, constant.other | #398BC9 | — |
| variable | #333333 | — |
| variable.language.this | #398BC9 | — |
| keyword | #7B1FA2 | — |
| storage | #AF33A6 | — |
| storage.type | #7B1FA2 | — |
| storage.type.class.jsdoc | #8A8A8A | — |
| entity.name.class | #82776C | — |
| comment.entity.name.class | #8C7C76 | — |
| variable.other.jsdoc | #8A8A8A | — |
| comment.block.documentation | — | — |
| entity.other.inherited-class | #CB4718 | — |
| entity.name.function | #3F831E | — |
| comment.entity.name.function | #6C7B65 | — |
| variable.parameter | #398BC9 | — |
| support.function | #398BC9 | — |
| support.constant | #398BC9 | — |
| support.class | #4E94CE | — |
| support.type | #3F831E | — |
| support.other.variable | #CB4718 | — |
| invalid | #FF5722 | — |
| invalid.deprecated | #FF8A65 | — |
| markup.heading | #CB4718 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end, entity.name.tag | #398BC9 | — |
| entity.other.attribute-name | #AF33A6 | — |
| string.quoted.single.html, string.quoted.double.html, string.html | #3F831E | — |
| meta.selector.css, entity.other.attribute-name.id | #AF33A6 | — |
| storage.modifier.ts | #C07F00 | — |
| cast.expr.ts | #398BC9 | — |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
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}!`;
}