Stockholm
Publisher: Ludvig LundgrenThemes in package: 1
A theme for Visual Studio Code inspierd by codesandbox.io
A theme for Visual Studio Code inspierd by codesandbox.io
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 |
|---|---|---|
| — | #D4D4D4 | — |
| comment, punctuation.definition.comment | #7f7f7f | — |
| variable.language | #6caedd | — |
| tag.decorator.js punctuation.definition.tag.js | #e0e0e0 | — |
| tag.decorator.js, entity.name.tag.js, tag.decorator.js | #fac863 | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #E15A60 | — |
| variable-meta.export.default, variable.parameter | #D4D4D4 | — |
| variable.other.readwrite | #fac863 | — |
| meta.group.braces.curly meta.group.braces.round meta.group.braces.curly variable.other.readwrite | #fac863 | — |
| keyword-meta.tag.attributes, keyword.operator.new, storage.type, storage.modifier, keyword.control | #6caedd | — |
| constant.other.color, meta.tag - meta.tag.without-attributes, keyword.other.template, keyword.other.substitution | #e0e0e0 | — |
| meta.tag.attributes - meta.embedded.expression | #cecece | — |
| punctuation - punctuation.definition.string.begin, punctuation.separator.key-value-punctuation.separator.key-value.css, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.separator.inheritance.php | #ec5f67 | — |
| punctuation - punctuation.definition.block, punctuation.terminator.statement, punctuation.separator.comma, punctuation.section.embedded, punctuation.definition.parameters | #e0e0e0 | — |
| support.module.node.js | #fac863 | — |
| support.function, support.constant | #fac863 | — |
| keyword.operator - keyword.operator.assignment | #6caedd | — |
| keyword.operator.assignment - meta.tag.attributes, keyword.operator.arithmetic, punctuation.separator.key-value.css | #d7deea | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #ec5f67 | — |
| meta.tag.without-attributes, meta.embedded.expression, meta.jsx.children | #d4d4d4 | — |
| meta.tag | #e0e0e0 | — |
| entity.name.function, variable.function, keyword.other.special-method, meta.block-level | #fac863 | — |
| variable.other.object | #aa759f | — |
| meta.export.default | #fac863 | — |
| variable.other.object.property, support.variable.property.dom | #d7deea | — |
| meta.object-literal.key | #d4d4d4 | — |
| meta.function-call.js - support.variable.dom.js | #fac863 | — |
| support.function.dom.js | #fac863 | — |
| support.other.variable, string.other.link | #F2777A | — |
| constant.numeric, constant.language, constant.character, keyword.other.unit | #fac863 | — |
| string, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #99c794 | — |
| entity.name.class, entity.other.inherited-class, entity.name.type, entity.name.type.class, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter | #FAC863 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #E15A60 | — |
| entity.name.method.js | #D8DEE9 | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #D8DEE9 | — |
| entity.other.attribute-name | #aa759f | — |
| markup.inserted | #99c794 | — |
| markup.deleted | #E15A60 | — |
| markup.changed | #BB80B3 | — |
| string.regexp | #e0e0e0 | — |
| constant.character.escape | #e0e0e0 | — |
| *url*, *link*, *uri* | — | underline |
| constant.numeric.line-number.find-in-files - match | #AB7967 | — |
| entity.name.filename.find-in-files | #99c794 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| meta.brace.round | #e0e0e0 | — |
| meta.definition.variable-entity.name.function | #d4d4d4 | — |
| meta.class.body meta.function.method entity.name.function.method | #aa759f | — |
| meta.class.body meta.group.braces.curly entity.name.function | #6caedd | — |
| meta.property.object variable.other.property | #aa759f | — |
| meta.class.body meta.group.braces.curly meta.group.braces.round variable.other.readwrite | #6caedd | — |
| meta.class meta.method.declaration meta.definition.method intity.name.function | #aa759f | — |
| meta.class meta.method.declaration meta.return.type support.type.primitive | #aa759f | — |
| meta.group.braces.curly constant.other.object.key string.unquoted | #aa759f | — |
| meta.function.arrow storage.type.function | #aa759f | — |
| meta.class meta.method.declaration meta.var.expr meta.function-call support.function.dom | #aa759f | — |
| meta.group.braces.curly variable.other.constant | #fac863 | — |
| variable.other.constant | #fac863 | — |
| support.type.object.process | #aa759f | — |
| meta.group.braces.round meta.group.braces.curly variable.other.constant | #fac863 | — |
| meta.group.braces.round meta.group.braces.curly variable.other.readwrite | #6caedd | — |
| meta.group.braces.curly meta.function-call.with-arguments entity.name.function | #6caedd | — |
| meta.group.braces.round variable.other.readwrite | #6caedd | — |
| meta.group.braces.curly meta.function-call.with-arguments meta.function-call.without-arguments entity.name.function | #fac863 | — |
| meta.group.braces.curly meta.group.braces.round meta.group.braces.curly meta.function-call.with-arguments meta.function-call.with-arguments entity.name.function | #fac863 | — |
| meta.group.braces.curly meta.function-call.static.with-arguments entity.name.function | #aa759f | — |
| meta.group.braces.curly meta.function-call.method.with-arguments entity.name.function | #aa759f | — |
| meta.group.braces.curly meta.group.braces.round meta.group.braces.curly meta.group.braces.round variable.other.readwrite | #6caedd | — |
| meta.group.braces.curly meta.group.braces.round meta.group.braces.curly meta.group.braces.round variable.other.readwrite | #6caedd | — |
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}!`;
}