Sage of Light Theme
Publisher: Sage FennelThemes in package: 1
A light theme
A light 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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown | #001d1b | |
| emphasis | — | italic |
| strong | — | bold |
| header | #7900d8 | bold |
| comment, punctuation.definition.comment | #717171 | italic |
| constant.language | #337d00 | bold |
| constant.regexp | #337d00 | |
| support.class.component, entity.name.tag | #bd2b00 | |
| entity.name.tag.css | #001d1b | |
| entity.other.attribute-name | #56009f | |
| 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 | #56009f | |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #a62300 | bold |
| invalid | #bb005e | — |
| markup.underline | #0009fb | underline |
| markup.bold | #7900d8 | bold |
| markup.heading | #7900d8 | bold |
| markup.italic | #7900d8 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #006fd6 | — |
| markup.deleted | #d2004f | — |
| markup.changed | #b74700 | — |
| punctuation.definition.quote.begin.markdown | #8156c0 | |
| punctuation.definition.list.begin.markdown | #8156c0 | |
| markup.inline.raw | #337d00 | |
| punctuation.definition.tag | #8156c0 | |
| meta.preprocessor, entity.name.function.preprocessor | #bd2b00 | |
| meta.preprocessor.string | #337d00 | |
| constant.numeric, meta.preprocessor.numeric, entity.other.keyframe-offset.percentage.css | #337d00 | |
| meta.structure.dictionary.key.python | #7900d8 | bold |
| source.diff | #8156c0 | |
| meta.diff.header | #fff | — |
| storage | #001d1b | |
| source.java storage.type, source.go storage.type | #a62300 | bold |
| storage.type | #7900d8 | bold |
| storage.modifier, keyword.operator.noexcept | #7900d8 | bold |
| string, meta.embedded.assembly, constant.other.symbol | #337d00 | |
| string.tag | #7900d8 | bold |
| string.value | #337d00 | |
| string.regexp | #337d00 | |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #8156c0 | |
| meta.template.expression, meta.interpolation | #001d1b | |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #007c77 | |
| keyword | #7900d8 | bold |
| keyword.control | #7900d8 | bold |
| keyword.operator.type.annotation | #8156c0 | |
| keyword.operator | #8156c0 | |
| 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 | #7900d8 | bold |
| keyword.other.unit | #337d00 | bold |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #8156c0 | |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #001d1b | |
| variable.language | #337d00 | bold |
| meta.attribute, variable.other.property, variable.other.object.property | #007c77 | |
| entity.name.function, meta.function-call.generic, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #bd2b00 | |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class | #a62300 | bold |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #a62300 | bold |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #7900d8 | bold |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #001d1b | |
| variable.parameter | #007c77 | |
| meta.object-literal.key, variable.object.property, source.json support.type.property-name | #56009f | |
| 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 | #337d00 | bold |
| constant.other.placeholder | #7900d8 | 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 | #007c77 | |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #007c77 | |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #007c77 | |
| keyword.operator.quantifier.regexp | #007c77 | |
| constant.character, constant.other.option | #007c77 | |
| constant.character.escape | #007c77 | |
| entity.name.label | #001d1b | |
| punctuation, meta.brace | #8156c0 |
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}!`;
}