Summer Vacation
Publisher: Danny McGeeThemes in package: 4
A vivid palette that's bright and colorful without being overbearing.
A vivid palette that's bright and colorful without being overbearing.
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 |
|---|---|---|
| #DBE6EC | — | |
| string, meta.attribute-selector.scss | #FFAB3F | — |
| punctuation.definition.string, punctuation.definition.char | #FFAB3F80 | — |
| string constant.character.escape | #66BDFF | — |
| string constant.other.placeholder | #96D2FF | — |
| punctuation.definition.group.regexp | #AEC1CC | — |
| punctuation.definition.character-class.regexp | #AEC1CC | — |
| constant.other.character-class.regexp | #0FDEBD | — |
| constant.other.character-class.range.regexp, constant.other.character-class.set.regexp, constant.other.character-class.set.regexp constant.other.character-class.regexp | #AEC1CC80 | — |
| constant.other.character-class.set.regexp constant.character.escape | #AEC1CCb3 | — |
| keyword.operator.quantifier.regexp | #FBCD5B | — |
| meta.assertion.look-ahead.regexp, meta.assertion.look-behind.regexp, punctuation.definition.group.no-capture.regexp | #AEC1CC80 | — |
| keyword.operator.negation.regexp, meta.assertion.negative-look-ahead.regexp, meta.assertion.negative-look-behind.regexp | #FA5E5B | — |
| constant.character.control.regexp | #B89FF7 | — |
| keyword.other.back-reference.regexp | #96D2FF | |
| keyword.control.anchor.regexp | #B89FF7 | |
| support.constant, constant.language.boolean, constant.language.true, constant.language.false, constant.language.null, constant.language.nullptr, constant.language.php, constant.other.boolean.toml, entity.helper.apacheconf, lifetime, punctuation.definition.lifetime, entity.name.type.lifetime | #66BDFF | italic |
| constant.numeric, constant.integer | #16C98D | — |
| constant.numeric.unit, keyword.other.unit | #B89FF7 | |
| constant.numeric.type-annotation | #2C98EC | — |
| keyword, modifier, storage.type, storage.modifier, support.module, support.node, support.type.object.module, support.type.function, support.type.primitive, constant.language, constant.character.entity.named, support.variable.property.prototype, support.function.construct.php | #2C98EC | italic |
| keyword.control, entity.other.ng-binding-name.template, entity.other.ng-binding-name.ngFor, entity.other.ng-binding-name.ngIf, entity.other.ng-binding-name.ngSwitch, entity.other.ng-binding-name.ngSwitchCase | #B89FF7 | italic |
| constant.character.entity.named punctuation.definition.entity | #2C98EC80 | — |
| meta.function.decorator.python support.type.python, entity.name.function.decorator, support.other.attribute.cpp, entity.other.attribute.nodiscard.cpp, annotation, support.annotation, entity.name.pragma, entity.name.annotation, punctuation.annotation, punctuation.decorator.ts, punctuation.decorator.tsx | #70C2FF | bold |
| meta.attribute punctuation.definition.attribute, meta.attribute punctuation.brackets.attribute, meta.attribute punctuation.brackets.round, meta.attribute punctuation.brackets, meta.attribute punctuation.brace, punctuation.brackets.attribute.rust, punctuation.definition.decorator.python | #AEC1CC | |
| entity.other.attribute, meta.attribute entity.name.type | #0FDEBD | italic |
| meta.attribute.rust string | — | |
| entity.name.function.preprocessor, preprocessor.directive, source.cpp keyword.control.directive, entity.name.tag.antlr, source.antlr entity.other.rule.option | #70C2FF | bold |
| comment | #247B5E | italic |
| comment.line.documentation, comment.line.double-slash.documentation, comment.block.documentation, string.quoted.docstring.multi.python | #1DA87A | |
| comment.line.documentation punctuation.definition.comment, comment.line.double-slash.documentation punctuation.definition.comment, comment.block.documentation punctuation.definition.comment, string.quoted.docstring.multi.python punctuation.definition.string | #247B5E | |
| meta.tag, meta.brace, constant.character.punctuation, string punctuation, punctuation.definition.entity, punctuation.definition.parameters, punctuation.definition.attribute-selector, punctuation.definition.sub-target, punctuation.brackets.round, punctuation.brace | #DBE6EC | |
| punctuation.definition.tag, punctuation.section.tag, punctuation.definition.interpolation, punctuation.definition.template-expression, punctuation.definition.ng-attribute-name, punctuation.definition.ng-binding-name, punctuation.definition.lit-binding, punctuation.section.embedded, support.function.construct.begin.blade, support.function.construct.end.blade, keyword.operator, storage.type.function.arrow, punctuation.separator, punctuation.accessor, punctuation.dot, punctuation.terminator, punctuation.comma, punctuation.semi, punctuation.brackets.attribute, punctuation.definition.attribute, entity.name.tag.wildcard, entity.name.tag.reference.scss, storage.modifier.pointer, storage.modifier.reference, entity.name.function.operator, punctuation.builtin-function.zig, meta.interpolation.go, punctuation.definition.pragma, source.python punctuation.section, punctuation.definition.function.return-type.cpp, punctuation.definition.lambda.return-type.cpp, string.regexp.antlr | #AEC1CC | |
| keyword.operator.expression, keyword.operator.wordlike, keyword.operator.functionlike, keyword.operator.alignof.cpp, keyword.operator.delete.cpp, keyword.operator.noexcept.cpp, keyword.operator.sizeof.cpp, keyword.operator.sizeof.variadic.cpp, keyword.operator.delete.array.cpp, keyword.operator.cast, keyword.operator.new, keyword.operator.logical.scss, keyword.operator.logical.css, keyword.operator.logical.python | #2C98EC | italic |
| punctuation.whitespace, constant.character.escape.line-continuation | #4E596C | — |
| variable, support.variable, entity.name.variable, constant.language.import-export-all, punctuation.definition.variable, meta.control.substitute.target, source.rust meta.attribute | #96D2FF | — |
| meta.function.parameters variable, variable.parameter, variable.other.parameter | #96D2FF | italic |
| punctuation.definition.ident.variable | #96D2FF80 | — |
| variable.language.this, variable.language.this.php punctuation.definition.variable.php, keyword.other.this | #2C98EC | italic |
| variable.language.this.gdscript | #2C98EC | italic |
| variable.language | #2C98EC | italic |
| property, variable.property, variable.object.property, support.variable.property, variable.other.constant.property, variable.other.object.property, variable.other.property, field, variable.field, entity.name.tag.yaml, entity.name.label, meta.object-literal.key, meta.object-literal.key string, meta.property-name, support.type.property-name, entity.name.variable.field, meta.control.substitute, string.key.json5, meta.attribute.python, meta.member.access meta.indexed-name.python, variable.zig | #66BDFF | — |
| punctuation.support.type.property-name, meta.object-literal.key punctuation.definition.string, punctuation.definition.ident.property | #66BDFF80 | — |
| support.class, entity.name.class, new.expr entity.name.type, entity.name.type.class, entity.name.type.instance, entity.name.type.enum, entity.name.type.struct, meta.var.expr meta.function-call entity.name.class, meta.var.expr new.expr entity.name.type, entity.other.attribute-name.class.css, entity.other.inherited-class, storage.type.class.AFDKO, variable.other.class.imba | #0FDEBD | |
| entity.name.type, support.type.graphql, storage.type.cs, new.expr meta.type.parameters entity.name.type, entity.name.scope-resolution, entity.name.type.namespace.cs, entity.name.namespace, entity.name.module, variable.other.enummember, entity.name.variable.enum-member, constant.other.class.php, constant.other.php, support.other.namespace, constant.other.caps.python, support.other.token.lexer.antlr | #0FDEBD | italic |
| punctuation.definition.ident.type, punctuation.definition.ident.enummember | #0FDEBD80 | — |
| support.type.builtin.ts, support.type.builtin.tsx, support.type.builtin.graphql, builtin, meta.type.annotation.imba | #2C98EC | italic |
| meta.type.annotation.open.imba | #4E596C | |
| entity.name.function.builtin | #FBCD5B | italic |
| entity.name.function, support.function, meta.function entity.name.function, meta.definition.method entity.name.function, meta.function-call.generic | #FBCD5B | — |
| punctuation.definition.ident.proc, punctuation.definition.ident.method, punctuation.definition.ident.template, punctuation.definition.ident.macro, punctuation.definition.ident.iterator, punctuation.definition.ident.converter, punctuation.definition.ident.func | #FBCD5B80 | — |
| meta.head.function.definition.special.operator-overload entity.name.operator | #E0C991 | — |
| entity.name.tag, entity.tag.apacheconf | #2C98EC | — |
| meta.tag.custom entity.name.tag, entity.name.tag support.class.component | #0FDEBD | — |
| entity.other.attribute-name.pseudo-element.css | #2C98EC | italic |
| entity.other.attribute-name, invalid.deprecated.entity.other.attribute-name | #66BDFF | italic |
| meta.attribute.class.html entity.other.attribute-name.html, meta.attribute.class.astro entity.other.attribute-name.astro, meta.attribute.class:list.astro entity.other.attribute-name.astro, entity.other.ng-binding-name.ngClass, entity.other.ng-binding-name.class | #0FDEBD | italic |
| meta.tag.attributes entity.other.event-name.imba | #FBCD5B | italic |
| meta.tag.attributes entity.other.event-modifier.imba | #66BDFF | italic |
| support.constant.property-value.css, entity.other.keyframe-offset.css | #AEC1CC | italic |
| entity.other.keyframe-offset.percentage.css | #16C98D | — |
| constant.other.color, support.constant.color | #DBE6EC | — |
| entity.other.attribute-name.pseudo-class | #0FDEBD | italic |
| entity.other.attribute-name.pseudo-element | #2C98EC | italic |
| meta.attribute.id.html entity.other.attribute-name.html, meta.attribute.id.astro entity.other.attribute-name.astro, entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss, entity.other.attribute-name.id.css punctuation.definition.entity.css, entity.other.attribute-name.id.scss punctuation.definition.entity.scss | #FBCD5B | italic |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #70C2FF | bold |
| string.js.taggedTemplate meta.embedded.block.html | #DBE6EC | — |
| meta.style.imba meta.selector.css | #0FDEBD | — |
| meta.style.imba support.type.property-name.modifier | #0FDEBD | italic |
| markup.heading | #0FDEBD | — |
| text.html.markdown markup.quote | #AEC1CC | — |
| markup.italic | #DBE6EC | italic |
| markup.bold | #DBE6EC | bold |
| markup.bold markup.italic, markup.italic markup.bold | #DBE6EC | italic bold |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #66BDFF | — |
| markup.inline.raw.string.markdown | #AEC1CC | — |
| punctuation.definition.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown, punctuation.definition.raw.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #AEC1CC | — |
| punctuation.definition.list.begin.markdown | #FFF | — |
| comment.block.documentation.ts markup.list.unnumbered.markdown punctuation.definition.list.begin.markdown, comment.block.documentation.tsx markup.list.unnumbered.markdown punctuation.definition.list.begin.markdown, comment.block.documentation.js markup.list.unnumbered.markdown punctuation.definition.list.begin.markdown | #AEC1CC | — |
| keyword.other.definition.ini, entity.name.tag.toml | #66BDFF | — |
| entity.name.section.group-title.ini, entity.other.attribute-name.table.toml, entity.other.attribute-name.table.array.toml | #0FDEBD | — |
| puncutation.definition.group.value, punctuation.definition.section.group-title.begin.ini, punctuation.definition.section.group-title.end.ini, keyword.operator.assignment.ini, keyword.operator.assignment.grammar | #DBE6EC | |
| entity.name.section.group-title.ini character.constant.punctuation.ini | #AEC1CC | — |
| source.gcode punctuation.definition.tag | #247B5E | italic |
| word.g.gcode, word.m.gcode | #FBCD5B | — |
| constant.numeric.X.klipper-gcode meta.parameter-specifier, word.x.gcode, word.x.gcode string | #FA5E5B | bold |
| constant.numeric.Y.klipper-gcode meta.parameter-specifier, word.y.gcode, word.y.gcode comment | #16C98D | bold |
| constant.numeric.Z.klipper-gcode meta.parameter-specifier, word.z.gcode, word.z.gcode constant.language | #2C98EC | bold |
| constant.numeric.E.klipper-gcode meta.parameter-specifier, word.e.gcode | #FBCD5B | bold |
| constant.numeric.F.klipper-gcode meta.parameter-specifier, word.f.gcode, word.f.gcode string | #FFAB3F | bold |
| word.s.gcode, word.s.gcode string, word.p.gcode, word.r.gcode | #16C98D |
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}!`;
}