Darker Green+
Publisher: drannex42Themes in package: 1
A darker green theme that's easy on the eyes (based on Dark Green+)
A darker green theme that's easy on the eyes (based on Dark 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.attribute.rust | #b1af2f | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust | #11c9aa | — |
| keyword.unsafe.rust | #c41b29 | — |
| meta.embedded, source.groovy.embedded | #e258bd | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #027a0c | — |
| comment.block.rust, comment.line.double-slash.rust | #7e7e7e | — |
| constant.language | #005f37 | — |
| constant.numeric | #b5cea8 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #068e76 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #30a8e8 | — |
| 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, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #d7ba7d | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #068e76 | bold |
| markup.heading | #068e76 | bold |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #0ac53c | — |
| markup.changed | #068e76 | — |
| punctuation.definition.quote.begin.markdown | #3fb70a | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #0ac53c | — |
| punctuation.definition.tag | #838383 | — |
| meta.preprocessor | #068e76 | — |
| meta.preprocessor.string | #0ac53c | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #30a8e8 | — |
| meta.diff.header | #068e76 | — |
| storage | #068e76 | — |
| storage.type | #068e76 | — |
| storage.modifier | #068e76 | — |
| string | #0ac53c | — |
| string.tag | #0ac53c | — |
| string.value | #0ac53c | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #99bd36 | — |
| meta.template.expression | #e258bd | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #30a8e8 | — |
| keyword | #068e76 | — |
| keyword.control | #068e76 | — |
| keyword.operator | #1cc238 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #068e76 | — |
| keyword.other.unit | #d5e4cb | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #068e76 | — |
| support.function.git-rebase | #30a8e8 | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #e258bd | — |
| variable.language | #068e76 | — |
| entity.name.function, support.function, support.constant.handlebars | #C586C0 | — |
| entity.name.function.rust, support.function.rust | #14a820 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #a1bb11 | — |
| entity.name.type.rust | #04db70 | — |
| storage.type.rust | #078d5a | — |
| punctuation.definition.type, entity.name.type.generic.rust | #e9e9e9 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #76a014 | — |
| keyword.control | #C586C0 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #30a8e8 | — |
| meta.object-literal.key | #30a8e8 | — |
| 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 | #0ac53c | — |
| 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 | #0ac53c | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #8fea7f | — |
| keyword.operator.quantifier.regexp | #d7ba7d | — |
| constant.character | #068e76 | — |
| constant.character.escape | #d7ba7d | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}