Inquisitively Dark Theme
Publisher: jamesReevesCodesThemes in package: 1
The dark theme that is used on the https://www.inquisitively.io website.
The dark theme that is used on the https://www.inquisitively.io website.
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 |
|---|---|---|
| — | #cccccc | — |
| comment | #916EBE | italic |
| string | #2b5797 | — |
| constant.numeric | #A539B4 | — |
| constant.language | #A539B4 | — |
| constant.character, constant.other | #A539B4 | — |
| variable.language | — | bold italic |
| keyword | #00B16A | bold |
| storage | #00B16A | |
| storage.type | #00B16A | italic bold |
| entity.name.class | #00aba9 | bold |
| entity.other.inherited-class | #BD3B6F | italic |
| entity.name.function | #ffffff | bold |
| variable.parameter.function | #38D6D4 | italic |
| entity.name.tag | #7e3878 | |
| entity.other.attribute-name | #00B16A | |
| support.function | #eff4ff | italic |
| support.constant | #ffffff | bold |
| support.type, support.class | #ffffff | italic bold |
| support.other.variable | — | |
| invalid | #f8f8f0 | |
| invalid.deprecated | #f8f8f0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #3790DE | — |
| meta.diff, meta.diff.header | #eff4ff | — |
| markup.deleted | #b91d47 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #798796 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #ffffff | — |
| meta.structure.dictionary.json string.quoted.double.json | #2E6FD9 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #2b5797 | — |
| meta.property-name support.type.property-name | — | normal |
| meta.property-value punctuation.separator.key-value | #CAD9E3 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit | #ffffff | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #CAD9E3 | normal |
| variable.other | normal |
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}!`;
}