Nur Theme
Publisher: Michele FenuThemes in package: 2
Nur is a Visual Studio Code and Cursor theme designed to provide a pleasant experience for long coding sessions in any programming language.
Nur is a Visual Studio Code and Cursor theme designed to provide a pleasant experience for long coding sessions in any programming language.
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 | #5a6a4d | italic |
| constant.numeric, variable.other.constant, entity.name.constant, constant.language.boolean, constant.language.false, constant.language.true, keyword.other.unit.user-defined, keyword.other.unit.suffix.floating-point | #c67558 | — |
| keyword, keyword.operator.word, keyword.operator.new, variable.language.super, support.type.primitive, storage.type, storage.modifier, punctuation.definition.keyword | #4a7fb5 | |
| entity.name.tag.documentation | #4a7fb5 | — |
| keyword.operator, punctuation.accessor, punctuation.definition.generic, meta.function.closure punctuation.section.parameters, punctuation.definition.tag, punctuation.separator.key-value | #9c8558 | — |
| entity.name.function, meta.function-call.method, support.function, support.function.misc, variable.function | #e54837 | — |
| entity.name.class, entity.other.inherited-class, support.class, meta.function-call.constructor, entity.name.struct | #5a8a82 | — |
| entity.name.enum | #5a8a82 | — |
| meta.enum variable.other.readwrite, variable.other.enummember | #c67558 | — |
| meta.property.object | #c77f1a | — |
| meta.type, meta.type-alias, support.type, entity.name.type | #5a8a82 | italic |
| meta.annotation variable.function, meta.annotation variable.annotation.function, meta.annotation punctuation.definition.annotation, meta.decorator, punctuation.decorator | #b89415 | — |
| variable.parameter, meta.function.parameters | #c77f1a | italic |
| constant.language, support.function.builtin | #e54837 | — |
| entity.other.attribute-name.documentation | #e54837 | — |
| keyword.control.directive, punctuation.definition.directive | #5a8a82 | — |
| punctuation.definition.typeparameters | #70568a | — |
| entity.name.namespace | #5a8a82 | — |
| support.type.property-name.css | #4a7fb5 | |
| variable.language.this, variable.language.this punctuation.definition.variable | #e54837 | — |
| variable.object.property | #5a5e6b | — |
| string.template variable, string variable | #5a5e6b | — |
| keyword.operator.new | — | bold |
| string, string.quoted, string.template | #6b8e3d | — |
| constant.numeric, constant.language.infinity, constant.language.nan | #70568a | — |
| constant.language.boolean | #c67558 | — |
| constant, constant.language, constant.character.escape | #c67558 | — |
| variable, variable.other, variable.parameter, variable.language | #c77f1a | — |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof | #4a7fb5 | — |
| storage, storage.type, storage.modifier | #4a7fb5 | — |
| keyword.operator, punctuation | #9c8558 | — |
| entity.name.function, meta.function-call, support.function, keyword.other.special-method | #e54837 | — |
| entity.name.class, entity.name.type.class, support.class, entity.other.inherited-class, meta.class | #5a8a82 | — |
| entity.name.tag, meta.tag | #5a8a82 | — |
| entity.other.attribute-name, meta.attribute | #b89415 | — |
| support.type.property-name, entity.name.tag.css, meta.property-name | #c77f1a | — |
| entity.name.type, support.type, support.type.primitive | #5a8a82 | — |
| 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 | #e54837 | — |
| support.constant.property-value.css, support.constant.font-name.css, support.constant.media-type.css, support.constant.media.css, constant.other.color.rgb-value.css, constant.other.rgb-value.css, support.constant.color.css | #c67558 | — |
| keyword.other.unit.css | #70568a | — |
| support.class.component.jsx, support.class.component.tsx | #5a8a82 | — |
| string.template, punctuation.definition.template-expression | #6b8e3d | — |
| support.type.primitive.ts, support.type.builtin.ts, support.type.primitive.tsx, support.type.builtin.tsx | #5a8a82 | — |
| variable.language.this | #5a8a82 | italic |
| string.regexp | #4a7fb5 | — |
| support.type.property-name.json, punctuation.support.type.property-name.json | #c77f1a | — |
| string.quoted.double.json | #6b8e3d | — |
| markup.heading, markup.heading entity.name, punctuation.definition.heading.markdown | #e54837 | bold |
| markup.underline.link, string.other.link | #70568a | — |
| markup.bold | #c77f1a | bold |
| markup.italic | #5a5e6b | italic |
| markup.inline.raw, markup.fenced_code.block | #6b8e3d | — |
| markup.quote | #5a6a4d | italic |
| invalid, invalid.illegal | #e54837 | underline |
| meta.diff, meta.diff.header | #70568a | — |
| markup.inserted | #6b8e3d | — |
| markup.deleted | #e54837 | — |
| markup.changed | #c77f1a | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.sgml.doctype string, meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype entity.other.attribute-name, meta.tag.metadata.doctype punctuation, meta.tag.metadata.doctype string | #5a6a4d | — |
| entity.other.attribute-name.html, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx | #b89415 | — |
| text.html.vue-html, text.html.vue | #5a5e6b | — |
| entity.other.attribute-name.directive.vue, punctuation.separator.key-value.vue | #e54837 | — |
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}!`;
}