Glitch
Publisher: Gers2017Themes in package: 1
Glitch color theme for vscode
Glitch color theme for vscode
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 |
|---|---|---|
| storage.modifier.package, storage.modifier.import, variable.parameter, variable.other.readwrite.js, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.readwrite.cs, variable.other.object.cs, variable.other.object.property.cs, punctuation.definition.method-parameters, punctuation.definition.function-parameters, punctuation.definition.parameters, punctuation.definition.separator, punctuation.definition.seperator, punctuation.definition.array, punctuation.section.method, punctuation.section.class, punctuation.section.inner-class, meta.class.body, meta.method-call, meta.method, meta.separator, meta.tag, none, source.css property-name.support, source.css property-value.support, source.java-properties meta.key-pair > punctuation, customrule, support.type.property-name, source.ts punctuation.definition.typeparameters, source.js punctuation.definition.typeparameters, source.tsx punctuation.definition.typeparameters, source.ts punctuation.definition.block, source.js punctuation.definition.block, source.tsx punctuation.definition.block, source.ts punctuation.separator.comma, source.js punctuation.separator.comma, source.tsx punctuation.separator.comma, meta.brace.round.js, meta.array-binding-pattern-variable.js, meta.brace.square.js, meta.brace.round.ts, meta.array-binding-pattern-variable.ts, meta.brace.square.ts, meta.brace.round.tsx, meta.array-binding-pattern-variable.tsx, meta.brace.square.tsx, source.js punctuation.accessor, source.ts punctuation.accessor, source.tsx punctuation.accessor, punctuation.terminator.statement.js, punctuation.terminator.statement.ts, punctuation.terminator.statement.tsx, punctuation.separator.parameter.js, punctuation.separator.parameter.ts, punctuation.separator.parameter.tsx , meta.class.js,meta.class.ts,meta.class.jsx,meta.class.tsx, meta.definition.property.js variable, meta.definition.property.ts variable, meta.definition.property.jsx variable, meta.definition.property.tsx variable, meta.tag.js punctuation.section.embedded, meta.tag.jsx punctuation.section.embedded, meta.tag.ts punctuation.section.embedded, meta.tag.tsx punctuation.section.embedded, source.python constant.other, punctuation.separator.annotation.python, punctuation.separator.parameters.python, markup.raw.block.markdown, support.constant.property-value.css, meta.property-list.scss punctuation.separator.key-value.scss, markup.heading.setext, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown, meta.class.php, meta.array-binding-pattern-variable.ts variable.other.readwrite.ts, meta.array-binding-pattern-variable.tsx variable.other.readwrite.tsx, variable.other.readwrite.alias.js, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.jsx, variable.other.readwrite.alias.tsx, meta.export.default.js variable.other.readwrite.js, meta.export.default.ts variable.other.readwrite.ts, meta.array-binding-pattern-variable.js variable.other.readwrite.js | #A9B4C6 | — |
| comment, comment markup.link, punctuation.definition.comment, markup.quote.markdown | #495565 | — |
| variable, string.other.link, entity.name.tag, entity.name.namespace, meta.definition.variable, markup.deleted, markup.heading, source.java-properties meta.key-pair, source.json meta.structure.dictionary.json > string.quoted.json, source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string, support.type.property-name.json, support.type.property-name.json punctuation, support.variable.dom.js, support.variable.dom.ts, support.variable.property.dom.js, support.variable.property.dom.ts, support.variable.property.js, support.variable.property.ts, support.variable.property.tsx, keyword.control.default.js, keyword.control.default.ts, keyword.control.default.tsx, variable.other.constant.property.js, variable.other.constant.property.ts, variable.other.constant.property.tsx, keyword.other.unsafe.rust, source.js support.variable, source.ts support.variable, source.tsx support.variable, constant.language.import-export-all.js, constant.language.import-export-all.ts, support.type.object.module.js, support.type.object.module.jsx, support.type.object.module.ts, support.type.object.module.tsx, support.variable.magic.python, entity.name.variable.field.cs, punctuation.definition.variable.shell, punctuation.separator.key-value.scss, entity.name.section.markdown, punctuation.definition.heading.markdown, beginning.punctuation.definition.list.markdown, punctuation.separator.variable.ruby, punctuation.definition.variable.php, meta.template.expression.ts | #F65384 | — |
| keyword, keyword.operator, keyword.control, storage, storage.type.annotation, storage.type.primitive, punctuation.definition.italic, meta.selector, markup.changed, markup.italic, markup.link, source.c keyword.operator, source.cpp keyword.operator, source.cs keyword.operator, source.go storage.type.string, source.java keyword.operator.instanceof, source.js keyword.operator.delete, source.js keyword.operator.in, source.js keyword.operator.of, source.js keyword.operator.instanceof, source.js keyword.operator.new, source.js keyword.operator.typeof, source.js keyword.operator.void, source.python keyword.operator.logical.python, keyword.operator.expression.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.instanceof.tsx, keyword.operator.expression.of.js, keyword.operator.expression.of.ts, keyword.operator.expression.of.tsx, keyword.operator.new.ts, keyword.operator.new.j, keyword.operator.new.tsx, keyword.operator.expression.in.js, keyword.operator.expression.in.jsx, keyword.operator.expression.in.ts, keyword.operator.expression.in.tsx, source.ini keyword.other.definition.ini, source.js meta.tag.js keyword.operator, source.jsx meta.tag.jsx keyword.operator, source.ts meta.tag.ts keyword.operator, source.tsx meta.tag.tsx keyword.operator, source.cs keyword.operator, source.js keyword.operator, source.js.embedded.html keyword.operator, source.ts.embedded.html keyword.operator, source.ts keyword.operator, source.tsx keyword.operator, punctuation.definition.metadata.markdown, markup.underline.link.markdown, markup.underline.link.image.markdown | #A96AE8 | — |
| constant.character.escape, constant.other.color, constant.other.symbol, string.regexp, support.type, support.function, source.json meta.structure.dictionary.json > constant.language.json, source.json meta.structure.array.json > constant.language.json, punctuation.separator.key-value.ts, punctuation.separator.key-value.js, punctuation.separator.key-value.tsx, constant.language.import-export-all.jsx, constant.language.import-export-all.tsx, constant.language.json, storage.type.property.js, storage.type.property.jsx, storage.type.property.ts, storage.type.property.tsx, entity.name.type, string.regexp source.ruby.embedded, punctuation.definition.bold, support.class, entity.name.class, entity.name.type.class, meta.class, source.java storage.modifier.import, source.java storage.type, meta.array.literal.js variable, meta.array.literal.jsx variable, meta.array.literal.ts variable, meta.array.literal.tsx variable, storage.type.cs, storage.type.primitive.array.java | #52DABF | — |
| keyword.other.special-method, punctuation.definition.heading, punctuation.definition.identity, support.function.any-method, entity.name.function, entity.name.section, entity.other.attribute-name.id, meta.require, markup.heading punctuation.definition.heading, source.gfm link entity, entity.name.variable.property.cs, string.other.link.title.markdown, string.other.link.description.markdown, keyword.control.as.js, keyword.control.as.ts, keyword.control.as.jsx, keyword.control.as.tsx, meta.type.parameters.js support.type, meta.type.parameters.jsx support.type, meta.type.parameters.ts support.type, meta.type.parameters.tsx support.type, variable.other.property.js, variable.other.property.ts | #3DA5FB | — |
| constant.variable, keyword.other.unit, constant, constant.numeric, entity.other.attribute-name, meta.link, markup.bold, markup.quote, source.python variable.parameter, support.constant, variable.other.constant.js, variable.other.constant.ts, variable.other.constant.jsx, variable.other.constant.tsx, source.python constant, constant.character.format.placeholder.other.python storage, meta.function.parameters.python, punctuation.definition.constant.css, punctuation.definition.constant.scss, punctuation.definition.bold.markdown, variable.other.constant.ruby, variable.other.constant.object.js, variable.other.constant.object.jsx, variable.other.constant.object.ts, variable.other.constant.object.tsx | #E8A872 | — |
| string, entity.other.inherited-class, markup.inserted, markup.raw, source.json meta.structure.dictionary.json > value.json > string.quoted.json, source.json meta.structure.array.json > value.json > string.quoted.json, source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation, source.json meta.structure.array.json > value.json > string.quoted.json > punctuation, string.quoted.double punctuation, source.js meta.template.expression.js punctuation.accessor, source.ts meta.template.expression.ts punctuation.accessor, source.tsx meta.template.expression.tsx punctuation.accessor, entity.name.type.module.js,entity.name.type.module.ts,entity.name.type.module.jsx,entity.name.type.module.tsx, meta.template.expression.js string.quoted punctuation.definition, meta.template.expression.jsx string.quoted punctuation.definition, meta.template.expression.ts string.quoted punctuation.definition, meta.template.expression.tsx string.quoted punctuation.definition, meta.template.expression.js string.template punctuation.definition.string.template, meta.template.expression.jsx string.template punctuation.definition.string.template, meta.template.expression.ts string.template punctuation.definition.string.template, meta.template.expression.tsx string.template punctuation.definition.string.template, markup.inline.raw.markdown, keyword.operator.other.ruby | #AED57D | — |
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}!`;
}