Base16 Tomorrow Dark+
Publisher: Emily CurryThemes in package: 1
A base16 color theme styled to look like Atom's base16-tomorrow-dark-theme
A base16 color theme styled to look like Atom's base16-tomorrow-dark-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 |
|---|---|---|
| meta.class | #c5c8c6 | — |
| variable.parameter.function | #c5c8c6 | — |
| comment, punctuation.definition.comment | #969896 | italic |
| punctuation.definition.variable, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.block, punctuation.separator, punctuation.accessor, meta.template.expression, meta.array.literal, storage.type.function.arrow | #c5c8c6 | — |
| none | #c5c8c6 | — |
| keyword.operator | #c5c8c6 | — |
| keyword | #b294bb | — |
| meta.decorator | #c5c8c6 | — |
| variable, support.variable, support.type.property-name, entity.name.variable | #cc6666 | — |
| meta.object-literal.key | #c5c8c6 | — |
| support.class, entity.name.class, entity.name.type.class | #f0c674 | — |
| entity.name.type, storage.type.cs | #f0c674 | — |
| support.constant | #f0c674 | — |
| support.type.primitive, support.type.builtin, keyword.type | #c5c8c6 | — |
| meta.definition.method | #c5c8c6 | — |
| meta.function-call, meta.require, variable.language.super, keyword.other.special-method, entity.name.function | #81a2be | — |
| storage | #b294bb | — |
| support.function | #8abeb7 | — |
| string, punctuation.definition.string, constant.other.symbol, entity.other.inherited-class | #b5bd68 | — |
| constant.numeric | #de935f | — |
| none | #de935f | — |
| none | #de935f | — |
| constant | #de935f | — |
| entity.other.attribute-name | #de935f | italic |
| entity.name.tag | #cc6666 | — |
| entity.other.attribute-name.id | #81a2be | — |
| meta.selector | #b294bb | — |
| none | #de935f | — |
| support.type.property-name.css | #c5c8c6 | — |
| support.constant.property-value.css | #de935f | — |
| markup.heading punctuation.definition.heading, entity.name.section | #cc6666 | |
| keyword.other.unit | #de935f | — |
| punctuation.definition.bold | — | bold |
| markup.bold | #de935f | bold |
| punctuation.definition.italic | — | italic |
| markup.italic | #b294bb | italic |
| markup.inline.raw, markup.fenced_code.block | #b5bd68 | — |
| meta.link, string.other.link | #81a2be | — |
| string.other.link.title | #8abeb7 | — |
| beginning.punctuation.definition.list | #cc6666 | — |
| markup.quote | #969896 | — |
| meta.separator | #c5c8c6 | — |
| markup.inserted | #b5bd68 | — |
| markup.deleted | #cc6666 | — |
| markup.changed | #b294bb | — |
| constant.other.color | #8abeb7 | — |
| string.regexp | #8abeb7 | — |
| constant.character.escape | #8abeb7 | — |
| punctuation.section.embedded, variable.interpolation | #a3685a | — |
| invalid.illegal | #ffffff | — |
| invalid.broken | #1d1f21 | — |
| invalid.deprecated | #ffffff | — |
| invalid.unimplemented | #ffffff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}