Forest Night - Ethereal
Publisher: Forrest KnightThemes in package: 1
A mystical, nature-inspired VS Code theme blending ethereal magic with moonlit forest ambiance
A mystical, nature-inspired VS Code theme blending ethereal magic with moonlit forest ambiance
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, comment.line, comment.block | #4a5568 | italic |
| comment.line.double-slash keyword, comment.block keyword | #6b7280 | italic bold |
| variable, variable.other, variable.parameter, variable.language, variable.other.readwrite | #c9d1d9 | — |
| variable.other.destructuring | #66D9EF | — |
| entity.name.function, meta.function-call entity.name.function, meta.function-call variable.function, support.function, keyword.other.special-method, meta.method-call entity.name.function | #9B59B6 | — |
| support.function.builtin, support.function.construct, support.function.magic | #9B59B6 | bold |
| string, string.quoted, string.quoted.single, string.quoted.double, string.quoted.triple, punctuation.definition.string | #4ECDC4 | — |
| string.template, string.quoted.template | #66D9EF | — |
| constant.character.escape, constant.other.placeholder | #F39C12 | bold |
| string.regexp, constant.other.character-class.regexp, constant.character.escape.regexp | #c78a7a | — |
| variable.other.property, variable.other.object.property, variable.other.property.js, meta.object-literal.key, support.type.property-name | #66D9EF | — |
| support.type.property-name.json, meta.structure.dictionary.key.json string.quoted.double.json | #66D9EF | — |
| keyword, keyword.control, keyword.operator.new, keyword.other.special-method, storage.type, storage.modifier | #F39C12 | — |
| keyword.control.flow, keyword.control.conditional, keyword.control.loop | #F39C12 | bold |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #F39C12 | italic |
| entity.name.type, entity.other.inherited-class, support.type, support.class, storage.type.built-in, entity.name.class, entity.name.namespace, entity.name.scope-resolution | #c78a7a | — |
| entity.name.type.parameter, meta.type.parameters entity.name.type | #c78a7a | italic |
| constant, variable.other.constant, support.constant, constant.language | #8FBC8F | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.binary, constant.numeric.octal | #8FBC8F | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #8FBC8F | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.assignment | #c9d1d9 | — |
| keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest | #F39C12 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor | #8fa1b3 | — |
| punctuation.section.brackets, punctuation.section.parens, punctuation.section.braces, meta.brace.round, meta.brace.square, meta.brace.curly | #c9d1d9 | — |
| entity.name.tag, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #F39C12 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.localname.xml | #4ECDC4 | — |
| string.quoted.double.html, string.quoted.single.html | #66D9EF | — |
| meta.tag.sgml.doctype, punctuation.definition.tag.html | #6b7280 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #F39C12 | — |
| support.type.property-name.css, meta.property-name.css | #4ECDC4 | — |
| support.constant.property-value.css, constant.numeric.css, keyword.other.unit.css | #8FBC8F | — |
| support.function.css | #9B59B6 | — |
| variable.language.this, variable.language.super | #c78a7a | — |
| entity.name.function.decorator, meta.decorator variable.other.readwrite, meta.decorator punctuation.decorator | #F39C12 | — |
| storage.type.function.arrow | #F39C12 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #F39C12 | bold |
| markup.bold, punctuation.definition.bold.markdown | #c9d1d9 | bold |
| markup.italic, punctuation.definition.italic.markdown | #c9d1d9 | italic |
| markup.inline.raw, markup.fenced_code, punctuation.definition.markdown | #4ECDC4 | — |
| markup.underline.link, string.other.link.title.markdown, string.other.link.description.markdown | #66D9EF | underline |
| punctuation.definition.list.begin.markdown, markup.list.numbered.markdown, markup.list.unnumbered.markdown | #F39C12 | — |
| markup.quote.markdown, punctuation.definition.blockquote.markdown | #6b7280 | italic |
| entity.name.tag.yaml | #4ECDC4 | — |
| string.unquoted.yaml | #c9d1d9 | — |
| invalid, invalid.illegal | #c78a7a | strikethrough |
| invalid.deprecated | #F39C12 | strikethrough |
| comment.block.documentation, comment.line.documentation | #6b7280 | italic |
| storage.type.class.jsdoc, entity.name.type.instance.jsdoc | #4ECDC4 | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #F39C12 | — |
| storage.type.string.python | #66D9EF | — |
| support.function.magic.python | #9B59B6 | bold |
| variable.other.php, punctuation.definition.variable.php | #c9d1d9 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #F39C12 | — |
| constant.other.git.commit-hash | #4ECDC4 | — |
| entity.name.tag.git | #8FBC8F | — |
| keyword.other.sql | #F39C12 | bold |
| support.function.sql | #9B59B6 | — |
| variable.other.normal.shell, variable.other.positional.shell | #c9d1d9 | — |
| support.function.builtin.shell | #9B59B6 | — |
| markup.inserted | #8FBC8F | — |
| markup.deleted | #c78a7a | — |
| markup.changed | #F39C12 | — |
| entity.name.function.macro | #F39C12 | bold |
| entity.name.label | #c78a7a | — |
| storage.type.annotation | #F39C12 | — |
| storage.type.generic | #c78a7a | italic |
| support.class.component.jsx, support.class.component.tsx | #c78a7a | — |
| entity.name.tag.template.html | #8FBC8F | — |
| support.type.property-name.package.json | #c78a7a | — |
| variable.other.env | #F39C12 | — |
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}!`;
}