Horizons Edge Theme
Publisher: Darren PotterThemes in package: 1
An alright theme π
An alright 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 |
|---|---|---|
| meta.array, meta.brace, meta.export.js variable.other, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block, meta.function-call.php punctuation, meta.js punctuation.definition.js, meta.object-literal.key, object.comma, punctuation.definition.arguments, punctuation.definition.array, punctuation.definition.constant, punctuation.python, punctuation.section.array, punctuation.terminator.expression, source.go meta.function-call.go, string.other.link, support.class.js, support.type.object.console.js, support.type.property-name.json, terminator.js, variable.instance, variable.js, variable.object.property, variable.other.constant, variable.other.instance, variable.other.js, variable.other.meta.export.js, variable.other.object, variable.other.php, variable.other.property.js.jsx, variable.other.property.php, variable.other.readwrite, variable.other.ruby, variable.other.ts, variable.other.tsx, variable.parameter.function.coffee, variable.parameter.url.sass, variable.parameter.url.scss, variable.parameter, variable.readwrite.instance, variable.sass, variable.scss, variable.ts, variable.tsx, variable, source.css | #EEEEEE | |
| constant.other.color, entity.name.class, entity.name.type, entity.name.namespace, entity.name.scope-resolution, entity.other.inherited-class, entity.other.attribute-name.id, entity.name.function, entity.name.function.js, entity.name.tag, entity.name.tag.tsx, entity.name.tag.js, entity.name.type.class, keyword.other.unit, meta.property-values.css, meta.tag.other, meta.tag.js, meta.tag.tsx, meta.tag.html, meta.property-value.css, punctuation.definition.tag, string.template meta.template.expression, entity.quasi.element.js, support.function, support.class.php | #ffcc77 | |
| constant.character.escape, constant.other.color.rgb-value punctuation.definition.constant, entity.name.type.svelte, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.name.tag.wildcard, keyword.control.at-rule, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.export, keyword.control.flow, keyword.control.from, keyword.control.if.scss, keyword.control.import, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.module.js, keyword.control.module.ruby, keyword.control.ruby, keyword.operator, keyword.other.debugger, keyword.other.new, keyword.other.special-method, keyword, meta.attribute-selector.css entity.other.attribute-name.attribute, meta.attribute-selector.less entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute, meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute.prefetch.svelte, meta.delimiter.comma.js, meta.scope.tag.svelte:body.svelte entity.name.tag.svelte, meta.scope.tag.svelte:head.svelte entity.name.tag.svelte, meta.scope.tag.svelte:component.svelte entity.name.tag.svelte, meta.scope.tag.svelte:element.svelte entity.name.tag.svelte, meta.scope.tag.svelte:fragment.svelte entity.name.tag.svelte, meta.scope.tag.svelte:options.svelte entity.name.tag.svelte, meta.scope.tag.svelte:self.svelte entity.name.tag.svelte, meta.scope.tag.svelte:window.svelte entity.name.tag.svelte, punctuation.accessor, punctuation.definition.typeparameters, punctuation.separator.key-value.css, punctuation.separator.key-value, punctuation.separator.label.ts, punctuation.terminator.rule.css, punctuation.terminator.statement, storage.modifier.async.ts, support.constant.media, support.type.object.module.js, variable.function.svelte, meta.tag.component.astro, meta.selector.css | #FFA07A | |
| beginning.punctuation.definition.list.markdown, constant.character.numeric, constant.numeric, constant.other, entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc, entity.other.attribute-name.class, markup.changed, markup.heading.markdown, markup.heading.setext, markup.heading, markup.inline.raw.markdown, markup.quote.markdown, meta.attribute, meta.class meta.method.declaration meta.var.expr storage.type.js, meta.decorator punctuation.decorator, meta.diff.header.from-file, meta.diff.header.git, meta.diff.header.to-file, meta.function punctuation.separator.comma, meta.function-call.arguments.python, meta.function-call, meta.link.inline.markdown punctuation.definition.string, meta.method, meta.structure.dictionary.value.json string.quoted.double, meta.tag.attributes.js, meta.tag.js meta.jsx.children.tsx, meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type, meta.directive.class.svelte, meta.var.expr, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.string.markdown, source.css.scss meta.at-rule variable, source.elixir constant.other.keywords.elixir, source.elixir constant.other.symbol.elixir, source.elixir meta.module.elixir entity.name.class.elixir, source.elixir support.type.elixir, source.groovy.embedded, source.python variable.language.special, storage.modifier, storage.type.class, storage.type.cs, storage.type.extends, storage.type.function, storage.type.js, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx, storage.type.ts, support.class.node.ts, support.class.node.tsx, variable.function, variable.parameter.function.js, variable.parameter.function.python | #77aaff | |
| entity.name.type.alias.ts, entity.name.type.js, entity.name.type.module.js, entity.name.type.ts, meta.function-call.generic.python, meta.function-call.python, storage.type.enum.ts, storage.type.interface.ts, storage.type.type.ts, support.type.builtin.ts, support.type.primitive | #5CBE79 | |
| entity.name.function.decorator.python, entity.name.tag.custom, entity.other.attribute-name.id.html, markup.inserted.diff, punctuation.definition.string, source.elixir entity.name.function, source.elixir punctuation.definition.string, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir, source.elixir variable.other.readwrite.module.elixir, string.quoted, string.template, support.constant.json, support.variable.dom, variable.other.global.php punctuation.definition.variable, variable.other.global.php | #8EA765 | |
| meta.tag.any.slot.start.html entity.name.tag.html, meta.attribute.client:idle.html, meta.attribute.client:load.html, meta.attribute.client:visible.html, meta.attribute.client:media.html, meta.attribute.client:only.html, keyword.control.conditional.svelte, keyword.control.default, keyword.control.flow.svelte, keyword.control.svelte, keyword.other.animation.svelte, meta.attribute.sveltekit.svelte, punctuation.definition.keyword.svelte, variable.language.prototype, variable.language.this | #78F0E5 | |
| entity.name.tag.doctype, keyword.control.conditional, keyword.control.switch, keyword.control.trycatch, keyword.operator.bitwise, meta.delimiter.period, meta.selector, meta.tag.sgml.doctype.html, meta.tag.sgml.doctype, source.elixir .punctuation.binary.elixir, source.go keyword | #FF99FF | |
| italic, markup.italic.markdown | #FF99FF | italic |
| constant.language.symbol.hashkey.ruby, constant.other.object.key.js, entity.name.label.ts, entity.name.tag.less, entity.name.tag.sass, entity.name.tag.scss, entity.name.tag.yaml, keyword.control.operator, meta.property-list entity.name.tag.reference, meta.property-list entity.name.tag, meta.property-name, punctuation.definition.metadata.markdown, raw, string.quoted.double.json punctuation.definition.string.json, support.constant.meta.property-value, support.constant.vendor.property-value, support.type.property-name, support.type.vendor.property-name, support.variable.property, variable.assignment.coffee, variable.other.jsdoc, variable.other.phpdoc, variable.parameter.function | #7FDBCA | β |
| constant.character, constant.language.boolean, constant.language.null, constant.language.python, constant.language, constant.other, entity.name.tag.css, entity.name.tag.custom.css, meta.structure.dictionary.json meta.structure.dictionary.value constant.language, source.go constant.language.go, source.go constant.other.placeholder.go, support.constant.font-name.css, support.constant.math, support.constant.property-value.css | #E06666 | |
| meta.jsx, text.svelte, source.astro | #eeeeee | bold |
| comment, comment.line.double-slash | #6A6B72 | italic |
| markup.inline.raw, support.class, support.constant, support.type | #9966B8 | |
| invalid, invalid.deprecated | #A22D44 | |
| meta.diff, meta.diff.header | #E0EDDD | |
| markup.deleted | #DC322F | |
| markup.changed | #CB4B16 | |
| markup.inserted | #219186 | β |
| markup.quote, markup.bold, markup.italic | #22AA44 | β |
| markup.bold | β | bold |
| markup.italic | β | italic |
| markup.deleted.diff | #EF535090 | |
| string.regexp, string.regexp keyword.other | #5CA7E4 | β |
| support.type, support.class, support.class.component.tsx | #EE7575 | |
| invalid | #FFFFFF | β |
| invalid.deprecated | #FFFFFF | β |
| object | #CDEBF7 | β |
| invalid.broken | #020E14 | β |
| invalid.unimplemented | #FFFFFF | β |
| invalid.illegal | #FFFFFF | β |
| variable.interpolation | #EC5F67 | β |
| punctuation.section.embedded | #D3423E | β |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.definition.list, punctuation.definition.parameters, punctuation.separator.arguments | #D9F5DD | β |
| quote | #697098 | |
| entity.name.type.namespace.cs | #B2CCD6 | β |
| markup.bold.markdown, bold | #8EA765 | bold |
| markup.underline.link.markdown, markup.underline.link.image.markdown, entity.other.attribute-name.id | #FF869A | β |
| 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}!`;
}