Valhalla Theme
Publisher: UveThemes in package: 1
Dark theme based on valhalla colour, bright, beautiful and, at the same time, relaxed for eyes. Code like vinking gods with Valhalla!
Dark theme based on valhalla colour, bright, beautiful and, at the same time, relaxed for eyes. Code like vinking gods with Valhalla!
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 | #b49cf3 | italic |
| support.class, support.constant, support.function, support.other.namespace.use.php, support.type, support.other.namespace.php, support.type.sys-types, keyword.control, constant.other.color, meta.tag, keyword.other.template, keyword.other.substitution, entity.other.inherited-class, entity.name.method.js, entity.name.module.js, entity.name, entity.name.tag, entity.name.function, entity.other.attribute-name.class, meta.tag.sgml, markup.deleted.git_gutter, variable.function, keyword.other.special-method, source.json meta.structure.dictionary.json support.type.property-name.json, 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 | #49bbf7 | — |
| meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, meta.function-call, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, entity.other.attribute-name, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, 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, 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, constant.character.escape, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, meta.block variable.other, variable.language | #29EED7 | — |
| text.html.markdown markup.inline.raw.markdown, text.html.markdown, text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown, punctuation.definition.list_item.markdown, tag.decorator.js punctuation.definition.tag.js, markup.inserted, markup.raw.block, markup.changed, markup.italic, keyword, storage.type, storage.modifier, string, string constant.other.placeholder, 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 | #c283ec | — |
| invalid, invalid.illegal, meta.use.php, markup.changed.git_gutter, markup.deleted, variable, variable.import.parameter.js, variable.other.class.js, markup.underline, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, 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 | #f2ff89 | — |
| support.other.variable, string.other.link, 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, *url*, *link*, *uri* | #F7FFB4 | — |
| punctuation.definition.tag, constant.numeric, constant.language, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other, string.regexp, 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 | #85FAFF | — |
| markup.table, markup.raw.block.fenced.markdown, variable.language.fenced.markdown, markup.quote punctuation.definition.blockquote.markdown, punctuation.section.class.end, markup.bold, markup.bold string, meta.separator, markup.raw.block.fenced.markdown, punctuation.definition.fenced.markdown, variable.language.fenced.markdown, support.type | #dde1d8 | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, entity.other.attribute-name, variable, string constant.other.placeholder, variable.function, keyword.other.special-method, markup.quote, variable.language, markup.italic | — | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #f2ff89 | italic |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.bold, markup.bold string, markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #f07178 | bold |
| markup.underline, *url*, *link*, *uri* | — | underline |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #c283ec | — |
| constant.other.reference.link.markdown | #eafd5c | — |
| meta.separator | — | bold |
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}!`;
}