Overthinking
Publisher: Sebastian CivaroloThemes in package: 1
A dark theme with saturated colors.
A dark theme with saturated colors.
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 | #777777 | italic |
| string | #00bbaa | — |
| constant.numeric | #ce1836 | — |
| constant.language | #00bbaa | — |
| constant.character, constant.other | #00bbaa | — |
| variable | — | |
| keyword | #f7c53c | — |
| storage | #00bbaa | |
| storage.type | #fa5555 | italic |
| entity.name.type.class | #e3e2e0 | bold underline |
| entity.other.inherited-class | #00bbaa | underline |
| entity.name.function | #c3cb4c | — |
| meta.definition, entity.name.function.python | — | bold |
| variable.language, variable.parameter.function.language.special | #a7a7a7 | italic |
| variable.parameter | #f7b83d | italic |
| entity.name.tag | #fa5555 | |
| entity.other.attribute-name | #f7b83d | |
| support.function | #f86844 | — |
| support.constant | #00bbaa | |
| support.class | #00bbaa | bold |
| support.other.variable | — | |
| invalid | #cf433e | |
| invalid.deprecated | #cf433e | — |
| meta.diff, meta.diff.header | #777777 | — |
| markup.deleted | #e61f44 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #f7b83d | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #9d9d9d | — |
| keyword.operator | — | |
| keyword.operator.assignment | #cf433e | — |
| meta.property-value, support.constant.property-value, constant.other.color | #00bbaa | — |
| meta.property-name support.type.property-name | — | |
| meta.property-value punctuation.separator.key-value | #e3e2e0 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #fa5555 | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #fa5555 | |
| variable.other | #e3e2e0 | |
| variable.other.object.property | — | italic |
| meta.template.expression | #e3e2e0 | — |
| entity.other.attribute-name.pseudo-class | #9f79aa | italic |
| keyword.control.at-rule | #ff4e50 | bold |
| entity.other.attribute-name.id.css | #c3cb4c | — |
| support.class.component | #fa5555 | bold |
| meta.export.default | — | italic |
| storage.modifier.js | — | italic |
| string.quoted.docstring.multi.python | #777777 | — |
| meta.fstring | — | italic |
| support.function.magic.python | — | bold |
| meta.function-call.generic.python | #c3cb4c | — |
| support.type.exception | #ff4e50 | — |
| entity.name.function.decorator | #9f79aa | italic |
| storage.type.templatetag.django, storage.type.variable.django | #9f79aa | — |
| keyword.control.tag-name.django | #9f79aa | — |
| entity.name.section.markdown | #00bbaa | — |
| punctuation.definition.heading.markdown | #f7c53c | — |
| markup.raw.inline.markdown | #00bbaa | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #f7c53c | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #f7c53c | — |
| punctuation.definition.metadata.markdown | #f7c53c | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #fa5555 | |
| markup.bold.markdown, markup.italic.markdown | #fa5555 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| markup.raw.block.markdown | #664e4d | — |
| meta.structure.dictionary.json string.quoted.double.json | #00bbaa | — |
| meta.structure.dictionary.json string.quoted.double.json | #00bbaa | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #00bbaa | — |
| support.type.property-name.json | #f7c53c | — |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #e3e2e0 | — |
| storage.modifier.sql | #f7c53c | — |
| markup.deleted.git_gutter | #e61f44 | — |
| markup.inserted.git_gutter | #a7da1e | — |
| markup.changed.git_gutter | #f7b83d | — |
| variable.parameter.function.coffee | #ce1836 |
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}!`;
}