Squirrelsong Light Theme
Publisher: Artem SapeginThemes in package: 3
Low-contrast light color theme
Low-contrast light color 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 |
|---|---|---|
| markup.bold | — | bold |
| markup.italic, string.unquoted.heredoc.no-indent | — | italic |
| entity.name.section.markdown, entity.name.section.mdx | #4c4b4e | bold |
| storage.type.class.jsdoc, constant.character, meta.separator.markdown, markup.heading, markup.heading.markdown, markup.heading.setext.1, markup.heading.setext.2, string.other.strong.asterisk.mdx, meta.attribute.rust, meta.shebang.shell | #78737d | bold |
| meta.separator, meta.brace.square.js, meta.brace.square.ts, meta.brace.square.tsx, punctuation.section.embedded.begin.astro, punctuation.section.embedded.end.astro, punctuation.section.arguments.begin.bracket.round.c, punctuation.section.arguments.end.bracket.round.c, punctuation.section.parens.begin.bracket.round.c, punctuation.section.parens.end.bracket.round.c, punctuation.separator.delimiter.comma.cpp, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css, punctuation.bracket.square.java, punctuation.definition.parameters.begin.bracket.round.java, punctuation.definition.parameters.end.bracket.round.java, punctuation.section.array-initializer.begin.bracket.curly.java, punctuation.section.array-initializer.end.bracket.curly.java, meta.brace.round.js, meta.brace.round.ts, meta.brace.round.tsx, meta.jsx.children.js.jsx, meta.jsx.children.js, meta.jsx.children.tsx, meta.parameter.object-binding-pattern.js.jsx, meta.parameter.object-binding-pattern.js, punctuation.definition.block.tsx, punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.begin.ts, punctuation.definition.parameters.begin.tsx, punctuation.definition.parameters.end.js, punctuation.definition.parameters.end.ts, punctuation.definition.parameters.end.tsx, punctuation.separator.comma.js, punctuation.separator.comma.ts, punctuation.separator.comma.tsx, punctuation.separator.dictionary.pair.json, punctuation.separator.array.json.comments, punctuation.separator.array.json, punctuation.definition.heading.markdown, punctuation.definition.heading.mdx, string.other.emphasis.underscore.mdx, string.other.link.description.markdown, string.other.link.description.title.markdown, string.other.link.title.markdown, text.html.markdown, punctuation.definition.arguments.begin.python, punctuation.definition.arguments.end.python, punctuation.definition.dict.begin.python, punctuation.definition.dict.end.python, punctuation.definition.list.begin.python, punctuation.definition.list.end.python, punctuation.separator.arguments.python, string.unquoted.argument.shell, punctuation.definition.arguments.begin.swift, punctuation.definition.arguments.end.swift, meta.function-call.swift, punctuation.definition.parameters.begin.swift, punctuation.definition.parameters.end.swift, punctuation.section.collection-type.begin.swift, punctuation.section.collection-type.end.swift, meta.resultLinePrefix.matchLinePrefix.search | #78737d | |
| invalid.deprecated, markup.strikethrough | #9c96a2 | strikethrough |
| comment, meta.diff.range.unified, constant.other.reference.link.markdown, fenced_code.block.language.markdown, markup.inline.raw.string, markup.underline.link.image, markup.underline.link, meta.link.reference.def.markdown, meta.link.reference.markdown, punctuation.definition.link.description.begin.markdown, punctuation.definition.link.description.end.markdown, punctuation.definition.link.markdown, punctuation.definition.link.title.begin.markdown, punctuation.definition.link.title.end.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.markdown, punctuation.definition.metadata.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.table.markdown, punctuation.separator.table.markdown, keyword.other.tasklist.mdx, string.other.begin.image.mdx, string.other.begin.link.mdx, string.other.begin.mdx, string.other.end.mdx, string.other.link.destination.mdx, string.other.number.mdx, variable.ordered.list.mdx, variable.unordered.list.mdx, meta.resultLinePrefix.search | #9c96a2 | |
| keyword.operator.quantifier.regexp, keyword.other.back-reference.regexp, punctuation.definition.group.no-capture.regexp, meta.assertion.look-ahead.regexp, meta.assertion.negative-look-ahead.regexp, meta.assertion.look-behind.regexp, meta.assertion.negative-look-behind.regexp, punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.begin.tsx, punctuation.definition.template-expression.end.tsx, keyword.operator.c, keyword.operator.null-conditional.cs, keyword.operator.relational.cs, keyword.operator.increment.cs, keyword.operator.conditional.question-mark.cs, keyword.operator.conditional.colon.cs, keyword.operator.arrow.cs, entity.name.scope-resolution.cpp, entity.name.scope-resolution.parameter.cpp, entity.name.scope-resolution.template.call.cpp, entity.other.attribute-name.pseudo-class.css, keyword.control.at-rule.font-face.css, keyword.control.at-rule.css, keyword.control.at-rule.media.css, keyword.operator.combinator.css, keyword.operator.arithmetic.css, keyword.operator.address.go, storage.type.function.arrow.js, storage.type.function.arrow.ts, storage.type.function.arrow.tsx, keyword.operator.comparison.js, keyword.operator.comparison.ts, keyword.operator.comparison.tsx, keyword.operator.logical.js, keyword.operator.logical.ts, keyword.operator.logical.tsx, keyword.operator.optional.ts, keyword.operator.optional.tsx, keyword.operator.relational.js, keyword.operator.relational.ts, keyword.operator.relational.tsx, keyword.operator.arithmetic.js, keyword.operator.arithmetic.ts, keyword.operator.arithmetic.tsx, keyword.operator.ternary.js, keyword.operator.ternary.ts, keyword.operator.ternary.tsx, keyword.operator.assignment.compound.js, keyword.operator.assignment.compound.ts, keyword.operator.assignment.compound.tsx, keyword.operator.type.ts, keyword.operator.type.tsx, keyword.operator.increment.js, keyword.operator.increment.ts, keyword.operator.increment.tsx, keyword.operator.decrement.js, keyword.operator.decrement.ts, keyword.operator.decrement.tsx, punctuation.accessor.optional.js, punctuation.accessor.optional.ts, punctuation.accessor.optional.tsx, keyword.operator.arithmetic.php, keyword.operator.logical.php, keyword.operator.comparison.php, keyword.operator.arithmetic.python, keyword.operator.logical.python, keyword.operator.comparison.python, punctuation.separator.slice.python, keyword.operator.arithmetic.ruby, keyword.operator.logical.ruby, keyword.operator.comparison.ruby, keyword.operator.borrow.and.rust, keyword.operator.css, keyword.control.at-rule.fontface.scss, keyword.control.at-rule.use.scss, keyword.control.at-rule.mixin.scss, keyword.control.at-rule.include.scss, entity.name.tag.reference.scss, keyword.operator.heredoc.shell, keyword.operator.logical.shell, keyword.operator.pipe.shell, keyword.operator.redirect.shell, punctuation.definition.string.heredoc.delimiter.shell, punctuation.definition.subshell.single.shell, punctuation.separator.statement.and.shell, punctuation.separator.statement.background.shell, storage.type.tag-handle.yaml | #5f9b8d | bold |
| support.type, constant.other.color, constant.other, keyword.operator, keyword.operator.class, punctuation.definition.group.regexp, storage.type.built-in.primitive.c, storage.type.struct.c, punctuation.separator.dot-access.c, punctuation.separator.pointer-access.c, keyword.type.cs, entity.name.variable.property.cs, entity.name.type.cs, entity.name.type.namespace.cs, punctuation.accessor.cs, entity.name.type.parameter.cpp, entity.name.type.cpp, punctuation.separator.namespace.access.cpp, punctuation.separator.colon.cs, punctuation.separator.initializers.cpp, punctuation.separator.key-value.css, entity.other.attribute-name.pseudo-element.css, storage.type.numeric.go, storage.type.string.go, punctuation.separator.key-value.editorconfig, entity.name.type.go, entity.name.package.go, punctuation.separator.key-value.ini, storage.type.java, storage.type.primitive.java, storage.type.object.array.java, support.type.primitive.ts, support.type.primitive.tsx, entity.name.type.ts, entity.name.type.tsx, entity.name.type.interface.ts, entity.name.type.interface.tsx, entity.name.type.alias.ts, entity.name.type.alias.tsx, entity.name.type.enum.ts, entity.name.type.enum.tsx, entity.name.type.module.ts, entity.name.type.module.tsx, entity.name.type.instance.jsdoc, entity.other.inherited-class.ts, entity.other.inherited-class.tsx, punctuation.separator.key-value.ts, punctuation.separator.key-value.tsx, punctuation.accessor.js, punctuation.accessor.ts, punctuation.accessor.tsx, punctuation.accessor.js.jsx, punctuation.separator.dictionary.key-value.json, source.php.embedded.line, keyword.other.type.php, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, punctuation.separator.colon.python, punctuation.separator.dict.python, punctuation.separator.annotation.python, punctuation.separator.period.python, punctuation.section.class.begin.python, punctuation.section.function.begin.python, punctuation.separator.namespace.ruby, punctuation.separator.method.ruby, punctuation.separator.other.ruby, punctuation.definition.constant.hashkey.ruby, entity.name.type.module.ruby, entity.name.type.rust, entity.name.type.numeric.rust, entity.name.type.lifetime.rust, entity.name.type.primitive.rust, entity.name.type.enum.rust, entity.name.type.declaration.rust, entity.name.namespace.rust, punctuation.definition.lifetime.rust, punctuation.separator.key-value.scss, support.type.swift, punctuation.separator.argument-label.swift, meta.parameter-clause.swift, entity.name.type.anchor.yaml, punctuation.definition.anchor.yaml, punctuation.separator.key-value.mapping.yaml | #5f9b8d | |
| constant.character.escape.backslash.regexp, constant.character.numeric.regexp, keyword.other.ts, constant.character.escape.js, constant.character.escape.ts, constant.character.escape.tsx, constant.character.escape.json | #9bae7e | bold |
| string, constant.other.symbol, entity.other.inherited-class, constant.keyword.clojure, variable.parameter.url.css, meta.diff.header.to-file, markup.inserted.diff, meta.attribute-selector.scss, string.unquoted.argument.shell | #9bae7e | |
| entity.name.function, entity.name.class, entity.name.type.class, support.function.calc.css, support.function.url.css, support.function.misc.css, support.function.shape.css, support.class.php, support.function.builtin.python, meta.function-call.python, meta.function-call.generic.python, support.function.kernel.ruby, keyword.other.special-method.ruby, entity.name.function.scss, support.function.calc.scss, support.function.url.scss, support.function.misc.scss, support.function.shape.scss, support.function.builtin.shell | #80a4be | bold |
| variable, variable.parameter, variable.argument.css, variable.css, entity.other.attribute-name.class.css, entity.name.variable.parameter.cs, entity.name.variable.field.cs, variable.other.readwrite.cs, meta.symbol.clojure, variable.other.constant.js, variable.other.constant.js.jsx, variable.other.constant.ts, variable.other.constant.tsx, variable.other.object.js, variable.other.object.js.jsx, variable.other.object.ts, variable.other.object.tsx, variable.other.readwrite.js, variable.other.readwrite.js.jsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.readwrite.alias.js, variable.other.readwrite.alias.js.jsx, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.jsdoc, variable.parameter.js, variable.parameter.js.jsx, variable.parameter.ts, variable.parameter.tsx, variable.other.php, constant.other.caps.python, meta.function-call.arguments.python, variable.legacy.builtin.python, variable.other.ruby, variable.other.constant.ruby, variable.other.block.ruby, variable.other.readwrite.global.ruby, variable.other.normal.shell, variable.other.assignment.shell, variable.parameter.function.swift | #80a4be | italic |
| keyword.other.special-method, meta.block-level, meta.function-call, support.function, support.other.variable, entity.other.attribute-name, entity.other.attribute-name.astro, variable.other.member.c, meta.at-rule.media.header.css, support.type.property-name.css, entity.name.variable.local.cs, entity.global.clojure, support.constant.language-range.css, support.type.vendored.property-name.css, support.type.property-name.media.css, entity.other.attribute-name.css, meta.property-name.css, meta.property-name.media-query.scss, keyword.other.definition.indent_style.editorconfig, keyword.other.definition.end_of_line.editorconfig, keyword.other.definition.charset.editorconfig, keyword.other.definition.trim_trailing_whitespace.editorconfig, keyword.other.definition.insert_final_newline.editorconfig, keyword.other.definition.indent_size.editorconfig, keyword.other.definition.root.editorconfig, entity.other.attribute-name.html, keyword.other.definition.ini, variable.other.object.property.java, meta.object-literal.key.js, meta.object-literal.key.ts, meta.object-literal.key.tsx, entity.other.attribute-name.js.jsx, entity.other.attribute-name.tsx, support.variable.property.js, support.variable.property.ts, support.variable.property.tsx, support.variable.property.importmeta.js, support.variable.property.importmeta.ts, support.variable.property.importmeta.tsx, variable.other.property.js, variable.other.property.ts, variable.other.property.tsx, support.type.property-name.json, variable.other.property.php, meta.attribute.python, meta.indexed-name.python, constant.other.symbol.hashkey.ruby, constant.language.symbol.hashkey.ruby, entity.other.attribute-name.localname.xml, entity.name.tag.yaml | #80a4be | |
| keyword, storage, storage.type, entity.name.tag.astro, support.class.component.astro, entity.name.tag.localname.cs, entity.name.tag.css, meta.diff.header.git, meta.section.header.editorconfig, keyword.operator.glob.wildcard.editorconfig, entity.name.tag.html, entity.name.section.group-title.ini, entity.name.tag.js, entity.name.tag.jsx, entity.name.tag.tsx, keyword.operator.expression.in.js, keyword.operator.expression.in.ts, keyword.operator.expression.in.tsx, keyword.operator.expression.of.js, keyword.operator.expression.of.ts, keyword.operator.expression.of.tsx, keyword.operator.expression.typeof.js, keyword.operator.expression.typeof.ts, keyword.operator.expression.typeof.tsx, keyword.operator.new.js, keyword.operator.new.ts, keyword.operator.new.tsx, support.class.component.js, support.class.component.jsx, support.class.component.tsx, constant.character.format.placeholder.other.python, punctuation.section.embedded.begin.ruby, punctuation.section.embedded.end.ruby, punctuation.definition.variable.shell, punctuation.definition.evaluation.parens.begin.shell, punctuation.definition.evaluation.parens.end.shell, punctuation.definition.string.heredoc.shell, entity.name.tag.localname.xml | #ac9bc5 | bold |
| entity.name.tag, meta.tag, declaration.tag, punctuation.definition.tag.closing.jsx, punctuation.definition.tag.end.jsx, punctuation.definition.tag.self-closing.jsx, punctuation.section.embedded.begin.js.jsx, punctuation.section.embedded.begin.js, punctuation.section.embedded.begin.ts, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.js.jsx, punctuation.section.embedded.end.js, punctuation.section.embedded.end.ts, punctuation.section.embedded.end.tsx, variable.language.swift | #ac9bc5 | |
| keyword.other.important.css | #d67e76 | bold |
| keyword.operator.negation.regexp, constant.other.character-class.regexp | #de9e59 | bold |
| punctuation.definition.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.range.regexp, constant.numeric, constant.language, support.constant, keyword.other.unit, entity.other.attribute-name.placeholder.css, meta.property-value.css, meta.property-value.media-query.scss, constant.language.json | #de9e59 | |
| keyword.control.anchor.regexp, entity.other.attribute-name.id.css, variable.language.this.java, variable.language.this.js, variable.language.this.ts, variable.language.this.tsx, variable.language.this.php, variable.language.special.self.python, variable.language.self.rust | #e4c158 | bold |
| invalid.illegal, meta.diff.header.from-file, markup.deleted.diff | #d67e76 | — |
| meta.path.search | #527b98 | underline |
| meta.path.basename.search | #527b98 | bold underline |
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}!`;
}