Theme Icon Pack
Publisher: SecureDevThemes in package: 5
Theme Icon Pack is a comprehensive VS Code extension featuring beautiful dark and light themes with matching icon sets, providing a complete visual experience for developers. 🚀
Theme Icon Pack is a comprehensive VS Code extension featuring beautiful dark and light themes with matching icon sets, providing a complete visual experience for developers. 🚀
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, comment.block.documentation | #8a7ca8 | italic |
| string, string.quoted, string.template, string.interpolated, string.regexp | #ffeb3b | — |
| string.regexp | #00bcd4 | bold |
| string.template, punctuation.definition.string.template, meta.template.expression | #fff176 | — |
| constant.character.escape, constant.other.placeholder | #ffaa33 | bold |
| keyword, keyword.control, keyword.operator.new, storage.type, storage.modifier | #f44336 | bold |
| keyword.control.flow, keyword.control.conditional, keyword.control.loop, keyword.control.return, keyword.control.trycatch | #ff5722 | bold italic |
| entity.name.function, meta.function-call entity.name.function, support.function, keyword.other.special-method | #4fc3f7 | bold |
| meta.function-call, variable.function, support.function.builtin | #03a9f4 | — |
| entity.name.type, entity.name.class, support.class, support.type, entity.other.inherited-class | #9c27b0 | bold |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.decimal | #ffaa33 | — |
| constant.language.boolean, constant.language.boolean.true, constant.language.boolean.false | #ff9500 | bold |
| constant.language.null, constant.language.undefined, constant.language.nan | #f44336 | bold |
| variable, variable.other, variable.other.readwrite | #e8d5b7 | — |
| variable.parameter, meta.parameters variable | #ffc107 | italic |
| variable.language.this, variable.language.self, variable.language.super | #ff9500 | italic bold |
| variable.other.property, support.variable.property, meta.object-literal.key, entity.name.tag.yaml | #00bcd4 | — |
| meta.object-literal.key, string.unquoted.yaml, support.type.property-name.json | #26c6da | — |
| constant, variable.other.constant, support.constant, constant.other | #ffaa33 | bold |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison, keyword.operator.relational | #4caf50 | — |
| keyword.operator.assignment, keyword.operator.assignment.compound | #8bc34a | bold |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor | #b0a3c4 | — |
| punctuation.section.brackets, punctuation.section.parens, punctuation.section.braces, meta.brace | #9c88b5 | — |
| entity.name.tag, meta.tag, markup.deleted.git_gutter | #f44336 | bold |
| entity.other.attribute-name, meta.attribute, entity.other.attribute-name.html | #9c27b0 | italic |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #4fc3f7 | bold |
| entity.name.type.module, support.type.object.module | #03a9f4 | — |
| support.type.property-name.json, meta.structure.dictionary.key.json, string.quoted.double.json support.type.property-name.json | #00bcd4 | — |
| support.type.property-name.css, meta.property-name.css | #26c6da | — |
| support.constant.property-value.css, meta.property-value.css, constant.other.color.rgb-value.css | #ffaa33 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css | #f44336 | — |
| keyword.other.unit.css | #ff9500 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #ffaa33 | bold |
| markup.bold, punctuation.definition.bold.markdown | #ff9500 | bold |
| markup.italic, punctuation.definition.italic.markdown | #b0a3c4 | italic |
| markup.inline.raw, markup.fenced_code.block.markdown, punctuation.definition.markdown | #ffeb3b | — |
| markup.underline.link, string.other.link.title.markdown, string.other.link.description.markdown | #4fc3f7 | underline |
| markup.quote, punctuation.definition.quote.begin.markdown | #8a7ca8 | italic |
| markup.list, punctuation.definition.list.begin.markdown | #4caf50 | — |
| entity.name.function.decorator.python, punctuation.definition.decorator.python | #ffaa33 | bold |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #ff9500 | italic bold |
| entity.name.type.class.python | #9c27b0 | bold |
| support.class.component.tsx, support.class.component.jsx, entity.name.tag.tsx, entity.name.tag.jsx | #9c27b0 | bold |
| entity.name.type.ts, entity.name.type.tsx, support.type.primitive.ts, support.type.primitive.tsx | #9c27b0 | bold |
| entity.name.type.interface.ts, entity.name.type.interface.tsx | #ab47bc | bold |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #00bcd4 | bold |
| string.quoted.docstring.multi.python, comment.block.documentation | #b0a3c4 | italic |
| keyword.other.sql, keyword.other.DML.sql | #f44336 | bold |
| entity.name.tag.yaml, string.unquoted.plain.out.yaml | #00bcd4 | — |
| entity.name.tag.xml, entity.name.tag.localname.xml | #f44336 | bold |
| invalid, invalid.deprecated, invalid.illegal | #ffffff | bold |
| markup.inserted, markup.inserted.git_gutter | #4caf50 | — |
| markup.changed, markup.changed.git_gutter | #ffaa33 | — |
| markup.deleted, markup.deleted.git_gutter | #f44336 | — |
| log.info, markup.info | #4fc3f7 | — |
| log.warning, markup.warning | #ffaa33 | — |
| log.error, markup.error | #f44336 | bold |
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}!`;
}