Merlin Theme (Dark-Orange)
Publisher: SakanomakeitThemes in package: 1
If you want to modify or comment, you can send requests to: sakanomakeit@gmail.com .Or want to support a cup of coffee, you can donate via Kasikorn Bank: 014-1-39122-4
If you want to modify or comment, you can send requests to: sakanomakeit@gmail.com .Or want to support a cup of coffee, you can donate via Kasikorn Bank: 014-1-39122-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 | #266e59 | — |
| meta.object-literal.key | #83aea9 | — |
| variable.other.readwrite.alias, entity.name.function, support.variable.property.js | #65cbe9 | — |
| support.type.property-name.css | #65cbe9 | bold |
| storage.modifier, storage.type.class, meta.brace.round, keyword.control.flow, keyword.control.import, keyword.control.from, keyword.control, storage.type, punctuation.operation.graphql | #ffb3c6 | — |
| #ffb3c6 | bold | |
| entity.name.tag.html, entity.name.tag.css, support.class.error, meta.brace.square.graphql | #ff686b | — |
| keyword.operator.nulltype.graphql, expression.ng | #ff686b | bold |
| punctuation.definition.block, meta.type.annotation, punctuation.terminator.statement, punctuation.definition.parameters, keyword.operator.type, variable.parameter, variable.other.property, support.type.primitive, string.quoted.double.html, entity.other.attribute-name, variable.parameter.graphql, punctuation.definition.dictionary.begin.json, punctuation.support.type.property-name, punctuation.definition.binding-pattern.object, keyword.operator.spread | #ffee93 | — |
| punctuation.decorator, punctuation.separator | #ffee93 | bold |
| string.quoted, constant.language, string.quoted.double.json, constant.numeric.decimal.js | #ffc09f | — |
| #ffc09f | bold | |
| constant.numeric, entity.name.type.class, entity.name.type, support.class, entity.other.ng-binding-name, entity.other.attribute-name.html, punctuation.section.property-list, source.css.scss, support.type.builtin.graphql, keyword.input.graphql, support.type.graphql, keyword.operator.logical, support.function.json, keyword.operator.comparison, keyword.operator.arithmetic, keyword.operator.expression.of, meta.brace.square, keyword.operator.new, keyword.operator.ternary.js, keyword.operator.assignment, keyword.operator.relational | #adf7b6 | — |
| constant.language.boolean.true | #adf7b6 | bold |
| keyword.type.graphql, support.constant.json.ts | #fb6f92 | — |
| constant.language.boolean.false, punctuation.definition.template-expression | #fb6f92 | bold |
| punctuation.definition.string, entity.other.inherited-class, variable.object.property, variable.language.this, variable.other.object.property, variable.other.object, text.html.derivative, support.constant.property-value.css, keyword.operation.graphql, variable.other.constant.ts, punctuation.definition.string.template | #FFFFFF | — |
| #FFFFFF | bold | |
| #cecece | — | |
| #b3abab | bold | |
| variable.graphql, support.type.property-name, variable.other.readwrite, variable.other.constant.js | #b4c5d1 | — |
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}!`;
}