Easy Light
Publisher: fransyrccThemes in package: 1
A VSCode theme for those who prefer light mode and avoid that halation effect
A VSCode theme for those who prefer light mode and avoid that halation effect
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 |
|---|---|---|
| variable.other.object.property.js | — | bold |
| comment, punctuation.definition.comment, string.quoted.docstring | #B2B2B2 | italic |
| variable.other.readwrite.alias.js, variable.other.readwrite.js, string constant.other.placeholder | #111111 | — |
| constant.other.php | #FB5607 | — |
| invalid, invalid.illegal | #E53935 | — |
| invalid.deprecated | #7C4DFF | — |
| keyword, storage.type, storage.modifier | #7C4DFF | — |
| Keyword, Storage | — | italic |
| constant.other.color, punctuation.definition.tag, punctuation, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #5c4dff | — |
| punctuation.definition.entity.css | #0746ce | — |
| keyword.control | #005092 | — |
| punctuation.separator.inheritance.php | #b5b4b4 | — |
| punctuation.section.embedded | #a70b0b | — |
| meta.other.type.phpdoc.php support.class.php | — | bold |
| support.class.builtin.js, meta.definition.method entity.name.function | #9d008b | — |
| meta.object-literal.key.js | #0092B3FA | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #083D77 | — |
| punctuation.separator.comma.js, punctuation.separator.comma.tsx, punctuation.definition.block.js, punctuation.definition.block.tsx, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.begin.tsx, punctuation.definition.parameters.end.js, punctuation.definition.parameters.end.tsx | #83338E | — |
| keyword.control | — | italic |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #9d008b | — |
| support.function, variable.function, keyword.other.special-method | #5d0cce | — |
| support.function.constructor.php | #9d008b | — |
| source.cpp meta.block variable.other | #FF5370 | — |
| variable.other.constant | #FF5370 | — |
| support.other.variable, string.other.link | #FF5370 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape | #eb4802 | — |
| keyword.other | #7C4DFF | — |
| keyword.other.phpdoc.php | #b5b4b4 | — |
| meta.function.parameters.php support.class.php | #91B859 | — |
| entity.other.attribute-name.class | #108f87 | |
| keyword.control | #032093 | |
| entity.name.function | #165ac6 | |
| variable.parameter.function.language.special, variable.parameter | #EB4802 | — |
| meta.array.literal.js | #000000 | — |
| string.quoted.single.js | #018333 | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #238227b1 | — |
| support.type | #8796B0 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #083D77 | — |
| meta.property-list.css, meta.property-value.css | #083D77 | — |
| variable.css, variable.scss, variable.less | #083D77 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #E53935 | — |
| variable.language | #E53935 | underline |
| entity.name.method.js | #6182B8 | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #6182B8 | — |
| entity.other.attribute-name | #0092b3fa | — |
| entity.other.attribute-name.id.css | #9d008b | |
| entity.name.tag.css | #a56900 | |
| source.sass keyword.control | #6182B8 | |
| string.regexp | #39ADB5 | — |
| constant.character.escape | #39ADB5 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #6182B8 | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #E53935 | — |
| string.quoted.double.json | #018333 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #9d008b | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, entity.name.tag.localname.xml | #083D77 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #3A86FF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ae6262 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF006E | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #39ADB5 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #84ca02 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7C4DFF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #91B859 | — |
| text.html.markdown, text.html.markdown meta.dummy.line-break, punctuation.definition.list_item.markdown | #5c5c5c | — |
| text.html.markdown string, markup.inline.raw.string.markdown, string.other.link.description.title.markdown | #018333 | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #3A86FF | — |
| text.html.markdown markup.inline.raw.markdown | #7C4DFF | — |
| markup.italic, markup.bold, markup.bold string, markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #FF5370 | bold |
| markup.heading.markdown | #3A86FF | — |
| string.other.link.title.markdown | #FF5370 | — |
| constant.other.reference.link.markdown | #FF5370 | — |
| markup.raw.block | #606060 | — |
| markup.fenced_code.block.markdown | #B2B2B2 | — |
| markup.italic, markup.quote | — | italic |
| markup.underline | — | underline |
| meta.separator.markdown | #3A86FF | bold |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js | #800080 | — |
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}!`;
}