Electron vue
Publisher: icaoThemes in package: 2
This is a cool theme for cool developers!!!
This is a cool theme for cool 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 |
|---|---|---|
| markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file | #82aaff | — |
| markup.deleted.diff | #ff457990 | — |
| markup.inserted.diff | #6af699ff | — |
| comment.line.double-slash, comment, punctuation.definition.comment, comment.block, comment.line, comment.block.documentation, comment.line.double-slash | #506686 | — |
| string | #6af699 | — |
| string.quoted, variable.other.readwrite.js | #6af699 | — |
| support.constant.math | #ffbf7a | — |
| constant.numeric, constant.character.numeric | #ffbf7a | — |
| constant.language, punctuation.definition.constant, variable.other.constant | #82aaff | — |
| constant.character, constant.other | #82aaff | — |
| constant.character.escape | #ffbf7a | — |
| string.regexp, string.regexp keyword.other | #82aaff | — |
| meta.function punctuation.separator.comma | #00d9ff | — |
| variable | #6af699 | — |
| storage, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js | #c792ea | — |
| storage.type | #c792ea | — |
| storage.type.function.arrow.js | #c792ea | — |
| storage.modifier | #c792ea | — |
| entity.name.class, meta.class entity.name.type.class | #fffa9e | — |
| storage.modifier.async.js | #fffa9e | — |
| entity.other.inherited-class | #6af699 | — |
| entity.name.function | #82aaff | — |
| punctuation.definition.tag | #bac7e4 | — |
| meta.tag | #00d9ff | — |
| entity.name.tag, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag.js.jsx, meta.tag.js, meta.tag.tsx, meta.tag.html | #ff4579 | — |
| meta.tag.other.unrecognized.html.derivative entity.name.tag | #bac7e4 | — |
| entity.other.attribute-name | #ffbf7a | — |
| entity.name.tag.custom | #6af699 | — |
| support.function, support.constant | #82aaff | — |
| support.constant.meta.property-value | #00d9ff | — |
| support.type | #ff4579 | — |
| support.variable.dom | #ff4579 | — |
| invalid | #ff4579 | — |
| invalid.deprecated | #ff4579 | — |
| punctuation, punctuation.accessor, keyword | #00d9ff | — |
| keyword.operator | #00d9ff | |
| keyword.operator.relational | #00d9ff | — |
| keyword.operator.assignment | #00d9ff | — |
| keyword.operator.arithmetic | #00d9ff | — |
| keyword.operator.bitwise | #00d9ff | — |
| keyword.operator.increment | #00d9ff | — |
| keyword.operator.ternary | #00d9ff | — |
| keyword.operator.expression | #c792ea | — |
| object | #bac7e4 | — |
| constant.language.null | #ff4579 | — |
| meta.brace | #bac7e4 | — |
| meta.delimiter.period | #bac7e4 | — |
| meta.object-literal.key | #d1dfff | — |
| punctuation.definition.string | #6af699 | — |
| punctuation.definition.block | #00d9ff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #ff4579 | — |
| constant.language.boolean | #ff4579 | — |
| object.comma | #bac7e4 | — |
| variable.parameter.function | #00d9ff | — |
| support.type.vendor.property-name, support.constant.vendor.property-value, support.type.property-name, meta.property-list entity.name.tag | #00d9ff | — |
| meta.property-list entity.name.tag.reference | #00d9ff | — |
| constant.other.color.rgb-value punctuation.definition.constant | #ffbf7a | — |
| constant.other.color, constant.other.rgb-value, constant.other.color.rgb-value | #fffa9e | — |
| keyword.other.unit | #fffa9e | — |
| meta.selector | #c792ea | — |
| entity.other.attribute-name.id | #82aaff | — |
| meta.property-name | #00d9ff | — |
| entity.name.tag.doctype, meta.tag.sgml.doctype | #c792ea | — |
| punctuation.definition.parameters | #00d9ff | — |
| keyword.control.operator | #00d9ff | — |
| keyword.operator.logical | #c792ea | — |
| variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance | #00d9ff | — |
| variable.other.object.property, variable.other.property | #ff4579 | — |
| variable.other.object.js | — | — |
| entity.name.function | #82aaff | — |
| keyword.operator.comparison, keyword.control.ruby, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.flow.js, keyword.control.flow.tsx, keyword.control.loop.js, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx | #c792ea | — |
| keyword.control.conditional.js | #c792ea | — |
| support.constant, keyword.other.special-method, keyword.other.new, keyword.operator.new, keyword.control | #c792ea | — |
| keyword.other.debugger | #ffbf7a | — |
| support.class.console.js | #fffa9e | — |
| invalid.broken | #ffbf7a | — |
| invalid.unimplemented | #ffbf7a | — |
| invalid.illegal | #ff4579 | — |
| variable.language | #bac7e4 | — |
| support.variable.property | #00d9ff | — |
| variable.function | #82aaff | — |
| variable.interpolation | #ff4579 | — |
| meta.function-call | #fffa9e | — |
| punctuation.section.embedded | #00d9ff | — |
| punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #bac7e4 | — |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list | #6af699 | — |
| string.template meta.template.expression | #ff4579 | — |
| string.template punctuation.definition.string | #6af699 | — |
| italic | #c792ea | — |
| bold | #6af699 | bold |
| quote | #bac7e4 | — |
| raw | #00d9ff | — |
| variable.assignment.coffee | #00d9ff | — |
| variable.parameter.function.coffee | #bac7e4 | — |
| variable.assignment.coffee | #00d9ff | — |
| variable.other.readwrite.cs | #bac7e4 | — |
| entity.name.type.class.cs, storage.type.cs | #c792ea | — |
| entity.name.type.namespace.cs | #bac7e4 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css, support.constant.property-value.css | #ff4579 | — |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #00d9ff | — |
| keyword.other.unit.css | #fffa9e | — |
| meta.attribute-selector.css entity.other.attribute-name.attribute, entity.other.attribute-name.class.css, variable.other.readwrite.js | #ffbf7a | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #c792ea | — |
| keyword.other.important.scss, keyword.other.important.css | #6af699 | italic bold |
| entity.other.attribute-name.id.css | #82aaff | — |
| support.constant.font-name, support.constant.color | #ffbf7a | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #82aaff | — |
| source.elixir entity.name.function | #6af699 | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #82aaff | — |
| source.elixir punctuation.definition.string | #6af699 | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #6af699 | — |
| source.elixir .punctuation.binary.elixir | #c792ea | — |
| source.go meta.function-call.go | #bac7e4 | — |
| entity.other.attribute-name.id.html | #ffbf7a | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #bac7e4 | — |
| meta.tag.sgml.doctype.html | #c792ea | — |
| meta.class entity.name.type.class.js, support.class.builtin.js | #fffa9e | — |
| meta.method.declaration storage.type.js | #82aaff | — |
| meta.method.declaration meta.var.expr.js storage.type.js | #c792ea | — |
| storage.type.class.js | #c792ea | — |
| terminator.js | #bac7e4 | — |
| meta.js punctuation.definition.js | #bac7e4 | — |
| entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc | #bac7e4 | — |
| variable.other.jsdoc, variable.other.phpdoc | #82aaff | — |
| variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other | #bac7e5 | — |
| constant.language.import-export-all.js | #00d9ff | — |
| variable.parameter.function.js | #82aaff | — |
| variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #bac7e4 | — |
| variable.js, variable.other.js, variable.other.constant.js | #bac7e4 | — |
| entity.name.type.js, entity.name.type.module.js | #fffa9e | — |
| support.class.js | #bac7e4 | — |
| support.type.property-name.json | #82aaff | — |
| support.constant.json | #82aaff | — |
| meta.structure.dictionary.value.json string.quoted.double | #6af699 | — |
| string.quoted.double.json punctuation.definition.string.json, punctuation.definition.string.json | #6af699 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #ff4579 | — |
| variable.other.ruby | #bac7e4 | — |
| variable.other.readwrite.instance.ruby, variable.other.readwrite.class.ruby | #ff4579 | — |
| entity.name.type.class.ruby | #ffbf7a | — |
| entity.name.type.module.ruby | #fffa9e | — |
| constant.language.symbol.hashkey.ruby | #00d9ff | — |
| entity.name.tag.less | #00d9ff | — |
| keyword.other.unit.css | #fffa9e | — |
| meta.attribute-selector.less entity.other.attribute-name.attribute | #ffbf7a | — |
| markup.heading.markdown | #ff4579 | — |
| markup.italic.markdown | #c792ea | — |
| markup.bold.markdown, punctuation.definition.bold.markdown | #ffbf7a | bold |
| beginning.punctuation.definition.quote.markdown, markup.quote.markdown | #00d9ff | — |
| markup.inline.raw.markdown, markup.inline.raw | #6af699 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #00d9ff | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #82aaff | — |
| punctuation.definition.string.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, meta.link.inline.markdown punctuation.definition.string, punctuation.definition.metadata.markdown | #bac7e4 | — |
| beginning.punctuation.definition.list.markdown | #ff4579 | — |
| variable.other.php, variable.other.property.php | #bac7e4 | — |
| support.class.php | #fffa9e | — |
| meta.function-call.php punctuation | #bac7e4 | — |
| variable.other.global.php | #6af699 | — |
| variable.other.global.php punctuation.definition.variable | #6af699 | — |
| constant.language.python | #ff4579 | — |
| variable.parameter.function.python, meta.function-call.arguments.python | #82aaff | — |
| meta.function-call.python, meta.function-call.generic.python | #82aaff | — |
| punctuation.python | #bac7e4 | — |
| entity.name.function.decorator.python | #6af699 | — |
| source.python variable.language.special | #82aaff | — |
| variable.less, variable.other.less | #ff4579 | — |
| variable.scss, variable.sass, source.sass variable, variable.parameter.url.scss, variable.parameter.url.sass | #ff4579 | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #82aaff | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #bac7e4 | — |
| entity.name.tag.reference.scss | — | — |
| meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute, source.css.scss meta.property-list.scss entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css | #ffbf7a | — |
| entity.name.tag.scss, entity.name.tag.sass | #00d9ff | — |
| keyword.other.unit.scss, keyword.other.unit.sass | #fffa9e | — |
| variable.stylus, variable.other.stylus | #ff4579 | — |
| variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.ts, variable.object.property.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts | #bac7e4 | — |
| entity.name.type.ts, entity.name.type.tsx | #fffa9e | — |
| support.class.node.ts, support.class.node.tsx | #82aaff | — |
| meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type | #bac7e4 | — |
| meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block | #00d9ff | — |
| meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx | #82aaff | — |
| meta.tag.js meta.jsx.children.tsx | #82aaff | — |
| entity.name.tag.yaml | #82aaff | — |
| variable.other.readwrite.js, variable.parameter | #bac7e4 | — |
| support.class.component.js, support.class.component.js.jsx, support.class.component.tsx | #c792ea | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #bac7e4 | — |
| meta.class entity.name.type.class.tsx | #fffa9e | — |
| entity.name.type.tsx, entity.name.type.module.tsx | #fffa9e | — |
| meta.method.declaration storage.type.tsx | #82aaff | — |
| token.info-token | #82aaff | — |
| token.warn-token | #ffbf7a | — |
| token.error-token | #ff4579 | — |
| token.debug-token | #b267e6 | — |
| variable.language.this.ts, variable.language.this.js, variable.language.this.tsx, variable.language.this.jsx | #ffbf7a | — |
| variable.language.super.ts, variable.language.super.js, variable.language.super.tsx, variable.language.super.jsx | #ffbf7a | — |
| keyword.control.default.js, keyword.control.default.ts, keyword.control.default.tsx | #ff4579 | — |
| source.vue entity.name.tag.other.html, source.vue text.html.vue-html meta.tag.other.html | #c792ea | — |
| source.vue text.html.vue-html expression.embedded.vue meta.array.literal.js meta.brace.square.js | #ff4579 | — |
| source.vue text.html.vue-html meta.tag.block.any.html meta.directive.vue source.directive.vue meta.array.literal.js meta.brace.square.js, source.vue text.html.vue-html meta.tag.block.any.html meta.directive.vue source.directive.vue meta.objectliteral.js punctuation.definition.block.js | #ff4579 | — |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #6af699 | — |
| source.vue text.html.vue-html meta.tag.block.any.html meta.directive.vue source.directive.vue meta.brace.round.js | #00d9ff | — |
| source.vue text.html.vue-html meta.tag.other.html meta.directive.vue source.directive.vue variable.other.readwrite.js, source.vue text.html.vue-html meta.tag.other.html meta.directive.vue source.directive.vue variable.other.object.js, source.vue text.html.vue-html meta.tag.inline.any.html meta.directive.vue source.directive.vue variable.other.readwrite.js, source.vue text.html.vue-html meta.tag.block.any.html meta.directive.vue source.directive.vue variable.other.readwrite.js | #d1dfff | — |
| source.vue text.html.vue-html expression.embedded.vue variable.other.readwrite.js, source.vue text.html.vue-html expression.embedded.vue variable.other.object.js | #d1dfff | — |
| source.vue text.html.vue-html expression.embedded.vue variable.other.object.property, source.vue text.html.vue-html expression.embedded.vue variable.other.property.js | #ff4579 | — |
| source.vue meta.object-literal.key | #d1dfff | — |
| comment, punctuation.definition.comment, string.quoted.docstring, Keyword, keyword.control, keyword.operator.expression, Storage, italic, variable.language, entity.name.method.js, entity.name.method.jsx, entity.name.method.ts, entity.name.method.tsx, entity.other.attribute-name, tag.decorator.js entity.name.tag.js, tag.decorator.js entity.name.tag.js.jsx, tag.decorator.js entity.name.tag.jsx, tag.decorator.js punctuation.definition.tag.js, source.js constant.other.object.key.js string.unquoted.label.js, markup.italic, markup.quote, storage.modifier.async.js | — | italic |
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}!`;
}