Siberia
Publisher: PavelThemes in package: 2
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, string.comment, comment.block, punctuation.definition.comment | #616983 | — |
| comment | — | italic |
| constant.numeric | #ada0d3 | — |
| constant.language | #ecbfa1 | — |
| constant.other | #c9d2f4 | — |
| storage.modifier | #8bacd8 | — |
| punctuation.definition.parameters, punctuation.definition.arguments, punctuation.definition.begin, punctuation.definition.end, punctuation.terminator, punctuation.section, punctuation.definition.storage-type, meta.brace, keyword.operator, keyword.operator.type.annotation | #747c9b | — |
| keyword.operator.ternary, keyword.operator.null-coalescing | #de9e77 | — |
| variable | #97a6d7 | — |
| variable.other.property | #c9d2f4 | — |
| string.quoted | #6dab9f | italic |
| entity.name.type.class, entity.other.inherited-class | #70b6d0 | — |
| meta.method-call, support.function | #c9d2f4 | — |
| keyword.other.type, support.type.primitive | #70b6d0 | — |
| keyword.control | #8bacd8 | — |
| keyword.operator.logical | #de9e77 | — |
| meta.decorator | #ecbfa1 | — |
| keyword.other.new, keyword.operator.new, entity.name.tag | #8bacd8 | — |
| string.regexp | #507f76 | — |
| punctuation.definition.variable.php | #616983 | — |
| keyword.operator.type | #de9e77 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #738bb0 | — |
| keyword.other.use.php, storage.type.function.php, storage.type.class.php | #8bacd8 | — |
| meta.function.parameter.typehinted.php | #70b6d0 | — |
| meta.class.body.php, support.class.php, support.class.builtin.php, entity.other.alias.php, storage.type.php | #70b6d0 | — |
| meta.attribute.php | #de9e77 | — |
| keyword.operator.nullable-type.php | #bddeec | — |
| meta.attribute.php entity.name.variable.parameter.php, meta.attribute.php support.other.namespace.php, meta.attribute.php keyword.other.class, entity.name.goto-label.php, meta.class.php, meta.method-call.php constant.other.php | #747c9b | — |
| meta.attribute.php support.attribute.php, meta.other.type.phpdoc.php support.class.php, meta.other.type.phpdoc.php support.class.builtin.php, meta.other.type.phpdoc.php keyword.other.type.php | #747c9b | — |
| support.other.namespace.php, keyword.other.class.php | #97a6d7 | — |
| entity.name.function.php | #c9d2f4 | — |
| meta.method-call.php constant.other.php, meta.attribute.php entity.name.variable.parameter.php, entity.name.goto-label.php | — | italic |
| storage.type.js, storage.type.interface.js, storage.type.class.js | #8bacd8 | — |
| support.type.object.module.js | #8bacd8 | — |
| keyword.operator.new.js | #8bacd8 | — |
| keyword.operator.new.ts | #8bacd8 | — |
| entity.name.type.alias.ts, entity.name.type.enum.ts, entity.name.type.ts | #70b6d0 | — |
| storage.type.ts, keyword.operator.expression, storage.type.interface.ts, storage.type.class.ts | #8bacd8 | — |
| storage.type.tsx | #8bacd8 | — |
| entity.name.tag.tsx | #70b6d0 | — |
| entity.name.type, support.type.primitive | #70b6d0 | — |
| string.quoted.single.tsx, string.quoted.double.tsx | — | |
| entity.other.attribute-name.tsx | #97a6d7 | — |
| string.quoted.double.html, string.quoted.single.html | #c9d2f4 | |
| keyword.other.special-method.dockerfile | #70b6d0 | — |
| entity.name.section.group-title.ini | #70b6d0 | — |
| entity.name.tag.yaml | #8bacd8 | — |
| string.unquoted.plain.out.yaml | #97a6d7 | — |
| entity.name.function.target.makefile | #70b6d0 | — |
| variable.other.env | #8bacd8 | — |
| entity.name.function.just | #8bacd8 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #8bacd8 | — |
| punctuation.definition.heading.markdown | #70b6d0 | — |
| entity.name.section.markdown | #70b6d0 | — |
| markup.underline.link.markdown | #6dab9f | — |
| markup.heading.marker.asciidoc | #70b6d0 | — |
| markup.heading.heading-0.asciidoc, markup.heading.heading-1.asciidoc, markup.heading.heading-2.asciidoc, markup.heading.heading-3.asciidoc, markup.heading.heading-4.asciidoc, markup.heading.heading-5.asciidoc | #70b6d0 | — |
| markup.list.bullet.asciidoc | #616983 | — |
| markup.link.asciidoc | #6dab9f | — |
| entity.name.function.asciidoc | #8bacd8 | — |
| punctuation.section.tag.twig | #738bb0 | — |
| keyword.operator.logical.twig | #de9e77 | — |
| meta.function-call.other.twig | #c9d2f4 | — |
| meta.function-call.twig | #c9d2f4 | — |
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}!`;
}