MS-DOS Theme
Publisher: hfacThemes in package: 1
A theme for the ones of us that are still missing good old MS-DOS
A theme for the ones of us that are still missing good old MS-DOS
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 |
|---|---|---|
| Function name | #ff0000 | — |
| Global settings | #FFFFFF | — |
| string | #4efff8 | — |
| constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html | #75ffff | — |
| constant.language.boolean | #FFFFFF | — |
| constant.numeric | #FF5555 | — |
| variable, support.variable, support.class, support.constant, meta.definition.variable entity.name.function | #ffffff | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #FFFFFF | — |
| entity.name.function, support.function | #FF5555 | — |
| storage.type, storage.modifier | #FFFFFF | — |
| support.module, support.node | #ffffff | italic |
| support.type | #6eff40 | — |
| entity.name.type, entity.other.inherited-class | #6eff40 | — |
| comment | #cbcbcb | italic |
| entity.name.type.class | #6eff40 | underline |
| variable.object.property, meta.field.declaration entity.name.function | #6eff40 | — |
| meta.definition.method entity.name.function | #6eff40 | — |
| meta.function entity.name.function | #6eff40 | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #FFFFFF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #FFFFFF | — |
| entity.name.tag.yaml | #ffffff | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #ffffff | — |
| constant.language.json | #FFFFFF | — |
| entity.other.attribute-name.class | #FFFFFF | — |
| entity.other.attribute-name.id | #4efff8 | — |
| source.css entity.name.tag | #6eff40 | — |
| meta.tag, punctuation.definition.tag | #FFFFFF | — |
| entity.name.tag | #ffffff | — |
| entity.other.attribute-name | #FF5555 | — |
| markup.heading | #FFFFFF | — |
| text.html.markdown meta.link.inline, meta.link.reference | #ffffff | — |
| text.html.markdown beginning.punctuation.definition.list | #FFFFFF | — |
| markup.italic | #ffffff | italic |
| markup.bold | #ffffff | bold |
| markup.bold markup.italic, markup.italic markup.bold | #ffffff | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #4efff8 | — |
| markup.inline.raw.string.markdown | #4efff8 | — |
| keyword.other.definition.ini | #ffffff | — |
| entity.name.section.group-title.ini | #FFFFFF | — |
| source.cs meta.class.identifier storage.type | #6eff40 | underline |
| source.cs meta.method.identifier entity.name.function | #6eff40 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #FF5555 | — |
| source.cs storage.type | #6eff40 | — |
| source.cs meta.method.return-type | #6eff40 | — |
| source.cs meta.preprocessor | #0300ff | — |
| source.cs entity.name.type.namespace | #FFFFFF | — |
| Global settings | #FFFFFF | — |
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}!`;
}