Freezing Moon Theme
Publisher: Eugene NorThemes in package: 1
Calm and clear dark code syntax theme
Calm and clear dark code syntax theme
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #4993b6 | — |
| constant.language | #4993b6 | — |
| constant.regexp | #4993b6 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #9cdcfe | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #d7ba7d | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #569cd6 | bold |
| markup.heading | #569cd6 | bold |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| markup.inline.raw | #ce9178 | — |
| meta.selector | #d7ba7d | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor | #569cd6 | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #569cd6 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #4993b6 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #9fbed1 | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #9cdcfe | — |
| keyword | #4993b6 | — |
| keyword.operator | #ce9178 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #4993b6 | — |
| keyword.other.unit | #dfb1a2 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569cd6 | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #569cd6 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| comment | #5d6e7a | — |
| string | #7da4b7 | — |
| keyword - keyword.operator | #ea9b80 | — |
| keyword.control | #ea9b80 | — |
| storage | #ea9b80 | — |
| storage.type | #ea9b80 | — |
| constant.numeric | #4993b6 | — |
| entity.name.type | #dfb1a2 | bold |
| entity.name.class | #dfb1a2 | bold |
| support.type | #dfb1a2 | bold |
| support.class | #dfb1a2 | bold |
| entity.name.function | #9fbed1 | bold |
| support.function | #9fbed1 | bold |
| entity.name.tag | #d9bb73 | — |
| entity.other.attribute-name | #a7c9de | — |
| support.type.property-name | #a7c9de | — |
| variable | #d4d4d4 | — |
| storage.modifier | #ea9b80 | — |
| keyword.operator.logical | #ea9b80 | — |
| variable.language | #ea9b80 | — |
| source.css meta.property-value | #4993b6 | — |
| markup.heading | #4993b6 | — |
| beginning.punctuation.definition.quote.markdown | #4993b6 | — |
| beginning.punctuation.definition.list.markdown | #4993b6 | — |
| source.java storage.type | #dfb1a2 | — |
| source.cs storage.type | #dfb1a2 | — |
| source.groovy storage.type | #dfb1a2 | — |
| source.cpp storage.type | #dfb1a2 | — |
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}!`;
}