Fresh Green Theme
Publisher: Sage FennelThemes in package: 1
A light theme inspired by fresh white and bold green.
A light theme inspired by fresh white and bold green.
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.embedded, source.groovy.embedded, string meta.image.inline.markdown | #161616 | |
| emphasis | — | italic |
| strong | — | bold |
| header | #ba0094 | bold |
| comment, punctuation.definition.comment | #696969 | italic |
| constant.language | #008323 | bold |
| constant.regexp | #008323 | |
| entity.name.tag support.class.component, entity.name.tag | #0069cc | bold |
| entity.name.tag.css | #161616 | |
| entity.other.attribute-name | #b80093 | |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #b80093 | |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #0069cc | bold |
| invalid | #bb005e | — |
| markup.underline | #0009fb | underline |
| markup.bold | #ba0094 | bold |
| markup.heading | #ba0094 | bold |
| markup.italic | #ba0094 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #70f | — |
| markup.deleted | #d2004f | — |
| markup.changed | #845b00 | — |
| punctuation.definition.quote.begin.markdown | #a34a3d | |
| punctuation.definition.list.begin.markdown | #a34a3d | |
| markup.inline.raw | #008323 | |
| punctuation.definition.tag | #a34a3d | |
| meta.preprocessor, entity.name.function.preprocessor | #0069cc | |
| meta.preprocessor.string | #008323 | |
| constant.numeric, meta.preprocessor.numeric, entity.other.keyframe-offset.percentage.css | #008323 | |
| meta.structure.dictionary.key.python | #ba0094 | bold |
| source.diff | #a34a3d | |
| meta.diff.header | #fff | — |
| storage | #161616 | |
| source.java storage.type, source.go storage.type | #0069cc | bold |
| storage.type | #ba0094 | bold |
| storage.modifier, keyword.operator.noexcept | #ba0094 | bold |
| string, meta.embedded.assembly, constant.other.symbol | #008323 | |
| string.tag | #ba0094 | bold |
| string.value | #008323 | |
| string.regexp | #008323 | |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #a34a3d | |
| meta.template.expression, meta.interpolation | #161616 | |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #7038e5 | |
| keyword | #ba0094 | bold |
| keyword.control | #ba0094 | bold |
| keyword.operator.type.annotation | #a34a3d | |
| keyword.operator | #a34a3d | |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #ba0094 | bold |
| keyword.other.unit | #008323 | bold |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #a34a3d | |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #161616 | |
| variable.language | #008323 | bold |
| meta.attribute, variable.other.property, variable.other.object.property | #7038e5 | |
| entity.name.function, meta.function-call.generic, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #0069cc | |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class | #0069cc | bold |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #0069cc | bold |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #ba0094 | bold |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #161616 | |
| variable.parameter | #7038e5 | |
| meta.object-literal.key, variable.object.property, source.json support.type.property-name | #b80093 | |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #008323 | bold |
| constant.other.placeholder | #ba0094 | bold |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #7038e5 | |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #7038e5 | |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #7038e5 | |
| keyword.operator.quantifier.regexp | #7038e5 | |
| constant.character, constant.other.option | #7038e5 | |
| constant.character.escape | #7038e5 | |
| entity.name.label | #161616 | |
| punctuation, meta.brace | #a34a3d |
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}!`;
}