Harmonic16 light Theme
Publisher: cottoThemes in package: 1
Theme base on base-16-harmonic16 light
Theme base on base-16-harmonic16 light
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #405C79 | — |
| comment, punctuation.definition.comment | #AABCCE | italic |
| comment.block.preprocessor | #AABCCE | |
| comment.documentation, comment.block.documentation | #AABCCE | — |
| invalid.deprecated | #F7F9FB | — |
| invalid.illegal | #F7F9FB | — |
| keyword, storage | #BF568B | — |
| keyword.operator | #405C79 | — |
| storage.type, support.type | #BF568B | — |
| constant.language, support.constant | #BF8B56 | — |
| variable.parameter | #BF8B56 | — |
| variable.other.member | #BF8B56 | — |
| support.variable | #8B56BF | — |
| variable.language | #BFBF56 | — |
| entity.name.function, support.function | #8B56BF | — |
| entity.name.type, entity.other.inherited-class, support.class | #568BBF | — |
| entity.name.exception | #568BBF | — |
| entity.name.section | #BF568B | bold |
| constant.numeric, constant.character, constant | #BF8B56 | — |
| string, constant.other.symbol, entity.other.inherited-class | #56BF8B | — |
| constant.character.escape | #568BBF | — |
| string.regexp | #568BBF | — |
| constant.other.symbol | #56BF8B | — |
| punctuation | #405C79 | — |
| string source, text source | #BF5656 | — |
| ----------------------------------- | — | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #AABCCE | — |
| entity.name.tag | #BF8B56 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #BFBF56 | italic |
| constant.character.entity, punctuation.definition.entity | #8B56BF | — |
| ----------------------------------- | — | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css, entity.name.tag.scss | #BF568B | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.css | #8B56BF | italic |
| meta.property-name, support.type.property-name | #BF8B56 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #405C79 | — |
| keyword.other.important | — | bold |
| ----------------------------------- | — | — |
| markup.changed | #000000 | — |
| markup.deleted | #000000 | — |
| markup.italic | — | italic |
| markup.error | #660000 | — |
| markup.inserted | #000000 | — |
| meta.link | #4B83CD | — |
| markup.output, markup.raw | #777777 | — |
| markup.prompt | #777777 | — |
| markup.heading | #AA3731 | — |
| markup.bold | — | bold |
| markup.traceback | #660000 | — |
| markup.underline | — | underline |
| markup.quote | #8B56BF | — |
| markup.list | #4B83CD | — |
| markup.bold, markup.italic | #448C27 | — |
| markup.inline.raw | #AB6526 | |
| ----------------------------------- | — | — |
| 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}!`;
}