Cyano
Publisher: diego1araujoThemes in package: 2
Cyano Theme for vscode
Cyano Theme for vscode
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 | #676B79 | — |
| keyword, keyword.control, keyword.operator.new, variable.interpolation, entity.name.function.expression, support.class.component, markup.changed, punctuation.definition.italic.markdown, beginning.punctuation.definition.list, string.regexp keyword, string.regexp keyword.control | #FF75B5 | — |
| keyword.operator, variable, variable.other.property, support.type.property-name.css | #E6E6E6 | — |
| keyword.operator.logical, keyword.operator.comparison, meta.object-binding-pattern-variable.js variable, punctuation.definition.template-expression, support, support.class, entity.name.tag.yaml, entity.name.tag.html, entity.other.attribute-name.handlebars, meta.tag.js entity.name.tag, punctuation.definition.bold.markdown, text.html.markdown punctuation.definition.string, comment.block storage | #FFCC95 | — |
| storage, constant, meta.decorator punctuation.decorator, entity.expression variable.parameter.name, entity.other.attribute-name, markup.bold, markup.quote, keyword.other.unit.rem.css, keyword.other.unit.vh.css, keyword.other.unit.px.css, keyword.other.unit.em.css, keyword.other.unit.deg.css, keyword.other.unit.percentage.css | #FFB86C | — |
| constant.character.escape, keyword.other.special-method, meta.link.inline.markdown, variable.language.super.js.jsx | #45A9F9 | — |
| variable.parameter, entity.name.section.markdown, fenced_code.block.language, string.other.link | #BBBBBB | — |
| variable.other.constant, variable.language.this, variable.interpolation, variable.other.object, entity.other.inherited-class, entity.expression support.function.builtin, markup.italic, keyword.control.as.js, keyword.control.from.js.jsx, variable.scss, string.regexp keyword.operator, comment.block storage.custom, variable.other.jsdoc, variable.other.jsdoc punctuation.definition.string | #FF9AC1 | — |
| string, constant.other.symbol, markup.inserted, punctuation.definition.heading, markup.inline.raw | #19F9D8 | — |
| support.type.object.module.js, keyword.control.at-rule, entity.unescaped.expression, keyword.control.export.js | #B084EB | — |
| support.function, entity.name.function, meta.decorator variable, meta.source.handlebars entity.name.tag, entity.expression variable.parameter.value, entity.name.type.class.js, string.regexp | #6FC1FF | — |
| keyword.other.important | #FF4B82 | — |
| punctuation.definition.expression, punctuation.definition.subexpression, punctuation.definition.block.unescaped, punctuation.definition.tag, entity.name.type.instance.jsdoc punctuation.definition | #FFCC95 | italic |
| markup.deleted, entity.name.tag.js.jsx, support.class.component.js.jsx, meta.tag.structure.any.html, meta.tag.other.html, entity.name.tag.html, meta.tag.metadata.script.html, entity.name.tag.jade, entity.name.tag.inline.any.html, entity.name.tag.other.html, entity.name.tag.block.any.html, entity.name.tag.css, entity.name.tag.reference.scss | #FF2C6D | — |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #757575 | — |
| entity.name.type.instance.jsdoc | #CDCDCD | italic |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}