Foxy Theme
Publisher: Denis ZyulevThemes in package: 1
A simple syntax and UI theme based on 4 foxy colors
A simple syntax and UI theme based on 4 foxy 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 |
|---|---|---|
| string | #73b362 | — |
| comment, punctuation.definition.comment | #585858 | — |
| editor.foreground, variable, string constant.other.placeholder, punctuation, punctuation.definition.tag, punctuation.section.embedded, constant.other.color, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end, source.sass keyword.control, text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown, meta.block variable.other, support.type, meta.tag | #bdbdbd | — |
| storage.modifier, support.class, storage.type, entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter, entity.name.module.js, variable.import.parameter.js, variable.other.class.js, markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, keyword | #cca853 | — |
| keyword.control, constant.other.color, punctuation.separator.inheritance.php, punctuation.definition.tag.html, keyword.other.template, keyword.other.substitution, support.other.variable, string.other.link, invalid, invalid.illegal, markup.deleted, source.js constant.other.object.key.js string.unquoted.label.js, constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other, markup.underline, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, text.html.markdown markup.inline.raw.markdown, text.html.markdown, punctuation.definition.list_item.markdown, markup.italic | #FF766B | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, entity.other.attribute-name, variable.language, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, source.json meta.structure.dictionary.json support.type.property-name.json, entity.name, support.type, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, entity.other.attribute-name.class, source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, constant.other.reference.link.markdown, entity.name.method.js, meta.class-method.js entity.name.function.js, variable.function.constructor, markup.inserted, markup.changed, string.regexp, constant.character.escape, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #51afbc | — |
| *url*, *link*, *uri* | — | underline |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}