SC themes + icons pack
Publisher: SynCapThemes in package: 4
SC themes pack. Lights & Darks. Also material and simple icon packs
SC themes pack. Lights & Darks. Also material and simple icon packs
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #C7C7C7 | — |
| source | #ffffff | — |
| string | #08e8c0 | — |
| constant.numeric | #ff80c0 | — |
| punctuation.definition.comment | #515151 | bold |
| comment | #808080 | — |
| punctuation | #ffffff | — |
| constant | #07e8c1 | — |
| variable | #728E9C | — |
| punctuation.definition.variable | #728e9c | — |
| keyword | #6FC7F6 | bold |
| keyword.operator | #ffffff | — |
| storage | #6fc7f6 | — |
| meta.class | #FFFFFF | underline |
| constant.other.class | #FFFFFF | underline |
| variable.parameter | #6fc7f6 | — |
| support.function | #6fc7f6 | — |
| support.constant | #66d9ef | |
| support.type, support.class | #66d9ef | underline |
| invalid | #f8f8f0 | |
| invalid.deprecated | #f8f8f0 | — |
| entity.name.tag | #6fc7f6 | — |
| entity.other.attribute-name | #66d9ef | — |
| text.html.basic | #ffffff | — |
| meta.structure.dictionary.value.json | #FFFFFF | — |
| meta.structure.dictionary.json | #08e8c1 | — |
| source.diff | #75715e | — |
| meta.diff, meta.diff.header | #66d9ef | — |
| markup.deleted | #314f5e | — |
| markup.inserted | #6fc7f6 | — |
| text.find-in-files entity.name.filename | #66d9ef | — |
| text.find-in-files constant.numeric | #6fc7f6 | — |
| text.shebang comment | #66d9ef | — |
| text.shebang support.section | #ffffff | — |
| text.shebang support.section meta.tag | #66d9ef | — |
| markup.list | #c4faff | — |
| text.todo meta.tag.todo | #6fc7f6 | — |
| text.todo keyword.control.header | #66d9ef | — |
| markup.heading.markdown | #66d9ef | — |
| punctuation.definition.heading.markdown | #0fa5f5 | — |
| meta.separator | — | — |
| constant.other.php | #728e9c | — |
| constant.character.escape.php | #728e9c | — |
| keyword.other.phpdoc | #515151 | bold |
| sublimelinter.outline | — | — |
| sublimelinter.notes | #FFFFFF | — |
| bracket.tag | #ffffff | — |
| bracket.curly | #ffffff | — |
| bracket.round | #ffffff | — |
| bracket.square | #ffffff | — |
| bracket.angle | #ffffff | — |
| bracket.quote | #ffffff | — |
| selected_day | #ffffff | — |
| holiday | #ffffff` | — |
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}!`;
}