2024
Publisher: Chrissy LeMaireThemes in package: 1
Based on 1984 unbolded, updated and mixed with Dark Modern.
Based on 1984 unbolded, updated and mixed with Dark Modern.
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 | #525863 | italic |
| string.quoted, string.template, punctuation.definition.string | #DF81FC | — |
| string.template meta.embedded.line | #fcfcfc | — |
| variable, entity.name.variable | #96A1FF | — |
| variable.language, variable.other.object.js | #46BDFF | — |
| variable.parameter | #96A1FF | — |
| storage.type, storage.modifier | #FF16B0 | — |
| constant | #96A1FF | — |
| string.regexp | #96A1FF | — |
| meta.jsx.children.js, meta.property-value.css, text.html.derivative | #fcfcfc | — |
| constant.numeric | #FF16B0 | — |
| constant.language | #96A1FF | — |
| constant.character.escape | #FFFFFF | — |
| entity.name | #46BDFF | — |
| entity.name.tag | #46BDFF | — |
| punctuation.definition.tag | #FFFFFF | — |
| entity.other.attribute-name | #96A1FF | — |
| entity.name.type | #46BDFF | — |
| entity.other.inherited-class | #F2F2F2 | — |
| entity.name.function, variable.function | #fcfcfc | — |
| keyword | #FF16B0 | — |
| keyword.control | #FF16B0 | — |
| keyword.operator | #FF16B0 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical | #FF16B0 | — |
| keyword.other.unit | #96A1FF | — |
| support | #46BDFF | — |
| support.function | #fcfcfc | — |
| support.variable | #96A1FF | — |
| meta.object-literal.key, support.type.property-name | #46BDFF | — |
| variable.other.property.js | #FF16B0 | — |
| punctuation.separator.key-value | #FF16B0 | — |
| punctuation.section.embedded | #FF16B0 | — |
| punctuation.section.embedded | #FFFFFF | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #FF16B0 | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #F2F2F2 | |
| constant.other.color | #FF16B0 | — |
| support.constant.font-name | #96A1FF | — |
| entity.other.attribute-name.id | #FF16B0 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #F2F2F2 | — |
| support.function.misc.css | #FF16B0 | — |
| markup.heading, entity.name.section | #96A1FF | — |
| markup.quote | #FF407B | — |
| beginning.punctuation.definition.list | #96A1FF | — |
| markup.underline.link | #F2F2F2 | — |
| string.other.link.description | #96A1FF | — |
| meta.function-call.generic.python | #fcfcfc | — |
| storage.type.cs | #FF16B0 | — |
| entity.name.variable.local.cs | #96A1FF | — |
| entity.name.variable.field.cs, entity.name.variable.property.cs | #96A1FF | — |
| source.cpp keyword.operator | #FF16B0 | — |
| punctuation.definition.heading.markdown | #96a0ff7c | — |
| punctuation.definition.bold.markdown | #ff16b17a | — |
| punctuation.definition.italic.markdown | #ffffff7e | — |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
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}!`;
}