VS Snazzy Theme
Publisher: jose miguel bejaranoThemes in package: 1
VS Code Theme based in hyper-snazzy
VS Code Theme based in hyper-snazzy
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 |
|---|---|---|
| text.html.basic entity.other.attribute-name, text.html.basic entity.other.attribute-name.html | #f3f99d | italic |
| — | #eff0eb | — |
| string constant.other.placeholder, variable | #EEFFFF | — |
| constant.other.color | #eff0eb | — |
| invalid, invalid.illegal | #ff5c57 | — |
| keyword | #ff6ac1 | — |
| storage.modifier, storage.type | #f3f99d | — |
| constant.other.color, keyword.control, keyword.other.substitution, keyword.other.template, punctuation, punctuation.definition.tag, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.html, punctuation.section.embedded, punctuation.separator.inheritance.php | #89DDFF | — |
| meta.tag | #eff0eb | — |
| entity.name.tag, markup.deleted.git_gutter, meta.tag.sgml | #ff5c57 | — |
| entity.name.function, keyword.other.special-method, meta.function-call, support.function, variable.function | #57c7ff | — |
| meta.block variable.other | #eff0eb | — |
| string.other.link, support.other.variable | #ff5c57 | — |
| constant.character, constant.escape, constant.language, constant.numeric, keyword.other, keyword.other.unit, support.constant | #f3f99d | — |
| variable.parameter | #eff0eb | — |
| constant.other.key, constant.other.symbol, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, string | #5af78e | normal |
| entity.name, markup.changed.git_gutter, meta.use.php, support.class, support.orther.namespace.use.php, support.other.namespace.php, support.type, support.type.sys-types | #f3f99d | — |
| support.type | #B2CCD6 | — |
| source.css support.type.property-name, source.less support.type.property-name, source.postcss support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.stylus support.type.property-name | #B2CCD6 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #ff5c57 | — |
| variable.language | #ff5c57 | italic |
| entity.name.method.js | #82AAFF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| entity.other.attribute-name | #f3f99d | italic |
| comment, punctuation.definition.comment | #546E7A | italic |
| entity.other.attribute-name.class | #f3f99d | — |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #ff5c57 | — |
| markup.changed | #C792EA | — |
| string.regexp | #89DDFF | — |
| constant.character.escape | #89DDFF | — |
| *link*, *uri*, *url* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #ff5c57 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #f3f99d | — |
| token.error-token | #ff5c57 | — |
| token.debug-token | #b267e6 | — |
| storage.modifier, storage.type.class.js | #ff6ac1 | italic |
| variable.language.this, variable.language.this.js | #ff5c57 | italic |
| emphasis, markup.italic | — | italic |
| keyword.control | #ff6ac1 | — |
| entity.name.function | #57c7ff | — |
| meta.definition.variable, support.variable, variable | #eff0eb | — |
| support.class | #FFCB6B | — |
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}!`;
}