Sherwood Forest
Publisher: Matt DeanThemes in package: 1
Nature inspired theme
Nature inspired 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 |
|---|---|---|
| beginning.punctuation.definition.list.markdown, constant.character.character-class.regexp.xi, constant.character.entity, constant.other.character-class.regexp, entity.name.label.cs, entity.name.section.markdown, entity.name.tag, entity.name.variable.enum-member.cs, entity.name.variable.field.cs, entity.name.variable.local.cs, entity.name.variable.parameter.cs, entity.name.variable.property.cs, keyword.other.unit, markup.deleted.diff, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown, markup.heading, meta.arguments.coffee, meta.definition.variable.name.groovy, meta.definition.variable.name.java, meta.function.c,meta.function.cpp, meta.object-literal.key, meta.property.object, meta.property-value.css, meta.scope.prerequisites.makefile, meta.symbol.clojure, punctuation.definition.ability.begin.unison, punctuation.definition.ability.end.unison, punctuation.definition.delayed.unison, punctuation.definition.hash.unison, punctuation.definition.heading.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.list.begin.unison, punctuation.definition.list.end.unison, punctuation.definition.list.markdown, punctuation.definition.metadata.markdown, punctuation.definition.metadata.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.operator.assignment.as.unison, punctuation.section.embedded, punctuation.separator.delimiter.unison, punctuation.separator.pipe.unison, selector.sass, source.java, support.type.object.console, support.type.property-name.json punctuation, support.type.property-name.json, support.type.property-name, support.variable.dom, support.variable.magic.python, support.variable.object.node, support.variable.object.process, support.variable.property.dom, support.variable.property, text.bracketed, text.variable, variable.interpolation, variable.language.rust, variable.other.class.php, variable.other.readwrite, variable.parameter.function.coffee, variable.parameter.function.js, variable | #e06c75 | — |
| constant.regexp.xi, emphasis md, keyword.control, keyword.operator.address.go, keyword.operator.arithmetic.go, keyword.operator.assignment.c, keyword.operator.assignment.compound, keyword.operator.assignment.cpp, keyword.operator.bitwise.shift.c, keyword.operator.bitwise.shift.cpp, keyword.operator.c, keyword.operator.comparison.c, keyword.operator.comparison.cpp, keyword.operator.cpp, keyword.operator.decrement.c, keyword.operator.decrement.cpp, keyword.operator.delete, keyword.operator.error-control.php, keyword.operator.expression.await, keyword.operator.expression.delete, keyword.operator.expression.in, keyword.operator.expression.instanceof, keyword.operator.expression.instanceof, keyword.operator.expression.keyof, keyword.operator.expression.new, keyword.operator.expression.of, keyword.operator.expression.typeof, keyword.operator.expression.void, keyword.operator.heredoc.php, keyword.operator.increment.c, keyword.operator.increment.cpp, keyword.operator.instanceof.java, keyword.operator.logical.python, keyword.operator.module, keyword.operator.new, keyword.operator.nowdoc.php, keyword.operator.optional, keyword.operator.regexp.php, keyword.operator.sigil.rust, keyword.operator.sizeof.c, keyword.operator.sizeof.cpp, keyword.operator.ternary, keyword.operator.type.php, keyword, markup.italic, meta.selector, punctuation.definition.italic, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.quasi.element, punctuation.section.embedded.begin, punctuation.section.embedded.end, punctuation.section.embedded, punctuation.separator.c, punctuation.separator.cpp, storage, support.constant.edge, support.type.fx.hlsl, support.type.object.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.sampler.hlsl, support.type.texture.hlsl, text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade, text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade, todo.emphasis, token.debug-token, token.package.keyword, token.storage, variable.other.generic-type.haskell | #c678dd | — |
| constant.character.format.placeholder.other.python, constant.numeric, constant, control.elements, entity.other.attribute-name.class.css, entity.other.attribute-name, inline-color-decoration rgb-value, keyword.operator.less, keyword.operator.quantifier.regexp, less rgb-value, markup.bold,todo.bold, punctuation.definition.bold.markdown, punctuation.definition.constant, storage.type.haskell, support.constant.color.w3c-standard-color-name.css, support.constant.color.w3c-standard-color-name.css, support.constant.color.w3c-standard-color-name.scss, support.constant.core.php, support.constant.core.rust, support.constant.elm, support.constant.ext.php, support.constant.font-name, support.constant.json, support.constant.parser-token.php, support.constant.property-value.css, support.constant.property-value.scss, support.constant.property.math, support.constant.std.php, support.variable.property.process, token.warn-token, variable.parameter.function.language.python, variable.parameter.function.python, wikiword.xi | #d19a66 | — |
| entity.global.clojure, entity.name.class.identifier.namespace.type, entity.name.class, entity.name.function.xi, entity.name.label.cs, entity.name.lifetime.rust, entity.name.namespace, entity.name.package.go, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition, entity.name.type.class, entity.name.type.module, entity.name.type.namespace, entity.name.type, entity.other.alias.php, entity.other.inherited-class, import.storage.java, keyword.operator.assignment.go, keyword.other.array.phpdoc.php, keyword.other.type.php, markup.changed.diff, meta.interface.php, meta.other.type.phpdoc.php, punctuation.definition.bold, source.makefile, storage.type.annotation.java, storage.type.cs, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.php, support.class, support.constant.math, support.module.node, support.module.node, support.other.namespace.php, support.other.namespace.use-as.php, support.other.namespace.use.php, support.type.builtin.ts, support.type.builtin.tsx, support.type.object.module, support.type.primitive.ts, support.type.primitive.tsx, support.type.primitive, support.type.swift, support.type.vb.asp, token.storage.type.java, variable.language, variable.other.class.js, variable.other.class.ts, variable.other.constant, variable.parameter.function.language.special.self.python | #e5c07b | — |
| accent.xi, constant.character.escape, constant.character.xi, constant.keyword.clojure, constant.language.symbol.elixir, constant.language.symbol.ruby, constant.other.symbol, entity.name.class.xi, entity.name.function, entity.name.function, entity.name.goto-label.php, entity.name.section, entity.other.attribute-name.id, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.keyframe-offset, keyword.operator.expression.import, keyword.other.special-method, markup.heading punctuation.definition.heading, meta.diff.header.from-file, meta.diff.header.to-file, meta.function-call.generic.python, meta.function-call.object.php, meta.function-call.php, meta.function-call.static.php, meta.function.decorator.identifier.python, meta.function.decorator.python, meta.method.groovy, meta.method.java, meta.require, punctuation.definition.from-file.diff, punctuation.definition.to-file.diff, rgb-value, source.json meta.structure.array.json > constant.language.json, source.json meta.structure.dictionary.json > constant.language.json, string.other.link.description.markdown, string.other.link.title.markdown, string.regexp, support.function.any-method, support.function.console, support.function.std.rust, support.function, support.other.php, support.token.decorator.python, support.type.object.dom, support.type.posix-reserved.c, support.type.posix-reserved.cpp, support.type.prelude.elm, support.type.python, support.type.type.flowtype, support.type.vendored.property-name.css, token.info-token, variable.function | #61afef | — |
| beginning.punctuation.definition.quote.markdown.xi, keyword.other.substitution.begin, keyword.other.substitution.end, keyword.other.template.begin, keyword.other.template.end, markup.inline.raw.markdown, markup.inline.raw.string.markdown, markup.inserted.diff, meta.definition.class.inherited.classes.groovy, punctuation.definition.string.begin, punctuation.definition.string.end, source.ini, 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 | #98c379 | — |
| markup.underline.link.image.markdown, markup.underline.link.markdown | #00cc8b | — |
| beginning.punctuation.definition.list.markdown.xi, comment markup.link, comment, markup.quote.markdown, punctuation.definition.comment, punctuation.definition.tag.xi | #ffffff60 | — |
| block.scope.begin, block.scope.end, function.brace, function.parameter.cs, function.parameter.ruby, function.parameter, invalid.illegal.bad-ampersand.html, invalid.xi, keyword.control.xi, keyword.operator, keyword.operator.arithmetic.php, keyword.operator.arithmetic, keyword.operator.assignment.compound.js, keyword.operator.assignment.compound.ts, keyword.operator.assignment, keyword.operator.bitwise.php, keyword.operator.bitwise, keyword.operator.channel, keyword.operator.comparison.php, keyword.operator.comparison, keyword.operator.css, keyword.operator.decrement, keyword.operator.increment, keyword.operator.less, keyword.operator.logical.php, keyword.operator.logical, keyword.operator.misc.rust, keyword.operator.relational, keyword.operator.scss, markup.heading.setext, meta.brace.square, meta.method-call.java, meta.method.body.java, meta.method.identifier.java, meta.tag, meta.template.expression, punctuation.bracket.angle.java, punctuation.definition.annotation.java, punctuation.definition.arguments.begin.bracket.round.php, punctuation.definition.arguments.begin.python, punctuation.definition.arguments.end.bracket.round.php, punctuation.definition.arguments.end.python, punctuation.definition.array.begin.bracket.round.php, punctuation.definition.array.end.bracket.round.php, punctuation.definition.begin.bracket.curly.php, punctuation.definition.begin.bracket.round.php, punctuation.definition.block.sequence.item.yaml, punctuation.definition.end.bracket.curly.php, punctuation.definition.end.bracket.round.php, punctuation.definition.list.begin.python, punctuation.definition.list.end.python, punctuation.definition.method-parameters.begin.java, punctuation.definition.method-parameters.end.java, punctuation.definition.parameters.begin.bracket.round.php, punctuation.definition.parameters.end.bracket.round.php, punctuation.definition.section.switch-block.begin.bracket.curly.php, punctuation.definition.section.switch-block.end.bracket.curly.php, punctuation.definition.section.switch-block.end.bracket.curly.php, punctuation.definition.section.switch-block.start.bracket.curly.php, punctuation.definition.storage-type.begin.bracket.round.php, punctuation.definition.storage-type.end.bracket.round.php, punctuation.parenthesis.begin.python, punctuation.parenthesis.end.python, punctuation.section.array.begin.php, punctuation.section.array.end.php, punctuation.section.block.begin.bracket.curly.c, punctuation.section.block.begin.bracket.curly.cpp, punctuation.section.block.begin.java, punctuation.section.block.end.bracket.curly.c, punctuation.section.block.end.bracket.curly.cpp, punctuation.section.block.end.java, punctuation.section.class.begin.bracket.curly.java, punctuation.section.class.begin.java, punctuation.section.class.end.bracket.curly.java, punctuation.section.class.end.java, punctuation.section.inner-class.begin.java, punctuation.section.inner-class.end.java, punctuation.section.method.begin.bracket.curly.java, punctuation.section.method.begin.java, punctuation.section.method.end.bracket.curly.java, punctuation.section.method.end.java, punctuation.section.parameters.begin.bracket.round.c, punctuation.section.parameters.end.bracket.round.c, punctuation.section.parens.begin.bracket.round.c, punctuation.section.parens.end.bracket.round.c, punctuation.section.scope.begin.php, punctuation.section.scope.end.php, punctuation.separator.arguments.python, punctuation.separator.delimiter.php, punctuation.separator.delimiter, punctuation.separator.element.python, punctuation.separator.key-value, punctuation.separator.list.comma.css, punctuation.separator.period.java, punctuation.separator.period.python, punctuation.terminator.expression.php, punctuation.terminator.java, punctuation.terminator.statement.c, storage.modifier.import, storage.modifier.lifetime, storage.modifier.package, storage.type.function.arrow, support.constant.property-value, token.package, token.variable.parameter.java, variable.c, variable.parameter.function | #ffffffc0 | — |
| constant.other.color.rgb-value.xi, invalid.broken, invalid.deprecated, invalid.illegal, invalid.unimplemented | #ffffff | — |
| invalid.illegal.non-null-typehinted.php, token.error-token | #f44747 | — |
| comment.block.documentation, comment.line.double-slash, entity.other.attribute-name.js, entity.other.attribute-name.jsx, entity.other.attribute-name.ts, entity.other.attribute-name.tsx, keyword.control.flow.python, keyword.control.import.python, markup.italic.markdown, variable.language.super, variable.parameter | — | 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}!`;
}