Base16 Eighties
Publisher: bsidesThemes in package: 2
Base16 Eighties theme, generated by the base16-builder tool.
Base16 Eighties theme, generated by the base16-builder tool.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #d3d0c8 | — |
| variable.parameter.function | #d3d0c8 | — |
| comment, punctuation.definition.comment | #747369 | — |
| punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array | #d3d0c8 | — |
| none | #d3d0c8 | — |
| keyword.operator | #d3d0c8 | — |
| keyword | #cc99cc | — |
| variable | #f2777a | — |
| entity.name.function, meta.require, support.function.any-method | #6699cc | — |
| support.class, entity.name.class, entity.name.type.class | #ffcc66 | — |
| meta.class | #f2f0ec | — |
| keyword.other.special-method | #6699cc | — |
| storage | #cc99cc | — |
| support.function | #66cccc | — |
| string, constant.other.symbol, entity.other.inherited-class | #99cc99 | — |
| constant.numeric | #f99157 | — |
| none | #f99157 | — |
| none | #f99157 | — |
| constant | #f99157 | — |
| entity.name.tag | #f2777a | — |
| entity.other.attribute-name | #f99157 | — |
| entity.other.attribute-name.id, punctuation.definition.entity | #6699cc | — |
| meta.selector | #cc99cc | — |
| none | #f99157 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #6699cc | |
| keyword.other.unit | #f99157 | — |
| markup.bold, punctuation.definition.bold | #ffcc66 | bold |
| markup.italic, punctuation.definition.italic | #cc99cc | italic |
| markup.raw.inline | #99cc99 | — |
| string.other.link, punctuation.definition.string.end.markdown | #f2777a | — |
| meta.link | #f99157 | — |
| markup.list | #f2777a | — |
| markup.quote | #f99157 | — |
| meta.separator | #d3d0c8 | — |
| markup.inserted | #99cc99 | — |
| markup.deleted | #f2777a | — |
| markup.changed | #cc99cc | — |
| constant.other.color | #66cccc | — |
| string.regexp | #66cccc | — |
| constant.character.escape | #66cccc | — |
| punctuation.section.embedded, variable.interpolation | #d27b53 | — |
| invalid.illegal | #f2f0ec | — |
| invalid.broken | #2d2d2d | — |
| invalid.deprecated | #f2f0ec | — |
| invalid.unimplemented | #f2f0ec | — |
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}!`;
}