power-theme
Publisher: powerparkThemes in package: 1
power-theme
power-theme
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 | #7d7d7d | italic |
| variable, string constant.other.placeholder, support.other.variable, string.other.link, variable.other.constant | #1f864f | — |
| variable.parameter, variable.other.property, variable.other.object.property, support.variable.property | #6bff26 | italic |
| meta.jsx.children | #ffffff | — |
| invalid, invalid.illegal | #a50000 | — |
| keyword, storage.type, storage.modifier | #703d17 | — |
| keyword.operator, keyword.other.unit | #a50000 | — |
| keyword.control, punctuation, meta.tag, keyword.other.template, keyword.other.substitution | #703d17 | — |
| punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded | #1881f2 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #fac501 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #f25824 | — |
| meta.block variable.other | #1f864f | — |
| meta.object-literal.key | #fac501 | — |
| constant.other, constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other | #1881f2 | — |
| string, 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 | #9e50ed | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #ff8300 | — |
| support.type | #1f864f | — |
| 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 | #fac501 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #b70064 | — |
| variable.language | #fac501 | italic |
| entity.name.method.js | #fac501 | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #fac501 | — |
| entity.other.attribute-name | #1881f2 | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #fac501 | italic |
| entity.other.attribute-name.class | #fac501 | — |
| source.sass keyword.control | #fac501 | — |
| markup.inserted | #fac501 | — |
| markup.deleted | #a50000 | — |
| markup.changed | #fac501 | — |
| string.regexp | #ff8300 | — |
| constant.character.escape | #ff8300 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #fac501 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #f25824 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #f25824 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f25824 | — |
| source.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 | #f25824 | — |
| 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 support.type.property-name.json | #f25824 | — |
| 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 support.type.property-name.json | #f25824 | — |
| 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 support.type.property-name.json | #f25824 | — |
| 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 | #f25824 | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f25824 | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f25824 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #ffffff | — |
| text.html.markdown markup.inline.raw.markdown | #ff8300 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #1eff92 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #1eff92 | — |
| markup.italic | #ff8300 | italic |
| markup.bold, markup.bold string | #ff8300 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #ff8300 | bold |
| markup.underline | #9e50ed | underline |
| markup.quote punctuation.definition.blockquote.markdown | #7d7d7d | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #fac501 | — |
| string.other.link.description.title.markdown | #9e50ed | — |
| constant.other.reference.link.markdown | #fac501 | — |
| markup.raw.block | #9e50ed | — |
| markup.raw.block.fenced.markdown | #325742 | — |
| punctuation.definition.fenced.markdown | #325742 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #1f864f | — |
| variable.language.fenced.markdown | #325742 | — |
| meta.separator | #a50000 | bold |
| markup.table | #fac501 | — |
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}!`;
}