Simple Dark
Publisher: travisThemes in package: 4
A minimalist theme suite for focus. Includes Simple Dark & Light Soft (Eye-friendly) modes.
A minimalist theme suite for focus. Includes Simple Dark & Light Soft (Eye-friendly) modes.
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 |
|---|---|---|
| variable | #dddddd | — |
| variable.language | #BD93F9 | — |
| variable.parameter | #FFB86C | — |
| variable.other.constant | #E1FFFF | — |
| variable.scss, variable.other.interpolation.less | #E1FFFF | — |
| entity.name.variable.parameter.cs | #FFB86C | — |
| comment, punctuation.definition.comment | #737373 | — |
| invalid, invalid.illegal | #f4433c | — |
| invalid.deprecated.entity.other.attribute-name | #00bfff | — |
| invalid.deprecated.media | #00E673 | — |
| keyword | #FF69B4 | — |
| keyword.operator.new | — | bold |
| keyword.type.cs | #8BE9FD | — |
| storage | #FF69B4 | — |
| storage.type.cs | #00bfff | — |
| meta.paragraph.markdown, text.html.markdown | #D2D3D9 | — |
| punctuation.definition.heading.markdown | #FF69B4 | — |
| markup.heading.markdown | #00bfff | — |
| punctuation.definition.markdown, markup.fenced_code.block.markdown | #75ABE0 | — |
| punctuation.definition.raw.markdown, markup.inline.raw.string.markdown | #75ABE0 | — |
| markup.underline.link.markdown | #75ABE0 | — |
| meta.link.inline.markdown | #FFB86C | — |
| punctuation.definition.bold.markdown, markup.bold.markdown | #FFB86C | — |
| punctuation.definition.list.begin.markdown, markup.list.unnumbered.markdown | #FFB86C | — |
| punctuation.definition.string.begin.markdown | #FF69B4 | — |
| markup.underline.link.image.markdown | #75ABE0 | — |
| string.other.link.description.markdown | #eefa7a | — |
| constant, constant.numeric | #BD93F9 | — |
| entity.name.type, entity.other.inherited-class, entity.other.attribute-name | #00bfff | — |
| entity.other.attribute-name.pseudo-element | #FF69B4 | — |
| entity.name.tag | #FF69B4 | — |
| entity.name.type.class | #00bfff | — |
| entity.name.namespace.cpp, entity.name.namespace.c | #8BE9FD | — |
| meta.function.parameters, entity.name.function | #00E673 | — |
| meta.toc-list.id.html, meta.attribute-with-value.id | #C3E88D | — |
| meta.tag.block.any | #FF69B4 | — |
| meta.property-value.css | #FF69B4 | — |
| string.quoted.single, string.quoted.double, string.quoted.triple, string.quoted.other, string.template | #C3E88D | — |
| string.regexp | #00E673 | — |
| string.unquoted.attribute-value.css | #BD93F9 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.separator.continuation, punctuation.accessor | #dddddd | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #C3E88D | — |
| string.json, punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end, variable.other.jsdoc | #8BE9FD | — |
| punctuation.definition.entity | #BD93F9 | — |
| punctuation.definition.block.tag.jsdoc, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #FF69B4 | — |
| punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc | #FFB86C | — |
| punctuation.separator.key-value, punctuation.definition.variable, punctuation.definition.keyword, punctuation.definition.entity.css, punctuation.definition.constant.css, punctuation.definition.interpolation, keyword.control.at-rule.import, variable.other.less | #FF69B4 | — |
| punctuation.accessor.optional | #FF69B4 | — |
| punctuation.definition.directive.cpp, punctuation.definition.directive.c | #FF69B4 | — |
| punctuation.definition.string.end.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.metadata.markdown | #FF69B4 | — |
| support.class, support.variable, support.function, support.type, support.constant | #8BE9FD | — |
| support.constant.color.w3c-standard-color-name.css, support.constant.property-value.css | #BD93F9 | — |
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}!`;
}