Jayvir Rathi Theme
Publisher: jayvirrathiThemes in package: 2
Theme By Jayvir Rathi
Theme By Jayvir Rathi
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 |
|---|---|---|
| Global settings | #FFFFFF | — |
| string | #14A76C | — |
| constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html | #1efaa2 | — |
| constant.language.boolean | #FF652F | — |
| constant.numeric | #FFE400 | — |
| variable, support.variable, support.class, support.constant, meta.definition.variable entity.name.function | #746aff | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #5eb7ee | — |
| keyword.control.flow.js | #FFE400 | — |
| entity.name.function, support.function | #FFE400 | — |
| storage.type, storage.modifier | #FF652F | — |
| support.module, support.node | #ff9746 | italic |
| support.type | #5eb7ee | — |
| entity.name.type, entity.other.inherited-class | #5eb7ee | — |
| comment, comment.block.js | #577997 | italic |
| entity.name.type.class | #5eb7ee | underline |
| variable.object.property, meta.field.declaration entity.name.function | #5eb7ee | — |
| meta.definition.method entity.name.function | #5eb7ee | — |
| meta.function entity.name.function | #5eb7ee | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #FF652F | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #FFFFFF | — |
| entity.name.tag.yaml | #ff9746 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #5eb7ee | — |
| constant.language.json | #FF652F | — |
| entity.other.attribute-name.class | #FF652F | — |
| entity.other.attribute-name.id | #14A76C | — |
| source.css entity.name.tag | #5eb7ee | — |
| meta.tag, punctuation.definition.tag | #FF652F | — |
| entity.name.tag | #ffc598 | — |
| entity.other.attribute-name | #FFE400 | — |
| markup.heading | #FF652F | — |
| text.html.markdown meta.link.inline, meta.link.reference | #ff9746 | — |
| text.html.markdown beginning.punctuation.definition.list | #FF652F | — |
| markup.italic | #ff9746 | italic |
| markup.bold | #ff9746 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #ff9746 | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #14A76C | — |
| markup.inline.raw.string.markdown | #14A76C | — |
| punctuation.definition.heading.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown, markup.fenced_code.block.markdown, meta.separator.markdown | #356ea0 | — |
| keyword.other.definition.ini | #ff9746 | — |
| entity.name.section.group-title.ini | #FF652F | — |
| source.cs meta.class.identifier storage.type | #5eb7ee | underline |
| source.cs meta.method.identifier entity.name.function | #5eb7ee | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #FFE400 | — |
| source.cs storage.type | #5eb7ee | — |
| source.cs meta.method.return-type | #5eb7ee | — |
| source.cs meta.preprocessor | #1b3951 | — |
| source.cs entity.name.type.namespace | #FFFFFF | — |
| Global settings | #FFFFFF | — |
| modifier, this, comment, storage.modifier.js, storage.modifier.ts, storage.modifier.tsx, entity.other.attribute-name.js, entity.other.attribute-name.ts, entity.other.attribute-name.tsx, entity.other.attribute-name.html, keyword.control.flow.js | — | italic |
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 | #0088ff | italic |
| constant | #ff628c | — |
| entity | #ffc600 | — |
| invalid | #f44542 | — |
| keyword, storage.type.class.js | #ff9d00 | — |
| meta | #9effff | — |
| meta.brace | #e1efff | — |
| punctuation | #e1efff | — |
| punctuation.definition.parameters | #ffee80 | — |
| punctuation.definition.template-expression | #ffee80 | — |
| storage | #ffc600 | — |
| storage.type.function.arrow | #ffc600 | — |
| string, punctuation.definition.string | #a5ff90 | — |
| string.template, punctuation.definition.string.template | #3ad900 | — |
| support | #80ffbb | — |
| support.function | #ff9d00 | — |
| support.variable.property.dom | #e1efff | — |
| variable | #e1efff | — |
| source.css entity, source.stylus entity | #3ad900 | — |
| entity.other.attribute-name.id.css | #FFB454 | — |
| entity.name.tag | #9EFFFF | — |
| source.css support, source.stylus support | #a5ff90 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #ffee80 | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #ffee80 | — |
| source.css variable, source.stylus variable | #9effff | — |
| text.html.basic entity.name | #9effff | — |
| meta.toc-list.id.html | #A5FF90 | — |
| text.html.basic entity.other | #ffc600 | italic |
| meta.tag.metadata.script.html entity.name.tag.html | #ffc600 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #92fc79 | — |
| source.ini entity | #e1efff | — |
| source.ini keyword | #ffc600 | — |
| source.ini punctuation.definition | #ffee80 | — |
| source.ini punctuation.separator | #ff9d00 | — |
| source.js storage.type.function | #fb94ff | — |
| variable.language, entity.name.type.class.js | #fb94ff | — |
| entity.other.inherited-class.js | #ccc | — |
| variable.parameter.function.language.special.self.python | #fb94ff | — |
| source.json support | #ffc600 | — |
| source.json string, source.json punctuation.definition.string | #e1efff | — |
| punctuation.definition.heading.markdown | #e1efff | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #ffc600 | bold |
| meta.paragraph.markdown | #e1efff | — |
| beginning.punctuation.definition.quote.markdown | #ffc600 | — |
| markup.quote.markdown meta.paragraph.markdown | #9effff | italic |
| meta.separator.markdown | #ffc600 | — |
| markup.bold.markdown | #9effff | bold |
| markup.italic.markdown | #9effff | italic |
| beginning.punctuation.definition.list.markdown | #ffc600 | — |
| string.other.link.title.markdown | #a5ff90 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #a5ff90 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #9effff | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9effff | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9effff | — |
| text.jade entity.name | #9effff | — |
| text.jade entity.other.attribute-name.tag | — | italic |
| text.jade string.interpolated | #ffee80 | — |
| source.ts entity.name.type | #80ffbb | — |
| source.ts keyword | #ffc600 | — |
| source.ts punctuation.definition.parameters | #e1efff | — |
| meta.arrow.ts punctuation.definition.parameters | #ffee80 | — |
| source.ts storage | #9effff | — |
| source.php entity | #9effff | — |
| variable.other.php | #ffc600 | — |
| modifier, this, comment, storage.modifier.js, entity.other.attribute-name.js | — | italic |
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}!`;
}