NVIDIA Green Pro Theme
Publisher: Yash KavaiyaThemes in package: 2
Production-level NVIDIA-inspired dark and light VS Code themes with comprehensive UI, syntax, semantic token, terminal, diff, Git, notebook, and debugging colors.
Production-level NVIDIA-inspired dark and light VS Code themes with comprehensive UI, syntax, semantic token, terminal, diff, Git, notebook, and debugging colors.
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 | #64705E | italic |
| comment.documentation, comment.block.documentation, storage.type.class.jsdoc, entity.name.type.instance.jsdoc | #596A52 | italic |
| string, constant.other.symbol, constant.other.key | #3F7800 | — |
| constant.character.escape, constant.character.string.escape, constant.regexp | #2B6700 | bold |
| string.regexp, constant.other.character-class.regexp, punctuation.definition.group.regexp | #008060 | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.language.undefined | #8B5A00 | — |
| keyword, keyword.control, keyword.operator.expression, storage.modifier | #2F7D00 | — |
| storage, storage.type, storage.type.function, storage.type.class | #4C8F00 | — |
| keyword.operator, punctuation.separator, punctuation.terminator, punctuation.accessor | #596452 | — |
| entity.name.function, support.function, meta.function-call, variable.function | #2B6700 | — |
| entity.name.function.method, support.function.any-method, meta.method-call | #3F7800 | — |
| entity.name.type, entity.name.class, support.class, support.type, storage.type.cs | #006C8E | — |
| entity.name.type.interface, entity.name.type.struct, support.type.primitive | #00789E | — |
| variable, variable.other, meta.definition.variable.name | #172014 | — |
| variable.parameter, meta.parameters variable | #315D12 | — |
| variable.other.property, support.variable.property, meta.property.object | #32402D | — |
| variable.other.constant, constant.language, support.constant, entity.name.constant | #8B5A00 | — |
| entity.name.namespace, entity.name.module, support.module | #7E3FA3 | — |
| meta.decorator, entity.name.function.decorator, storage.type.annotation | #C06000 | — |
| entity.name.tag, support.class.component | #2F7D00 | — |
| entity.other.attribute-name, support.type.property-name.css | #2B6700 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css | #006C8E | — |
| support.constant.property-value.css, support.constant.color, constant.other.color | #3F7800 | — |
| support.type.property-name.json, support.type.property-name.yaml, entity.name.tag.yaml | #00789E | — |
| markup.heading, entity.name.section.markdown | #2B6700 | bold |
| markup.bold | #2B6700 | bold |
| markup.italic | #2B6700 | italic |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block | #315D12 | — |
| markup.underline.link, string.other.link, meta.link.inline | #006C8E | underline |
| markup.inserted, meta.diff.header.to-file | #3F7800 | — |
| markup.deleted, meta.diff.header.from-file | #B3261E | — |
| markup.changed, meta.diff.header | #8B5A00 | — |
| invalid, invalid.illegal, invalid.deprecated | #B3261E | underline |
| punctuation, meta.brace, punctuation.definition.tag | #596452 | — |
| variable.language.special.self.python, variable.language.special.cls.python | #315D12 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python | #C06000 | — |
| variable.language.this.js, variable.language.super.js, variable.language.this.ts, variable.language.super.ts | #2F7D00 | italic |
| entity.name.type.type-parameter.ts, entity.name.type.type-parameter.tsx | #00789E | — |
| support.class.component.tsx, support.class.component.jsx, entity.name.tag.tsx, entity.name.tag.jsx | #006C8E | — |
| support.function.builtin.shell, entity.name.function.shell | #2B6700 | — |
| variable.other.normal.shell, variable.other.bracket.shell | #32402D | — |
| keyword.other.DML.sql, keyword.other.ddl.sql, keyword.other.sql | #2F7D00 | bold |
| entity.name.function.sql, support.function.aggregate.sql, entity.name.type.sql | #2B6700 | — |
| keyword.other.special-method.dockerfile, entity.name.function.dockerfile | #2F7D00 | bold |
| entity.name.fragment.graphql, variable.graphql | #32402D | — |
| support.function.general.tex, keyword.control.preamble.latex | #2B6700 | — |
| constant.character.entity.html, constant.character.entity.xml | #2B6700 | — |
| constant.other.git.commit | #8B5A00 | — |
| variable.other.env, support.variable.env | #8B5A00 | — |
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}!`;
}