Cammisuli's Color Theme
Publisher: cammisuliThemes in package: 4
dark/light color theme
dark/light color 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 |
|---|---|---|
| comment | #2CC02C | — |
| support.other.variable, string.other.link, string.regexp, entity.name.tag, entity.other.attribute-name, meta.tag, declaration.tag, punctuation.definition.template-expression, meta.template.expression | #dfdfdf | — |
| constant.numeric | #FF7BA6 | — |
| string | #E5D48B | — |
| meta.template.expression | #f1f1f1 | — |
| entity.other.inherited-class | #FFEEAD | — |
| keyword, storage, keyword.operator.new, entity.other.attribute-name, support.type.primitive, constant.language | #1287DB | — |
| keyword.operator | #F1f1f1 | — |
| support.class.builtin | #9289FE | — |
| keyword.control.conditional | #9289FE | — |
| markup.inserted.diff, meta.diff.header.to-file | #718c00 | — |
| markup.deleted.diff, meta.diff.header.from-file | #c82829 | — |
| meta.diff.header.from-file, meta.diff.header.to-file | #FFFFFF | — |
| meta.diff.range | #3e999f | — |
| markup.quote | #FFC58F | — |
| markup.list | #BBDAFF | — |
| markup.bold, markup.italic | #FFC58F | — |
| markup.inline.raw | #FF9DA4 | |
| meta.decorator entity.name.function | #E5BA8F | — |
| meta.function-call, support.function, keyword.other.special-method, meta.block-level | #0dc49f | — |
| variable.other.object.property, variable.object.property, variable, meta.type.parameters entity.name.type, punctuation.accessor | #F1F1F1 | — |
| variable.language.this, support.variable.dom | #40A893 | — |
| support.type.property-name.json | #E2EDFF | — |
| source.css variable | #9289FE | — |
| source.css.scss meta.property-value.scss, source.css meta.property-value.css, source.css keyword.other.unit | #ffeead | — |
| comment, entity.other.inherited-class, entity.other.attribute-name, meta.class meta.method.declaration meta.var.expr storage.type.js, meta.delimiter.period, meta.selector, entity.name.tag.doctype, meta.tag.sgml.doctype, italic, quote, source.elixir .punctuation.binary.elixir, meta.tag.sgml.doctype.html, markup.italic.markdown, variable.language.this, source.css.scss meta.property-value.scss, source.css meta.property-value.css, storage.type, keyword.operator.new, keyword.control.conditional, meta.return.type | — | italic |
| entity.other.ng-binding-name.template.html | #e2ad5e | — |
| entity.other.ng-binding-name.property.html | #e2675e | — |
| entity.other.ng-binding-name.event.html | #7ecc25 | — |
| meta.tag.custom.start.html, meta.tag.custom.end.html, meta.tag.custom.start.html entity.name.tag.html, meta.tag.custom.end.html entity.name.tag.html | #95999e | — |
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}!`;
}