Seoul
Publisher: Ryan OlsonThemes in package: 2
Port of seoul256 colorscheme from vim. Low-contrast theme. https://github.com/junegunn/seoul256.vim
Port of seoul256 colorscheme from vim. Low-contrast theme. https://github.com/junegunn/seoul256.vim
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 |
|---|---|---|
| — | #616161ff | — |
| token.info-token | #316bcd | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #cd3131 | — |
| token.debug-token | #800080 | — |
| storage.type | — | |
| comment | #719872 | — |
| string | #009799 | — |
| storage.type | #E17899 | — |
| storage.type.ts | #9A7599 | — |
| keyword | #E12672 | — |
| keyword.control.import | #E17899 | — |
| keyword.control.export | #E17899 | — |
| keyword.control.as | #E17899 | — |
| keyword.control.from | #E17899 | — |
| variable.other | #616161 | — |
| support.function | #616161 | — |
| support.class | #616161 | — |
| keyword.control.flow | #719899 | — |
| keyword.control.conditional | #0099BD | — |
| meta.brace.square | #AB8500 | — |
| keyword.operator.new | #BE7572 | — |
| support.type.property-name | #719899 | — |
| punctuation.definition.block | #A67200 | — |
| punctuation.definition.dictionary.begin, punctuation.definition.dictionary.end | #A67200 | — |
| keyword.operator.assignment | #BE7572 | — |
| punctuation.definition.parameters.begin, punctuation.definition.parameters.end | #BE7572 | — |
| storage.type.function.arrow | #BE7572 | — |
| meta.brace.round | #BE7572 | — |
| constant.numeric.decimal | #9A7372 | — |
| storage.type | — | |
| storage.type.class | #53A0C0 | — |
| storage.modifier | #53A0C0 | — |
| entity.name.type | #A47A33 | — |
| support.type | #A47A33 | — |
| entity.other.inherited-class | #A47A33 | — |
| variable.language | #9A7599 | — |
| keyword.operator.type.annotation | #616161 | — |
| keyword.operator | #616161 | — |
| keyword.operator.logical | #E17899 | — |
| keyword.operator.comparison | #BE7572 | — |
| keyword.control.loop | #0099BD | — |
| variable.other.less | #9A7599 | — |
| entity.name.tag.css | #719899 | — |
| punctuation.definition.entity.css | #E17899 | — |
| entity.other.attribute-name.class.css | #9A7200 | — |
| support.constant.property-value.css | #007173 | — |
| support.type.property-name.css | #616161 | — |
| keyword.other.unit.px.css | #616161 | — |
| comment | #5f875f | — |
| constant.numeric | #875f5f | — |
| keyword.other.unit.percentage.css | #875f5f | — |
| keyword.other.important.css | #E19972 | — |
| keyword.control.default | #9A7599 | — |
| entity.other.attribute-name.pseudo-class.css | #727100 | — |
| keyword.control.logical.operator.less | #727100 | — |
| keyword.other.unit.px.css | #9a7372 | — |
| constant.numeric | #9a7372 | — |
| comment | #719872 | — |
| support.type.property-name.css | #9a7200 | — |
| punctuation.separator.list.comma.css | #E17899 | — |
| entity.other.attribute-name.class.css | #9a7200 | bold |
| entity.name.tag.css | — | bold |
| constant.other.rgb-value.css | #007173 | — |
| meta.tag.sgml.doctype.html, meta.tag.sgml.html | #719872 | — |
| entity.name.tag.block.any.html, entity.name.tag.tsx,entity.name.tag.jsx, entity.name.tag.html, entity.name.tag.structure.any.html, entity.name.tag.inline.any.html | #719899 | bold |
| support.class.component.tsx,support.class.component.jsx | #719899 | bold |
| entity.other.attribute-name.id.html, entity.other.attribute-name.tsx,entity.other.attribute-name.jsx, entity.other.attribute-name.html | #9a7200 | — |
| entity.other.attribute-name.localname.xml | #9a7200 | — |
| entity.other.attribute-name.xml | #9a7200 | — |
| entity.other.attribute-name.namespace.xml | #9a7200 | — |
| entity.name.tag.localname.xml | #719899 | — |
| entity.name.tag.xml | #9a7200 | — |
| meta.tag.preprocessor.xml | #719872 | — |
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}!`;
}