escook-theme
Publisher: 刘龙彬Themes in package: 4
彬哥の VSCode 主题 →_→ escook-theme
彬哥の VSCode 主题 →_→ escook-theme
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 | #999999 | — |
| string | #1794FAF0 | — |
| constant.numeric | #0025F5 | — |
| constant.language | #DE5CFF | — |
| constant.character, constant.other | #AE81FF | — |
| variable | — | — |
| source.sass, meta.selector.sass, entity.other.attribute-name.class.sass | #1794FAF0 | — |
| source.sass, meta.selector.sass, entity.other.attribute-name.id.sass | #1794FAF0 | — |
| source.sass meta.property-list.sass meta.property-name.sass support.type.property-name.sass | #FF6708F0 | — |
| source.sass, meta.selector.sass, entity.name.tag.sass | #FF0000 | — |
| source.sass meta.property-list.sass meta.property-value.sass constant.other.color.rgb-value.sass | #D4D4D4 | — |
| keyword | #FF3333 | bold |
| storage | #EB5086 | |
| storage.type | #0088FF | italic bold |
| entity.name.class | #85C70C | underline |
| entity.other.inherited-class | #507806 | italic underline |
| entity.name.function | #1DA11D | bold |
| variable.parameter | #FF960D | italic |
| entity.name.tag | #F92672 | |
| entity.other.attribute-name | #009688 | bold |
| support.function | #FFCD03 | |
| support.constant | #57C8ED | |
| support.type, support.class | #124CFA | italic |
| support.other.variable | #1C1C1C | |
| invalid | #000 | strikethrough |
| invalid.deprecated | #000 | strikethrough |
| entity.other.attribute-name.html | #F77C00 | — |
| keyword.operator.js | #5ECFFF | — |
| source.js | #050505 | — |
| comment.js | #C2C2C2 | — |
| punctuation.definition.typeparameters.end | #ff0000 | bold italic |
| punctuation.definition.typeparameters.begin | #ff0000 | bold italic |
| variable.parameter, support.function | #FD8B19 | bold |
| variable.other.constant | #1290BF | — |
| meta.var-single-variable.expr | #1290BF | — |
| meta.type.parameters | #1290BF | italic bold |
| meta.type.declaration | #1290BF | — |
| meta.type.annotation | #17A5DB | italic bold |
| entity.name.type.ts | #1290BF | italic bold |
| entity.name.type.alias | #1290BF | — |
| entity.name.type.interface | #1290BF | — |
| meta.definition.property.ts | #1290BF | italic |
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}!`;
}