Core Theme
Publisher: miqhThemes in package: 1
Minimal environment aesthetics for maximum focus.
Minimal environment aesthetics for maximum focus.
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 |
|---|---|---|
| keyword.control.directive.fsharp, keyword.control.ternary, keyword.operator.logical.rust, source.css constant.numeric, source.css storage.modifier, source.css string.quoted, source.go keyword.operator, source.java storage.type, source.json constant.numeric, source.json string.quoted, source.yaml constant.language.boolean, source.yaml constant.language.null, source.yaml constant.numeric, source.yaml keyword.control, source.yaml storage.type, source.yaml string.quoted, storage.modifier.import.java, storage.modifier.package.java, storage.type.function.arrow, string.quoted.single.fsharp | #c0c0c0 | — |
| constant.language.bool, constant.language.boolean, constant.language.infinity, constant.language.nan, constant.language.null, constant.language.python, constant.language.undefined, constant.numeric, constant.numeric entity.name.type.numeric.rust, constant.numeric storage.type, markup.inline.raw, markup.quote.markdown, punctuation.definition.list.begin.markdown, source.css variable, source.go keyword.other.unit, storage.type.string.python, string.quoted, string.regexp, string.regexp keyword.control, string.regexp.quoted | #a0a0a0 | — |
| entity.name.type.numeric.rust, entity.name.type.primitive.rust, keyword.control, keyword.fsharp, keyword.operator.expression, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.new, keyword.other.fn, keyword.other.import, keyword.other.package, keyword.other.rust, keyword.type, markup.underline.link.markdown, source.cs keyword.other.directive, source.go keyword, source.sql keyword.other, storage.modifier, storage.type, storage.type.local, storage.type.primitive, support.type.builtin, support.type.primitive, variable.language.super, variable.language.this | #808080 | — |
| comment, comment storage.type, comment string.quoted, string.other.link.description.title.markdown | #444444 | — |
| markup.bold.markdown, markup.heading.markdown, markup.list.numbered.markdown punctuation, markup.list.unnumbered.markdown punctuation, meta.separator.markdown | — | bold |
| markup.italic.markdown | — | italic |
| markup.strikethrough.markdown | — | strikethrough |
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}!`;
}