1984
Publisher: juanmnlThemes in package: 6
🎶I'm gonna show you where it's dark, but have no fear 🎶
🎶I'm gonna show you where it's dark, but have no fear 🎶
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 | italic |
| 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 | italic |
| entity.name.type | #46BDFF | — |
| entity.other.inherited-class | #F2F2F2 | — |
| entity.name.function, variable.function | #fcfcfc | — |
| keyword | #FF16B0 | italic |
| keyword.control | #FF16B0 | italic |
| 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 |
| storage.type.interface.ts, storage.type.interface.tsx, storage.type.type.ts, storage.type.type.tsx, storage.type.enum.ts, storage.type.enum.tsx, storage.type.namespace.ts, storage.type.namespace.tsx, storage.type.class.ts, storage.type.class.tsx | #FF16B0 | italic |
| entity.name.type.interface.ts, entity.name.type.interface.tsx, entity.name.type.alias.ts, entity.name.type.alias.tsx, entity.name.type.enum.ts, entity.name.type.enum.tsx | #46BDFF | — |
| meta.type.annotation.ts, meta.type.annotation.tsx, meta.return.type.ts, meta.return.type.tsx | #46BDFF | — |
| support.type.primitive.ts, support.type.primitive.tsx, support.type.builtin.ts, support.type.builtin.tsx | #46BDFF | — |
| keyword.operator.type.ts, keyword.operator.type.tsx, keyword.operator.type.annotation.ts, keyword.operator.type.annotation.tsx | #FF16B0 | — |
| entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust, storage.modifier.lifetime.rust | #DF81FC | italic |
| entity.name.function.macro.rust, support.macro.rust | #46BDFF | — |
| variable.language.self.rust, variable.language.super.rust | #46BDFF | italic |
| entity.name.type.rust, entity.name.type.struct.rust, entity.name.type.enum.rust, entity.name.type.trait.rust, entity.name.type.option.rust, entity.name.type.result.rust | #46BDFF | — |
| support.type.primitive.rust, entity.name.type.primitive.rust | #FF16B0 | — |
| meta.attribute.rust, punctuation.definition.attribute.rust | #96A1FF | — |
| support.class.component.js, support.class.component.jsx, support.class.component.tsx | #46BDFF | — |
| meta.jsx.children, meta.jsx.children.tsx | #fcfcfc | — |
| punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx | #FF16B0 | — |
| meta.decorator, punctuation.decorator | #96A1FF | italic |
| meta.type.parameters, variable.other.type.ts, variable.other.type.tsx | #46BDFF | — |
| entity.name.package.go, entity.name.import.go | #96A1FF | — |
| support.type.property-name.json | #46BDFF | — |
| entity.name.tag.yaml | #46BDFF | — |
| support.type.property-name.toml, entity.name.table.toml | #46BDFF | — |
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}!`;
}