Turqonix
Publisher: EduardoJbarriosThemes in package: 1
A dark turquoise VS Code theme built around the brand palette of edujbarrios.com. Clean Docusaurus-style backgrounds with a full 7-tone turquoise accent system.
A dark turquoise VS Code theme built around the brand palette of edujbarrios.com. Clean Docusaurus-style backgrounds with a full 7-tone turquoise accent system.
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 |
|---|---|---|
| Global settings | #e5e7eb | — |
| comment, punctuation.definition.comment | #008080 | italic |
| comment.block, comment.block.documentation | #008080 | italic |
| comment.line.double-slash, comment.line.number-sign | #008080 | italic |
| string, string.quoted, string.template | #e2e8f0 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #9ca3af | — |
| constant.character.escape, string.regexp | #8CF0EB | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #40E0D0 | — |
| constant.numeric | #fde68a | — |
| constant.language.boolean, constant.language.true, constant.language.false | #66E6DD | — |
| constant.language.null, constant.language.undefined, constant.language.none | #f87171 | — |
| constant, constant.language, constant.other | #fde68a | — |
| keyword, keyword.control, keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void | #40E0D0 | italic |
| keyword.control.flow, keyword.control.return, keyword.control.import, keyword.control.from, keyword.control.as, keyword.control.export | #40E0D0 | italic |
| keyword.control.conditional, keyword.control.if, keyword.control.else, keyword.control.switch, keyword.control.case | #66E6DD | italic |
| keyword.control.loop, keyword.control.for, keyword.control.while, keyword.control.do, keyword.control.foreach | #8CF0EB | italic |
| storage.type, storage.type.function, storage.type.class, storage.type.interface, storage.type.enum, storage.type.type | #40E0D0 | italic |
| storage.modifier, storage.modifier.async, storage.modifier.static, storage.modifier.const, storage.modifier.let, storage.modifier.var, storage.modifier.export, storage.modifier.public, storage.modifier.private, storage.modifier.protected, storage.modifier.readonly | #40E0D0 | — |
| variable, variable.other, variable.other.readwrite | #e5e7eb | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super | #8CF0EB | italic |
| variable.parameter | #c9d1d9 | — |
| variable.other.constant | #fde68a | — |
| entity.name.function, meta.function-call entity.name.function, support.function | #40E0D0 | — |
| entity.name.class, entity.name.type.class | #66E6DD | — |
| entity.name.type.interface | #66E6DD | — |
| entity.name.type, entity.other.inherited-class | #66E6DD | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #8CF0EB | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #66E6DD | — |
| support.function, support.function.builtin, support.function.magic | #40E0D0 | — |
| support.type, support.class | #66E6DD | — |
| support.constant | #fde68a | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.ternary | #008080 | — |
| punctuation, punctuation.definition, punctuation.terminator, punctuation.separator | #6b7280 | — |
| punctuation.definition.block, punctuation.section.block, meta.brace.round, meta.brace.square, punctuation.definition.parameters | #9ca3af | — |
| meta.object-literal.key, support.type.property-name, meta.object.member | #8CF0EB | — |
| variable.other.property, variable.other.object.property, meta.property.object | #c9d1d9 | — |
| meta.type.annotation, meta.type.parameters, entity.name.type.alias, entity.name.type.primitive | #66E6DD | — |
| keyword.operator.module, support.module, entity.name.module | #40E0D0 | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator, entity.name.decorator | #fde68a | — |
| support.type.property-name.css, meta.property-name.css | #8CF0EB | — |
| meta.property-value.css, support.constant.property-value.css | #66E6DD | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #40E0D0 | — |
| keyword.other.unit.css, keyword.other.unit | #fde68a | — |
| constant.other.color.rgb-value.css, constant.other.color | #8CF0EB | — |
| meta.tag.any.html, meta.tag.other.html, meta.tag.structure.any.html, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.jsx, punctuation.definition.tag.begin.jsx, punctuation.definition.tag.end.jsx, punctuation.definition.tag.tsx, punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx | #6b7280 | — |
| meta.tag.sgml.html, meta.tag.sgml.doctype.html | #4b5563 | — |
| support.type.property-name.json, meta.structure.dictionary.json string.quoted.double.json | #8CF0EB | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #f1f5f9 | — |
| meta.structure.dictionary.value.json constant.numeric.json | #fde68a | — |
| meta.structure.dictionary.value.json constant.language.json | #66E6DD | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #8CF0EB | italic |
| support.function.magic.python | #fde68a | — |
| meta.function.decorator.python, entity.name.function.decorator.python | #fde68a | — |
| support.function.builtin.python | #40E0D0 | — |
| markup.heading, markup.heading.setext, entity.name.section.markdown | #40E0D0 | bold |
| punctuation.definition.heading.markdown, punctuation.definition.heading.md | #008080 | — |
| markup.bold, punctuation.definition.bold.markdown | #40E0D0 | bold |
| markup.italic, punctuation.definition.italic.markdown | #ffffff | italic |
| markup.strikethrough, punctuation.definition.strikethrough.markdown | #6b7280 | strikethrough |
| markup.underline | #8CF0EB | underline |
| markup.quote, punctuation.definition.blockquote.markdown | #6b7280 | italic |
| markup.list, markup.list.numbered, markup.list.unnumbered | #ffffff | — |
| punctuation.definition.list.begin.markdown | #ffffff | — |
| markup.inline.raw, markup.raw.inline | #40E0D0 | — |
| markup.underline.link, markup.underline.link.image | #40E0D0 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, constant.other.reference.link.markdown | #8CF0EB | — |
| markup.raw.block | #8CF0EB | — |
| markup.raw.block.fenced.markdown | #e5e7eb | — |
| punctuation.definition.fenced.markdown | #4a4a4c | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #e5e7eb | — |
| variable.language.fenced.markdown | #6b7280 | — |
| meta.separator | #4a4a4c | bold |
| markup.table | #e5e7eb | — |
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}!`;
}