Cyan Theme Fork
Publisher: HanabiraaThemes in package: 1
Fork colour theme from JetBrains Cyan Light Theme (original author https://github.com/OlyaB/CyanTheme)
Fork colour theme from JetBrains Cyan Light Theme (original author https://github.com/OlyaB/CyanTheme)
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.link.reference, markup.underline.link | #185B9E | — |
| constant.numeric | #0073E6 | — |
| constant.character.escape, constant.language | #000080 | — |
| string | #00733B | — |
| keyword | #000080 | — |
| keyword.other.definition | #0073E6 | — |
| comment | #808080 | — |
| storage | #000080 | — |
| entity.name.section.group-title, entity.name.tag.localname | #000080 | — |
| entity.other.attribute-name.localname | #0073E6 | — |
| entity.other.attribute-name.namespace | #660E7A | — |
| variable.language, variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #94558D | — |
| support.type.property-name | #660E7A | — |
| punctuation.definition.decorator.python | #262626 | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #808000 | — |
| variable.parameter.function-call.python | #660099 | — |
| string.quoted.docstring.multi.python, string.quoted.docstring.single.python | #808080 | italic |
| storage.type.string.python | #00733B | — |
| constant.character.format.placeholder.other.python | #000080 | — |
| support.type.python, support.function.builtin.python | #000080 | — |
| support.function.magic.python, support.variable.magic.python | #B200B2 | — |
| string.quoted.binary.single.python, storage.type.string.python string.quoted.binary.single.python | #8A822D | — |
| markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #660E7A | — |
| markup.bold.markdown | — | bold |
| punctuation.definition.bold.markdown | #000080 | — |
| markup.italic.markdown | — | italic |
| punctuation.definition.italic.markdown | #000080 | — |
| markup.strikethrough.markdown | — | strikethrough |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, heading.4.markdown, heading.5.markdown, heading.6.markdown | #660E7A | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, markup.raw.block.markdown, markup.quote.markdown | #00733B | — |
| meta.separator.markdown, punctuation.definition.table.markdown | #000080 | — |
| source.ini | #00733B | — |
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}!`;
}