Doom Themes
Publisher: lroolleThemes in package: 2
A faithful port of the popular Doom Emacs doom-one theme to VS Code. Includes both dark and light variants inspired by Atom One Dark/Light.
A faithful port of the popular Doom Emacs doom-one theme to VS Code. Includes both dark and light variants inspired by Atom One Dark/Light.
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, punctuation.definition.comment | #5B6268 | italic |
| comment.documentation, comment.block.documentation | #6B727A | italic |
| invalid.illegal | #ff6c6b | — |
| invalid.deprecated | #ff6c6b | — |
| keyword.operator, punctuation.separator.key-value | #51afef | — |
| keyword, storage.modifier, storage.type.function.arrow | #51afef | — |
| storage, storage.type | #51afef | — |
| storage.type.class, storage.type.enum, storage.type.interface, storage.type.namespace, storage.type.type, entity.name.type, entity.other.inherited-class, support.type | #ECBE7B | — |
| constant.language, support.constant, variable.language | #a9a1e1 | — |
| variable, support.variable, entity.name.variable | #dcaeea | — |
| entity.name.function, meta.function-call.generic, support.function.general | #c678dd | — |
| entity.name.method, meta.method-call, meta.method.declaration | #46D9FF | — |
| entity.name.class, entity.other.inherited-class, support.class | #ECBE7B | — |
| entity.name.exception | #ff6c6b | — |
| entity.name.section | — | bold |
| constant.numeric, constant.character, constant | #da8548 | — |
| string | #98be65 | — |
| constant.character.escape | #46D9FF | — |
| string.regexp | #46D9FF | — |
| constant.other.symbol | #da8548 | — |
| punctuation | #bbc2cf | — |
| punctuation.section.embedded, variable.interpolation | #51afef | — |
| constant.language, constant.other.caps, support.constant | #a9a1e1 | — |
| support.function, support.class, support.variable, meta.property-name | #c678dd | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #5B6268 | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #51afef | — |
| entity.name.tag | #ff6c6b | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #da8548 | italic |
| constant.character.entity, punctuation.definition.entity | #ff6c6b | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #51afef | — |
| meta.property-name, support.type.property-name | #98be65 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #da8548 | — |
| keyword.other.important | — | bold |
| markup.changed | #da8548 | — |
| markup.deleted | #ff6c6b | — |
| markup.italic | — | italic |
| markup.error | #ff6c6b | — |
| markup.inserted | #98be65 | — |
| meta.link | #51afef | — |
| markup.output, markup.raw | #5B6268 | — |
| markup.prompt | #5B6268 | — |
| markup.heading | #ff6c6b | bold |
| markup.bold | — | bold |
| markup.traceback | #ff6c6b | — |
| markup.underline | — | underline |
| markup.quote | #ECBE7B | — |
| markup.list | #51afef | — |
| markup.bold, markup.italic | #98be65 | — |
| markup.inline.raw | #da8548 | |
| meta.diff.range, meta.diff.index, meta.separator | #5B6268 | — |
| meta.diff.header.from-file | #5B6268 | — |
| meta.diff.header.to-file | #5B6268 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #51afef | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c678dd | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #da8548 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff6c6b | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ECBE7B | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #51afef | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c678dd | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #da8548 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff6c6b | — |
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}!`;
}