水墨 Theme
Publisher: wangxThemes in package: 3
几抹淡墨涵万象,一帧素宣蕴乾坤。深度适配 Trae / VS Code / Cursor 的高雅水墨配色主题。
几抹淡墨涵万象,一帧素宣蕴乾坤。深度适配 Trae / VS Code / Cursor 的高雅水墨配色主题。
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #bcbec3 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #cf8e6d | — |
| comment | #7a7e85 | — |
| constant.language | #cf8e6d | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #2cabb8 | — |
| constant.regexp | #2cabb8 | — |
| entity.name.tag | #d5b778 | — |
| entity.name.tag.css, entity.name.tag.less | #d5b778 | — |
| entity.other.attribute-name | #cf8e6d | — |
| keyword.control.conditional.vue, keyword.control.loop.vue | #d5b778 | — |
| entity.other.attribute-name.class.css, source.css entity.other.attribute-name.class, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #d5b778 | — |
| invalid | #f75464 | — |
| markup.underline | — | underline |
| markup.bold | #cf8e6d | bold |
| markup.heading | #cf8e6d | bold |
| markup.italic | #c77dbb | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #6aab73 | — |
| markup.deleted | #cf8e6d | — |
| markup.changed | #56a8f5 | — |
| punctuation.definition.quote.begin.markdown | #7a7e85 | — |
| punctuation.definition.list.begin.markdown | #56a8f5 | — |
| markup.inline.raw | #6aab73 | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor, entity.name.function.preprocessor | #cf8e6d | — |
| meta.preprocessor.string | #6aab73 | — |
| meta.preprocessor.numeric | #2cabb8 | — |
| meta.structure.dictionary.key.python | #c77dbb | — |
| meta.diff.header | #56a8f5 | — |
| storage | #cf8e6d | — |
| storage.type | #cf8e6d | — |
| storage.modifier, keyword.operator.noexcept | #cf8e6d | — |
| string, meta.embedded.assembly | #6aab73 | — |
| string.tag | #6aab73 | — |
| string.value | #6aab73 | — |
| string.regexp | #2cabb8 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #cf8e6d | — |
| meta.template.expression | #bcbec3 | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded | #c77dbb | — |
| keyword | #cf8e6d | — |
| keyword.control | #cf8e6d | — |
| keyword.operator | #bcbec3 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #cf8e6d | — |
| keyword.other.unit | #2cabb8 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #cf8e6d | — |
| support.function.git-rebase | #c77dbb | — |
| constant.sha.git-rebase | #2cabb8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #bcbec3 | — |
| variable.language | #cf8e6d | — |
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #6A9955 | — |
| constant.language | #569cd6 | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #b5cea8 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #569cd6 | — |
| entity.name.tag.css, entity.name.tag.less | #d7ba7d | — |
| entity.other.attribute-name | #9cdcfe | — |
| entity.other.attribute-name.class.css, source.css entity.other.attribute-name.class, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #d7ba7d | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #569cd6 | bold |
| markup.heading | #569cd6 | bold |
| markup.italic | #C586C0 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #ce9178 | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor, entity.name.function.preprocessor | #569cd6 | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #569cd6 | — |
| storage | #569cd6 | — |
| storage.type | #569cd6 | — |
| storage.modifier, keyword.operator.noexcept | #569cd6 | — |
| string, meta.embedded.assembly | #ce9178 | — |
| string.tag | #ce9178 | — |
| string.value | #ce9178 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #569cd6 | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded | #9cdcfe | — |
| keyword | #569cd6 | — |
| keyword.control | #569cd6 | — |
| keyword.operator | #d4d4d4 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #569cd6 | — |
| keyword.other.unit | #b5cea8 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569cd6 | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #569cd6 | — |
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, string.comment, comment.block.documentation | #4A7A42 | italic |
| keyword.control, keyword.control.flow, keyword.control.conditional, keyword.control.loop, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.return, keyword.control.trycatch, keyword.control.exception, keyword.control.as, keyword.control.default, keyword.control.switch | #9D2933 | bold |
| keyword, keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.void, keyword.operator.in, keyword.operator.of, storage.type, storage.type.function, storage.type.class, storage.type.enum, storage.type.interface, storage.type.ts, storage.type.namespace | #5A5D54 | italic |
| storage.modifier, storage.type.annotation | #6B6F76 | — |
| entity.name.type, entity.name.type.class, entity.name.type.interface, entity.name.type.enum, entity.name.type.parameter, entity.name.class, support.type, support.class | #1D1F21 | bold |
| entity.other.inherited-class | #1D1F21 | italic |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call.object, entity.name.function.constructor, entity.name.function.destructor, support.function.builtin | #2A2C30 | — |
| variable, variable.other, variable.other.readwrite, meta.definition.variable, support.variable | #3B3D42 | — |
| variable.parameter, meta.function.parameters | #3B3D42 | italic |
| variable.other.property, variable.other.object.property, support.variable.property, meta.object-literal.key, entity.other.attribute-name, entity.other.attribute-name.html, support.type.property-name | #3B3D42 | — |
| variable.language.this, variable.language.super, variable.language.special, variable.parameter.function.language.special | #5A5D54 | italic |
| string, string.quoted, string.template, punctuation.definition.string, string.regexp | #2E59A7 | — |
| constant.numeric, constant.language, constant.character, constant.character.escape, constant.other.placeholder, variable.other.constant, variable.other.enummember, support.constant | #B05628 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.ternary, keyword.operator.type, keyword.operator.spread, keyword.operator.logical, keyword.operator.bitwise | #6B6F76 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.dictionary, punctuation.definition.block, punctuation.definition.tag, meta.brace.round, meta.brace.square, meta.brace.curly | #6B6F76 | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.xml, meta.tag.other.html | #2A2C30 | — |
| entity.name.tag.component, support.class.component, entity.name.tag.custom, entity.name.tag.custom.html | #1D1F21 | bold |
| markup.heading, markup.heading entity.name | #1D1F21 | bold |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.inline.raw, markup.fenced_code.block | #2E59A7 | — |
| markup.underline.link, string.other.link | #2E59A7 | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #9D2933 | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #4A7A42 | — |
| markup.changed, punctuation.definition.changed | #2E59A7 | — |
| entity.name.tag.template.html.vue, entity.name.tag.script.html.vue, entity.name.tag.style.html.vue | #1D1F21 | bold |
| entity.name.tag.html.vue | #2A2C30 | — |
| support.class.component.vue, entity.name.tag.custom.html.vue | #1D1F21 | bold |
| keyword.control.conditional.vue, keyword.control.loop.vue | #9D2933 | bold |
| meta.attribute.directive.vue entity.other.attribute-name.html.vue, meta.attribute.directive.control.vue entity.other.attribute-name.html.vue, punctuation.attribute-shorthand.bind.html.vue, punctuation.attribute-shorthand.event.html.vue, punctuation.attribute-shorthand.slot.html.vue, punctuation.attribute-shorthand.vue | #6B6F76 | — |
| punctuation.definition.interpolation.begin.html.vue, punctuation.definition.interpolation.end.html.vue | #2A2C30 | bold |
| punctuation.definition.block.tag.comment.vue, storage.type.class.comment.vue | #4A7A42 | italic bold |
| vue.sfc.style.variable.injection.v-bind entity.name.function | #315D8C | bold |
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}!`;
}
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}!`;
}