Colorized Theme (1/3)
Publisher: 6o8Themes in package: 50
50 matched colorized themes (25 light/25 dark) based off the GitHub.com code palettes.
50 matched colorized themes (25 light/25 dark) based off the GitHub.com code palettes.
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 |
|---|---|---|
| comment, punctuation.definition.comment, string.comment | #768390 | — |
| constant.other.placeholder, constant.character | #f47067 | — |
| constant, entity.name.constant, variable.other.constant, variable.other.enummember, variable.language, entity | #6cb6ff | — |
| entity.name, meta.export.default, meta.definition.variable | #f9ac60 | — |
| variable.parameter.function, meta.jsx.children, meta.block, meta.tag.attributes, entity.name.constant, meta.object.member, meta.embedded.expression | #adbac7 | — |
| entity.name.function | #dcbdfb | — |
| entity.name.tag, support.class.component | #8ddb8c | — |
| keyword | #f47067 | — |
| storage, storage.type | #f47067 | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #adbac7 | — |
| string, string punctuation.section.embedded source | #96d0ff | — |
| support | #6cb6ff | — |
| meta.property-name | #6cb6ff | — |
| variable | #f9ac60 | — |
| variable.other | #adbac7 | — |
| invalid.broken | #ff938a | italic |
| invalid.deprecated | #ff938a | italic |
| invalid.illegal | #ff938a | italic |
| invalid.unimplemented | #ff938a | italic |
| carriage-return | #cdd9e5 | italic underline |
| message.error | #ff938a | — |
| string variable | #6cb6ff | — |
| source.regexp, string.regexp | #96d0ff | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #96d0ff | — |
| string.regexp constant.character.escape | #8ddb8c | bold |
| support.constant | #6cb6ff | — |
| support.variable | #6cb6ff | — |
| support.type.property-name.json | #8ddb8c | — |
| meta.module-reference | #6cb6ff | — |
| punctuation.definition.list.begin.markdown | #f9ac60 | — |
| heading.1.markdown, markup.heading.1.markdown, markup.heading.1.markdown entity.name | #FF6B6B | bold |
| heading.2.markdown, markup.heading.2.markdown, markup.heading.2.markdown entity.name | #FFB347 | bold |
| heading.3.markdown, markup.heading.3.markdown, markup.heading.3.markdown entity.name | #77DD77 | bold |
| heading.4.markdown, markup.heading.4.markdown, markup.heading.4.markdown entity.name | #87CEEB | bold |
| heading.5.markdown, markup.heading.5.markdown, markup.heading.5.markdown entity.name | #DDA0DD | bold |
| heading.6.markdown, markup.heading.6.markdown, markup.heading.6.markdown entity.name | #B39EB5 | bold |
| markup.heading, markup.heading entity.name | #6cb6ff | bold |
| punctuation.definition.bold.markdown, punctuation.separator.table.markdown, punctuation.definition.table.markdown | #636e7b | bold |
| markup.quote | #8ddb8c | — |
| markup.italic | #adbac7 | italic |
| markup.bold | #adbac7 | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #6cb6ff | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #ff938a | — |
| punctuation.section.embedded | #f47067 | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #8ddb8c | — |
| markup.changed, punctuation.definition.changed | #f9ac60 | — |
| markup.ignored, markup.untracked | #2d333b | — |
| meta.diff.range | #dcbdfb | bold |
| meta.diff.header | #6cb6ff | — |
| meta.separator | #6cb6ff | bold |
| meta.output | #6cb6ff | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #768390 | — |
| brackethighlighter.unmatched | #ff938a | — |
| constant.other.reference.link, string.other.link | #96d0ff | — |
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}!`;
}