Spacemacs
Publisher: cometeerThemes in package: 2
Spacemacs themes for Visual Studio Code
Spacemacs themes for Visual Studio Code
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 |
|---|---|---|
| — | #6688cc | — |
| comment | #2aa1ae | — |
| string | #2d9574 | — |
| constant.numeric | #a45bad | — |
| constant.language | #a45bad | — |
| constant.character, constant.other | #a45bad | — |
| variable | #7590db | |
| keyword | #4f97d7 | — |
| storage | #4f97d7 | |
| storage.type | #ce537a | italic |
| entity.name.class, entity.name.type | #4f97d7 | bold |
| entity.other.inherited-class | #bc6ec5 | italic underline |
| entity.name.function | #bc6ec5 | |
| variable.parameter | #7590db | |
| entity.name.tag | #4f97d7 | |
| entity.other.attribute-name | #bc6ec5 | |
| support.function | #bc6ec5 | bold |
| support.constant | #a45bad | |
| support.type, support.class | #ce537a | italic |
| invalid | #e0211d | — |
| meta.diff, meta.diff.header | #E0EDDD | italic |
| markup.deleted | #dc322f | — |
| markup.changed | #cb4b16 | — |
| markup.inserted | #219186 | — |
| markup.quote | #22aa44 | — |
| markup.bold, markup.italic | #22aa44 | — |
| markup.inline.raw | #9966b8 | — |
| markup.heading.setext | #ddbb88 | — |
| source.java storage.modifier.import, source.java storage.modifier.package, source.java entity.name.type.class, source.java storage.type, source.java meta.definition.class.implemented.interfaces, source.java entity.other.inherited-class | #ce537a | |
| meta.method.body.java, meta.function-call.java | #cbc1d5ff | — |
| source.java keyword.operator.assignment, source.java keyword.operator.arithmetic, source.java storage.type.function.arrow.java, source.java punctuation.definition.parameters.begin.bracket.round, source.java punctuation.definition.parameters.end.bracket.round | #cbc1d5ff | — |
| source.java begin.bracket.curly, source.java end.bracket.curly | #4f97d7 | — |
| source.java entity.name.function meta | #ce537a | — |
| source.java keyword.other.documentation.javadoc.java | #9966b8 | — |
| source.cpp keyword.control.directive | #9966b8 | — |
| source.cpp storage.type, source.cpp storage.modifier | #4f97d7 | — |
| source.clojure meta.symbol | #cbc1d5ff | — |
| source.clojure entity.global, source.clojure meta.definition.global | #ce537a | — |
| source.clojure constant.keyword | #9966b8 | — |
| source.clojure meta.symbol meta.expression, source.clojure meta.vector | #ce537a | — |
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}!`;
}