Troning - Tron Legacy Theme Pack
Publisher: rubenznThemes in package: 5
A VS Code theme pack inspired by the Tron universe, tuned for full-stack, AI, backend, and frontend development.
A VS Code theme pack inspired by the Tron universe, tuned for full-stack, AI, backend, and frontend development.
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 | #6AA7C8 | italic |
| comment.block.documentation, comment.block.documentation punctuation.definition.comment | #A9E9FF | italic |
| keyword, keyword.control, keyword.operator.expression, storage.modifier, storage.type | #FFB000 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.other.important | #FFB000 | — |
| keyword.operator, punctuation, punctuation.separator, punctuation.terminator, meta.brace, meta.delimiter | #A9E9FF | — |
| entity.name.function, support.function, support.function.builtin, meta.function-call, variable.function, meta.method-call, entity.name.function.member, support.function.console, support.function.dom, support.function.node | #00F0FF | — |
| support.function.react, support.function.hook, entity.name.function.react, variable.other.readwrite.alias.js, variable.other.readwrite.alias.ts, meta.import variable.other.readwrite | #39FF14 | — |
| string.quoted.single.js meta.directive, string.quoted.double.js meta.directive, string.quoted.single.ts meta.directive, string.quoted.double.ts meta.directive, meta.directive, keyword.other.directive, support.constant.nextjs, support.constant.astro | #FFB000 | — |
| support.class.component, entity.name.type.class.jsx, entity.name.tag support.class.component, variable.other.object.js, variable.other.object.ts, entity.name.function.constructor, entity.name.tag.jsx support.class.component, entity.name.tag.tsx support.class.component | #39FF14 | — |
| variable, variable.other, variable.parameter, support.variable, meta.definition.variable | #DDF7FF | — |
| constant.language, constant.character, constant.other, variable.language, support.constant | #39FF14 | — |
| constant.numeric, constant.numeric.css, keyword.other.unit, support.constant.property-value.css | #FFB000 | — |
| string, punctuation.definition.string, string.quoted, string.template | #FFE066 | — |
| constant.character.escape, punctuation.definition.template-expression, punctuation.section.embedded, source.js.embedded.expression, source.ts.embedded.expression | #FFB000 | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #FF3B6B | — |
| entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, entity.name.type.alias, entity.name.type.module, support.class, support.type, support.type.primitive, storage.type.interface, entity.name.type.interface, entity.name.type.ts, entity.name.type.tsx, support.type.builtin.ts, support.type.builtin.tsx | #FFB000 | — |
| entity.name.type.parameter, meta.type.parameters, meta.type.parameters.ts, meta.type.parameters.tsx, punctuation.definition.typeparameters, keyword.operator.type.annotation, keyword.operator.expression.keyof, keyword.operator.expression.infer, keyword.operator.expression.is | #39FF14 | — |
| variable.object.property, variable.other.property, support.type.property-name, support.type.property-name.json, meta.object-literal.key, meta.property.object, entity.name.tag.yaml, entity.name.section | #62C9FF | — |
| meta.decorator, punctuation.decorator, storage.type.annotation, entity.name.function.decorator, meta.function.decorator | #FF3B6B | italic |
| entity.name.tag, entity.name.tag.html, entity.name.tag.jsx, entity.name.tag.tsx, entity.name.tag.astro, punctuation.definition.tag | #00F0FF | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx, meta.embedded.expression, punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx | #A9E9FF | — |
| entity.other.attribute-name, entity.other.attribute-name.class.css, entity.other.attribute-name.html, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx, entity.other.attribute-name.astro, support.type.property-name.css | #FFB000 | italic |
| meta.attribute.class.html string, meta.attribute.class.jsx string, meta.attribute.class.tsx string, meta.attribute.class.astro string, string.quoted.double.html meta.class, string.quoted.single.html meta.class, support.constant.tailwind | #FFE066 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #00F0FF | — |
| support.type.property-name.css, meta.property-name.css, support.type.vendored.property-name.css | #A9E9FF | — |
| support.constant.property-value.css, meta.property-value.css, string.quoted.double.html, string.quoted.single.html | #FFE066 | — |
| source.mdx meta.import, source.mdx entity.name.tag, source.mdx entity.other.attribute-name, source.mdx meta.jsx.children, source.mdx markup.inline.raw | #00F0FF | — |
| keyword.other.DML.sql, keyword.other.ddl.sql, keyword.other.sql, storage.type.sql, support.function.aggregate.sql | #FFB000 | bold |
| entity.name.function.sql, entity.name.type.sql, support.type.sql, meta.table.sql, meta.column.sql | #00F0FF | — |
| variable.language.special.self.python, support.function.builtin.python, support.type.python, variable.parameter.function.language.special.self.python, support.variable.magic.python, support.function.magic.python, entity.name.function.magic.python | #39FF14 | — |
| meta.function.decorator.python, entity.name.function.decorator.python, storage.type.function.python, support.type.python, meta.function.parameters.python, constant.character.format.placeholder.other.python, punctuation.definition.interpolation.begin.python, punctuation.definition.interpolation.end.python | #FFB000 | — |
| support.function.builtin.shell, support.function.builtin.zsh, support.function.builtin.bash, keyword.other.special-method.shell, entity.name.function.shell, keyword.other.Dockerfile, keyword.other.special-method.dockerfile, support.function.git-rebase | #00F0FF | — |
| entity.name.tag.yaml, support.type.property-name.yaml, punctuation.separator.key-value.yaml, constant.other.alias.yaml, variable.other.alias.yaml | #A9E9FF | — |
| markup.heading, markup.heading punctuation.definition.heading, markup.heading.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #00F0FF | bold |
| punctuation.definition.heading.markdown, meta.separator.markdown, markup.heading.setext punctuation.definition.heading.markdown | #FFB000 | — |
| markup.underline.link, string.other.link, constant.other.reference.link, meta.link.inline, markup.underline.link.markdown, meta.image.inline.markdown, meta.link.reference.def.markdown, constant.other.reference.link.markdown | #FFB000 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, markup.link | #A9E9FF | — |
| markup.italic | #A9E9FF | italic |
| markup.bold | #FFB000 | bold |
| markup.strikethrough | #FF3B6B | — |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block, punctuation.definition.raw.markdown, markup.raw.inline.markdown, markup.raw.block.markdown, fenced_code.block.language, variable.language.fenced.markdown | #FFE066 | — |
| markup.quote, punctuation.definition.quote, beginning.punctuation.definition.list.markdown, markup.list, punctuation.definition.list.begin.markdown | #6AA7C8 | — |
| markup.table, punctuation.definition.table.markdown, meta.table.markdown | #A9E9FF | — |
| markup.list.checked, markup.list.unnumbered, keyword.other.task, meta.task-list-item.markdown | #00A3FF | — |
| meta.frontmatter.markdown, meta.frontmatter.mdx, punctuation.definition.metadata.markdown, punctuation.section.frontmatter.begin, punctuation.section.frontmatter.end | #FFB000 | — |
| markup.inserted | #FFE066 | — |
| markup.deleted | #FF3B6B | — |
| markup.changed | #FFB000 | — |
| invalid, invalid.illegal, invalid.deprecated | #FF3B6B | underline |
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}!`;
}