@EyesTheme
Publisher: laf pubThemes in package: 4
浅色主题:豆沙绿、米黄色、豆沙绿(全屏)、米黄色(全屏)、精美(图标)
浅色主题:豆沙绿、米黄色、豆沙绿(全屏)、米黄色(全屏)、精美(图标)
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, punctuation.definition.comment | #97b498 | |
| entity.name, entity.name.type, entity.name.type.class, entity.name.class, support.class, entity.other.inherited-class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, source.java storage.modifier.import, source.java storage.type | #ff0000 | — |
| keyword, meta.selector, markup.changed, keyword.operator.new, keyword.other.unsafe.rust | #ba68c8 | — |
| source.c keyword.operator, source.cpp keyword.operator, source.cs keyword.operator, source.elixir variable.definition, source.elixir variable.anonymous, source.go storage.type.string, source.java keyword.operator.instanceof, ng.attribute-with-value string, source.python keyword.operator.logical.python, source.java keyword.operator.instanceof | #ba68c8 | — |
| variable, variable.parameter, function.definition, punctuation.definition.variable, punctuation.definition.variable.php, punctuation.definition.variable.shell, variable.interpolation, support.type.object.module, support.type.object.module.js, support.type.object.module.ts, support.type.property-name, meta.object-literal.key, meta.object-literal.key.js, meta.object-literal.key.ts, meta.definition.variable, meta.function-call.arguments | #008080 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #f07178 | — |
| constant.language.json | #0066CC | — |
| meta.structure.dictionary.json support.type.property-name.json | #da3e3e | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e49337 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #b6b433 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #42b116 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #13ccc3 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #3b7dc9 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #d32b2b | — |
| keyword.control | #0066CC | — |
| keyword.operator, meta.separator, meta.tag, meta.class.body, meta.method-call, meta.method, punctuation.definition.method-parameters, punctuation.definition.function-parameters, punctuation.definition.parameters, punctuation.definition.separator, punctuation.definition.seperator, punctuation.definition.array, punctuation.definition.class, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.separator, punctuation.section.arguments, punctuation.terminator.statement, punctuation.section.block, punctuation.section.class, punctuation.section.parens, meta.object.member, meta.objectliteral | #616161 | — |
| meta.diff.header | #000080 | — |
| storage.modifier, keyword.operator.noexcept | #ff00ff | — |
| function, entity.name.function, variable.function, support.function.any-method, entity.name.section, meta.function-call.generic, entity.name.tag | #0000ff | — |
| support.function, keyword.other.special-method | #c8a415 | — |
| string | #a31515 | — |
| number | #098658 | — |
| string.regexp, string.regexp keyword.operator, string.regexp constant.character, string.interpolated, meta.template.expression.js punctuation.definition, meta.template.expression.ts punctuation.definition | #e57373 | — |
| entity.other.attribute-name | #ab47bc | — |
| constant, constant.character, constant.numeric, constant.language, support.variable, entity.name.function.decorator | #c79100 | — |
| string.quoted punctuation, string.quoted.double punctuation, string.quoted.single punctuation, support.type.property-name.json punctuation | #CC9A00 | — |
| storage, storage.type, storage.modifier.package, storage.modifier.import | #ab47bc | — |
| keyword.other.unit, constant.other.color, constant.other.symbol, entity.other, markup.quote, punctuation.definition.bold, markup.bold, markup.inline.raw.string | #c79100 | — |
| heading.1, heading.2, punctuation.definition.bold, markup.bold | — | bold |
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}!`;
}