Light Theme ( Prism )
Publisher: AlexanderThemes in package: 2
Light theme for ... eyes or something.
Light theme for ... eyes or something.
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 |
|---|---|---|
| comment, punctuation.definition.comment | #8d9aa6 | — |
| comment.block.preprocessor | #AAAAAA | |
| meta.brace.square, meta.brace.round, punctuation.separator.parameter | #999 | — |
| variable.parameter, meta.function.parameter variable | #990055 | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #494949 | — |
| invalid.deprecated | #96000080 | — |
| invalid, invalid.illegal | #d93556 | — |
| keyword.operator, constant.language.import-export-all | #9a6e3a | — |
| keyword, storage | #07a | — |
| storage.type, support.type, keyword.operator.expression, keyword.operator.new | #07a | — |
| cast.expr.ts meta.brace.angle.ts, keyword.operator.definiteassignment | #ee9900 | — |
| constant.language, support.constant, variable.language | #07a | — |
| support.variable.property.dom, support.variable.dom, support.variable.property, variable | #494949 | — |
| meta.template.expression punctuation.definition.template-expression, expression.embedded punctuation.definition.generic, punctuation.section.embedded, variable.interpolation, string.interpolated.pug, meta.interpolation.stylus meta.brace.curly | #EE9900 | bold |
| entity.name.function, support.function, new.expr entity.name.type | #d93556 | — |
| support.class | #d93556 | bold |
| entity.other.inherited-class | #690 | — |
| support.class | #690 | — |
| support.class.component | #d93556 | — |
| entity.name.type, support.type.primitive, support.type.builtin, meta.type.annotation entity.name.type, meta.type.parameters entity.name.type | #708090 | — |
| entity.name.type | — | bold |
| punctuation.definition.typeparameters, keyword.operator.type, keyword.operator.optional, source.tsx punctuation.section.embedded, source.jsx punctuation.section.embedded | #ee9900 | |
| entity.other.attribute-name.html, entity.other.attribute-name.id.html, entity.other.attribute-name.tsx | #07a | — |
| entity.name.exception | #660000 | — |
| constant.numeric, constant.character, constant, constant.language.boolean, constant.language.nan, constant.language.infinity, constant.language.undefined, constant.language.null, source.editorconfig constant.language | #990055 | bold |
| entity.other.inherited-class | — | bold |
| string, punctuation.definition.string | #690 | — |
| constant.character.escape | #ee9900 | — |
| string.regexp, string.regexp punctuation.definition.string | #ee9900 | — |
| constant.other.symbol | #AB6526 | — |
| punctuation | #999 | — |
| meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag, meta.tag.metadata.doctype entity.other.attribute-name.html, meta.tag.sgml.doctype | #8D9AA6bb | — |
| entity.name.tag | #990055 | — |
| meta.tag string | #07a | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #07a | — |
| constant.character.entity, punctuation.definition.entity | #AB6526 | — |
| meta.property-name, support.type.property-name | #990055 | — |
| keyword.control.at-rule.import | #07a | — |
| entity.other.attribute-name.class, entity.other.attribute-name punctuation.definition.entity | #690 | — |
| entity.name.tag.css | #ee9900 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #9a6e3a | — |
| entity.other.attribute-name.id.html | #690 | — |
| constant.numeric.css | #384048 | — |
| entity.other.attribute-name punctuation.definition.entity | #999 | — |
| constant.numeric keyword.other.unit | #8d9aa6 | — |
| variable.parameter.url | #9a6e3a | — |
| constant.other.color | #07a | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #07a | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #448C27 | — |
| keyword.other.important | #d93556 | bold |
| variable.scss | #ee9900 | — |
| entity.name.tag.reference.scss | #9a6e3a | — |
| markup.changed | #ee9900 | — |
| markup.deleted | #d93556 | — |
| markup.error | #660000 | — |
| markup.inserted | #690 | — |
| meta.link | #4B83CD | — |
| markup.output, markup.raw | #777777 | — |
| markup.prompt | #777777 | — |
| markup.heading | #AA3731 | — |
| markup.traceback | #660000 | — |
| markup.underline | — | underline |
| markup.quote | #7A3E9D | — |
| meta.diff.range, meta.diff.index, meta.separator | #07a | — |
| meta.diff.header.from-file | #990055 | — |
| meta.diff.header.to-file | #690 | — |
| entity.name.section.group-title.ini | #ee9900 | bold |
| punctuation.definition.entity.ini | #999 | — |
| keyword.other.definition.ini | #990055 | — |
| source.ini | #07a | — |
| entity.name.section.markdown, markup.heading.setext | #ee9900 | bold |
| punctuation.definition.list | #d93556 | — |
| markup.inline.raw | #07a | — |
| meta.link punctuation.definition.string, meta.image punctuation.definition.string | #999 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.underline.link.image.markdown | #990055DD | — |
| markup.heading.setext | #9ba6b1 | — |
| constant.numeric.json | #07a | — |
| string.interpolated.pug variable | #494949 | — |
| support.variable | #ee9900 | — |
| meta.tag string, source.vue string.quoted | #669900 | — |
| meta.directive.vue entity.other.attribute-name.html | #e19100 | — |
| meta.function-call.generic.python, meta.function-call support.type | #d93556 | — |
| punctuation.definition.list.end.python, punctuation.definition.list.begin.python | #999 | — |
| support.type.exception, entity.name.exception | #d93556 | bold |
| log.info | #0087c1 | — |
| log.warning | #ee9900 | — |
| log.error | #d93556 | — |
| log.debug | #9a6e3a | — |
| log.constant | #990055 | — |
| comment.block.documentation variable.other.jsdoc | #494949 | — |
| punctuation.definition.directive | #990055 | — |
| string.quoted.other.lt-gt.include punctuation.definition.string | #999 | — |
| punctuation.separator.namespace | #9a6e3a | — |
| meta.import.java storage.modifier | #990055 | — |
| keyword.operator.instanceof.java | #07a | — |
| punctuation.definition.variable.begin.batchfile, punctuation.definition.variable.end.batchfile | #d93556 | — |
| keyword.type | #708090 | — |
| entity.name.type.namespace | #ee9900 | — |
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}!`;
}