Raspberry Theme
Publisher: Alex SchneiderThemes in package: 1
Dark color theme for VS Code
Dark color theme for VS 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 |
|---|---|---|
| keyword.control.require | #cfc0a1 | — |
| punctuation, meta.brace | #a4b0b3 | — |
| punctuation.definition.typeparameters, meta.type.annotation punctuation, meta.type.annotation meta.brace, meta.type.declaration punctuation, meta.type.declaration meta.brace, meta.interface punctuation, meta.interface meta.brace, meta.return.type punctuation, keyword.operator.type.annotation | #7C8894 | — |
| comment, punctuation.definition.comment | #727D87 | — |
| variable, meta.parameters entity.name.function, support.variable, support.constant.json.js, support.class.builtin, string constant.other.placeholder, meta.definition.variable entity.name.function | #f24d69 | — |
| meta.type.function variable, meta.type.declaration variable, meta.type.annotation variable, meta.interface variable, meta.return.type variable, meta.var meta.type.annotation | #bf5063 | — |
| keyword, storage | #80abd9 | — |
| keyword.control.as, meta.type.parameters storage, meta.type.annotation storage.modifier, meta.type.declaration storage.modifier, meta.interface storage.modifier, meta.return.type keyword, meta.type.parameters keyword.operator.expression.typeof | #7491b1 | — |
| keyword.operator, storage.type.function.arrow | #83afde | — |
| keyword.operator.type, meta.return.type keyword.operator, meta.type.declaration keyword.operator, meta.type.annotation keyword.operator, meta.interface keyword.operator, meta.type.declaration storage.type.function.arrow, meta.type.annotation storage.type.function.arrow, meta.interface storage.type.function.arrow, meta.return.type storage.type.function.arrow | #7491b1 | — |
| meta.interface entity.name.type.interface, meta.definition entity.name, meta.class entity.name.type.class, meta.function.python entity.name.function, source.clojure meta.definition entity | #e3a762 | — |
| meta.interface entity.name.type.interface, meta.type.declaration entity.name.type.alias | #de5f92 | — |
| meta.type.annotation, meta.type.declaration entity.name.type, support.type.builtin, meta.return.type, meta.type.function.return, meta.type.parameters, support.type.primitive, meta.indexer.mappedtype.declaration, meta.interface entity.other.inherited-class | #9d77a6 | — |
| support.constant, constant.numeric, constant.language, constant.character, constant.other, string.regexp, punctuation.definition.entity.html | #78cfa0 | — |
| string, punctuation.definition.string | #5abf73 | — |
| meta.type.declaration string, meta.type.annotation string, meta.interface string, meta.type.declaration punctuation.definition.string, meta.type.annotation punctuation.definition.string, meta.interface punctuation.definition.string | #54a667 | — |
| meta.object-literal.key, support.type.property-name, punctuation.support.type.property-name, entity.other.attribute-name, variable.object.property, constant.keyword | #e3a762 | — |
| meta.type.declaration variable.object.property, meta.type.annotation variable.object.property, meta.interface variable.object.property | #bd8f5a | — |
| support.type.object.module, keyword.control.import, keyword.control.export, keyword.control.from, meta.export.default keyword.control.export | #74b9c2 | — |
| source.clojure meta.definition entity, source.clojure meta.definition meta.symbol | #f24d69 | — |
| source.clojure punctuation | — | — |
| source.clojure meta.definition entity.name, source.clojure meta.expression meta.definition.global meta.expression meta.vector meta.expression meta.symbol | #cfc0a1 | — |
| markup.heading | #83afde | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| entity.name.tag, entity.name.tag.js, support.class.component.js | #f24d69 | — |
| punctuation.definition.tag.xml, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #a4b0b3 | — |
| meta.tag.sgml.doctype, keyword.other.doctype, variable.language.documentroot.xml | #B4473C | — |
| markup.heading.markdown, punctuation.definition.heading.markdown | #83afde | — |
| beginning.punctuation.definition.list.markdown | #e3a762 | — |
| punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #a5c2cc | — |
| fenced_code.block.language | #83afde | — |
| source.css meta.selector, source.css entity.name.tag | #d1586c | — |
| source.css entity.other.attribute-name.class, source.css entity.other.attribute-name.class punctuation.definition | #f24d69 | — |
| source.css entity.other.attribute-name.id, source.css entity.other.attribute-name.id punctuation.definition | #ff3d5d | — |
| source.css entity.other.attribute-name.pseudo-element, source.css entity.other.attribute-name.pseudo-class | #de5f92 | — |
| source.css entity.other.attribute-name punctuation.definition, source.css keyword.operator.combinator.css | #a4b0b3 | — |
| source.css keyword.control.at-rule, source.css keyword.control punctuation.definition.keyword | #83afde | — |
| source.css support.function | #cfc0a1 | — |
| source.css keyword.other.unit | #5abf73 | — |
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}!`;
}