Calvin-Theme
Publisher: CalvinStudioThemes in package: 3
Calvin-Online
Calvin-Online
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, keyword.control | #ffaeae | — |
| comment | #699c4b | — |
| keyword.operator | #D3CAFF | — |
| Number | #66D1BA | italic |
| punctuation.definition.template-expression, punctuation.section.embedded | #FFADCB | — |
| meta.template.expression | #FFFFB8 | — |
| constant.language | #C7A9FF | — |
| constant.character, constant.other | #CAAEFF | — |
| variable | #cdffcd | — |
| storage.type | #00ffff | italic |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution | #FF2E2E | italic bold underline |
| entity.other.inherited-class | #EB612B | italic underline |
| variable.parameter | #D9FF00 | italic underline |
| entity.name.tag | #FFADCB | |
| entity.other.attribute-name,storage.modifier | #cde59d | |
| support.function | #ce9178 | |
| support.constant | #ACF1FF | |
| support.type, support.class | #AAF1FF | italic |
| invalid | #D4FAFF | |
| invalid.deprecated | #F8F8F0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #CFCFC2 | — |
| string.quoted.single | #CE9178 | — |
| support | #CE9178 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #FFA7C7 | — |
| markup.inserted | #E2FFA8 | — |
| markup.changed | #FFF7AE | — |
| constant.numeric.line-number.find-in-files - match | #D6C1FFA0 | — |
| entity.name.filename.find-in-files | #FFD560 | — |
| markup.quote | #FFB0CD | — |
| markup.list | #FFEE56 | — |
| markup.bold, markup.italic | #66D9EF | — |
| markup.inline.raw | #FFD09B | |
| markup.heading | #E2FFA7 | — |
| markup.heading.setext | #E1FFA6 | bold |
| markup.heading.markdown | — | bold |
| markup.quote.markdown | #75715E | italic |
| markup.bold.markdown | — | bold |
| string.other,string.quoted.double | #C8AAFF | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown,string.single | #ddffa7 | — |
| markup.italic.markdown | — | italic |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #F8F8F2 | — |
| punctuation.definition.list.begin.markdown,string.quoted.triple | #E1FFA4 | — |
| token.info-token | #A4C6FF | — |
| token.warn-token | #D4B57A | — |
| token.error-token | #FFA6A6 | — |
| token.debug-token | #C28DE9 | — |
| variable.language | #FFCF98 | — |
| entity.other.attribute-name.pseudo-element.css, entity.other.inherited-class, markup.italic.markdown, markup.quote, meta.function.variable.css, punctuation.definition.italic.markdown, punctuation.definition.string.css, string.quoted.double.css, variable.argument.css | — | italic |
| meta.brace, punctuation.definition.array, punctuation.definition.binding-pattern, punctuation.definition.block, punctuation.definition.dictionary, punctuation.definition.string, punctuation.definition.tag, punctuation.curlybrace, punctuation.fullstop, punctuation.section, punctuation.support, punctuation.terminator, meta.structure.dictionary.json, string.quoted.double.json, constant.other.table-name.sql | #F6F0FF | — |
| support.variable, support.type.property-name, variable.other.object.property, meta.object-literal.key.js, string.other.link.description.markdown | #70ffff | — |
| keyword.var, keyword.const, constant, keyword.struct, keyword.interface, keyword.function, markup.inline.raw, punctuation.parenthesis.named.begin.regexp, punctuation.parenthesis.named.end.regexp, punctuation.parenthesis.non-capturing.begin.regexp, punctuation.parenthesis.non-capturing.end.regexp, support.class, markup.inserted, entity.name.type, entity.other.inherited-class, entity.other.attribute-name.id.css | #cc4bff | — |
| punctuation.terminator, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css, punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.css | #919CB9 | — |
| constant.other.database-name.sql, variable.other.object | #C5B9DF | — |
| markup.quote, markup.bold, markup.italic, string.quoted.single.js, string.quoted.double.js, meta.link.inline.markdown, meta.image.inline.markdown, markup.underline.link, entity.name.type.js | #50DFFE | — |
| string.quoted.docstring, storage.type.function, keyword.type, punctuation.accessor, punctuation.separator, meta.brace.square.js, meta.brace.square.ts | #E7ADFB | — |
| entity.name.function, entity.name.type, entity.other.attribute-name, entity.other.inherited-class, markup.heading.setext, meta.function-call.generic, support.other.escape.special.regexp | #9000ff | underline |
| entity.name.tag, support.function.builtin, constant.numeric, markup.bold, markup.underline, markup.italic, string.quoted.double.css, punctuation.definition.string.css | #e97cff | — |
| entity.name.section, keyword, variable.language, punctuation.definition.heading, punctuation.definition.keyword, keyword.other.DML.sql, constant.character.escape.markdown, entity.other.attribute-name.class.css | #7EE5FF | — |
| meta.brace, punctuation.definition.arguments, punctuation.definition.array, punctuation.definition.begin.bracket, punctuation.definition.binding-pattern, punctuation.definition.block, punctuation.definition.bracket, punctuation.definition.dict, punctuation.definition.dictionary, punctuation.definition.end.bracket, punctuation.definition.list, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.tag, punctuation.other.comma, punctuation.other.period, punctuation.section, punctuation.support, punctuation.terminator | #FBD3E1 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, storage, markup.deleted, markup.heading, entity.name.section.markdown, token.error-token | #d5a8ff | — |
| markup.changed, entity.name.filename.find-in-files, markup.quote, keyword.other.unit.px.css, keyword.other.unit.fr.css, keyword.other.unit.s.css, keyword.other.unit.percentage.css | #FAFAA0 | — |
| markup.fenced_code.block.markdown, keyword.type, keyword.other.alias.sql, meta.functiona.variable.css, variable.argument.css, constant.numeric.line-number.find-in-files - match | #C7ADFB | — |
| text.html.markdown, support.constant.property-value.css | #e5b0ff | — |
| beginning.punctuation.definition.list.markdown, constant.language.null, constant.language.boolean.true, constant.language.boolean.false, entity.other.attribute-name.pseudo-element.css | #F39B35 | — |
| meta.link.inline.markdown, meta.image.inline.markdown, markup.underline.link | #99DDFF | — |
| markup.bold.markdown, punctuation.definition.bold.markdown | — | bold |
| entity.other.inherited-class, entity.name.type, entity.name.class, entity.other.inherited-class | #FF2E2E | italic bold underline |
| 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}!`;
}