Zinogre Color Theme
Publisher: takemal-studioThemes in package: 1
Zinogre color theme for VS Code
Zinogre color theme for VS Code
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #74FF58 | — |
| source | #E5F3E2 | — |
| string, string.unquoted.plain.out.yaml | #FFEB35 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #FFEB35 | — |
| punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end | #FFEB35 | — |
| meta.diff, meta.diff.header | #6272A4 | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #A9A9A9 | italic |
| constant, variable.other.constant | #74FF58 | — |
| constant.character.escape, constant.character.string.escape, constant.regexp | #FFEB35 | — |
| constant.numeric | #74FF58 | — |
| constant.language | #74FF58 | — |
| constant.character, constant.other | #74FF58 | italic |
| storage, meta.implementation storage.type.objc, meta.interface-or-protocol, storage.type.objc, storage.type.function, source.groovy storage.type.def | #74FF58 | italic |
| entity.name.type, keyword.primitive-datatypes.swift, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name, storage.class.std.rust, storage.type.attribute.swift, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.groovy, storage.type.objc, storage.type.php, storage.type.haskell, storage.type.ocaml | #74FF58 | italic |
| entity.name.class, entity.name.type.class | #74FF58 | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #FF5555 | — |
| entity.name.type.type-parameter, meta.indexer.mappedtype.declaration entity.name.type, meta.type.parameters entity.name.type | #FFCC7B | — |
| storage.modifier | #FFCC7B | — |
| string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp | #FFEB35 | — |
| punctuation.definition.group.capture.regexp | #00F5FB | — |
| entity.other.inherited-class | #74FF58 | italic underline |
| comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class | #00F5FB | — |
| comment.block.documentation entity.name.type | #74FF58 | italic |
| comment.block.documentation entity.name.type punctuation.definition.bracket | #74FF58 | — |
| comment.block.documentation variable | #FFCC7B | italic |
| variable.function.r, entity.name.function, meta.function-call.generic, meta.function-call.object, meta.function-call.php, meta.function-call.static, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method.lua, keyword.operator.function.infix | #00F5FB | — |
| variable.name | #74FF58 | underline |
| variable, constant.other.key.perl, support.variable.property, variable.other.constant.js, variable.other.constant.ts, variable.other.constant.tsx | #E5F3E2 | — |
| string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape | #6272A4 | — |
| variable.language | #E5F3E2 | italic |
| variable.other.readwrite | #E5F3E2 | italic |
| variable.parameter, variable.parameter.function-call, entity.name.variable.parameter, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.arguments.graphql, meta.function.arguments, meta.selectionset.graphql, variable.arguments.graphql, variable.other.php | #E5F3E2 | italic |
| meta.decorator variable.other.readwrite, meta.decorator variable.other.property | #74FF58 | italic |
| meta.decorator variable.other.object | #74FF58 | — |
| variable.other | #E5F3E2 | — |
| keyword.expressions-and-types.swift, keyword.other.this, variable.language, variable.language punctuation.definition.variable.php, variable.other.readwrite.instance.ruby, variable.parameter.function.language.special | #00F5FB | italic |
| support.function | #00F5FB | — |
| support.constant | #FFEB35 | — |
| support.type.property-name | #00F5FB | italic |
| support.type, support.class, support.other | #74FF58 | italic |
| support.variable | #74FF58 | — |
| entity.name.tag | #00F5FB | — |
| punctuation.definition.attribute-selector.begin.bracket.square.scss, punctuation.definition.attribute-selector.end.bracket.square.scss | #E5F3E2 | — |
| constant.other.symbol.hashkey.ruby, keyword.operator.dereference.java, keyword.operator.navigation.groovy, meta.scope.for-loop.shell punctuation.definition.string.begin, meta.scope.for-loop.shell punctuation.definition.string.end, meta.scope.for-loop.shell string, storage.modifier.import, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx, punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx, punctuation.separator.list.comma.css, constant.language.empty-list.haskell | #E5F3E2 | — |
| entity.name.fragment.graphql, variable.fragment.graphql | #FFCC7B | — |
| meta.selectionset.graphql meta.arguments variable | #E5F3E2 | — |
| meta.selectionset.graphql variable | #FFEB35 | — |
| punctuation.definition.character-class.regexp | #FFCC7B | — |
| punctuation.definition.group.regexp | #FFCC7B | — |
| punctuation.definition.group.assertion.regexp, keyword.operator.negation.regexp | #FF5555 | — |
| meta.preprocessor.haskell | #6272A4 | — |
| source.shell variable.other | #74FF58 | — |
| meta.assertion.look-ahead.regexp | #74FF58 | — |
| meta.import variable.other.readwrite, meta.object-binding-pattern-variable variable.object.property, meta.variable.assignment.destructured.object.coffee variable | #FFCC7B | italic |
| meta.import variable.other.readwrite.alias, meta.export variable.other.readwrite.alias, meta.variable.assignment.destructured.object.coffee variable variable | #E5F3E2 | — |
| support.constant | #74FF58 | — |
| meta.scope.prerequisites.makefile | #FFEB35 | — |
| meta.attribute-selector.scss | #FFEB35 | — |
| meta.tag string -source -punctuation, text source, text meta.tag string -punctuation | #82BAF2 | — |
| entity.other.attribute-name | #74FF58 | italic |
| meta.tag.other, entity.name.tag.style, entity.name.tag.script, meta.tag.block.script, source.js.embedded, source.css.embedded | #E26674 | — |
| entity.name.function.js, entity.name.function.method.js, entity.name.accessor.js, entity.name.class.js | #00F5FB | — |
| support.class.builtin.js, entity.name.type.class.js | #00F5FB | — |
| support | #8BE9FD | italic |
| keyword.operator.other.powershell, keyword.other.statement-separator.powershell, meta.brace.round, meta.function-call punctuation, punctuation.definition.dictionary.begin, punctuation.definition.dictionary.end, punctuation.definition.array.begin, punctuation.definition.array.end, punctuation.parenthesis.begin, punctuation.parenthesis.end, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.definition.list, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.entity.begin, punctuation.definition.entity.end, punctuation.definition.tag.cs, punctuation.definition.type.begin, punctuation.definition.type.end, punctuation.section.scope.begin, punctuation.section.scope.end, punctuation.separator.annotation.result, storage.type.generic.java, string.template meta.brace, string.template punctuation.accessor | #FFCC7B | — |
| meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded.begin, punctuation.section.embedded.coffee, punctuation.section.embedded.end, punctuation.section.embedded.end source.php, punctuation.section.embedded.end source.ruby, punctuation.definition.variable.makefile | #00F5FB | — |
| entity.name.function.target.makefile, entity.name.section.toml, entity.name.section.markdown, variable.other.key.toml | #00F5FB | — |
| variable.other.alias.yaml | #74FF58 | italic underline |
| constant.other.date, constant.other.timestamp | #FFCC7B | — |
| constant.other.symbol.hashkey punctuation.definition.constant.ruby, entity.other.attribute-name.placeholder punctuation, entity.other.attribute-name.pseudo-class punctuation, entity.other.attribute-name.pseudo-element punctuation, meta.group.double.toml, meta.group.toml, meta.object-binding-pattern-variable punctuation.destructuring, punctuation.colon.graphql, punctuation.definition.block.scalar.folded.yaml, punctuation.definition.block.scalar.literal.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.entity.other.inherited-class, punctuation.function.swift, punctuation.separator.dictionary.key-value, punctuation.separator.hash, punctuation.separator.inheritance, punctuation.separator.key-value, punctuation.separator.key-value.mapping.yaml, punctuation.separator.namespace, punctuation.separator.pointer-access, punctuation.separator.slice, punctuation.separator.annotation, punctuation.section.parens.begin, punctuation.section.parens.end, support.other.chomping-indicator.yaml, string.unquoted.heredoc punctuation.definition.string | #E5F3E2 | — |
| support.function.magic, variable.other.predefined | #74FF58 | — |
| constant.other.object.key.js, meta.object-literal.key.js, meta.array.literal.js, meta.brace.round.js, meta.objectliteral.js, punctuation.definition.block.js, variable.parameter.js, variable.other.readwrite.js | #FFCC7B | — |
| constant.language.boolean.false.js, constant.language.boolean.true.js | #FFCC7B | — |
| support.variable.property.dom.js, entity.name.type.new.js | #E76572 | — |
| meta.toc-list.id | #88F2AF | — |
| entity.other.attribute-name.id.html | #00F5FB | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.xml | #FFEB35 | — |
| string.quoted.double.html, string.quoted.double.handlebars, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #FFEB35 | — |
| entity.other.attribute-name.id.css | #74FF58 | — |
| support.type.property-name.css | #00F5FB | — |
| entity.other.attribute-name.parent-selector | #74FF58 | — |
| constant.other.color.rgb-value.hex.css | #74FF58 | — |
| meta.property-group, meta.property-value, support.constant.property-value.css, meta.property-list.css, meta.property-value.css, keyword.other.unit.css | #FFCC7B | — |
| entity | #E5F3E2 | italic |
| entity.name.filename | #FFEB35 | — |
| entity.name.selector | #FFEB35 | bold |
| punctuation.separator, punctuation.terminator, punctuation.section.function.begin, punctuation.section.function.end, punctuation.definition.list.begin.markdown | #E5F3E2 | |
| beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext | #8BE9FD | — |
| markup.inline.raw, markup.raw.restructuredtext | #FFEB35 | — |
| markup.underline.link, markup.underline.link.image, markup.underline.link.image.markdown, markup.underline.link.markdown, meta.link.inline.markdown | #FFCC7B | — |
| markup.inserted | #74FF58 | — |
| markup.deleted | #FF5555 | — |
| markup.error | #FF5555 | italic underline |
| markup.changed | #FFCC7B | — |
| markup.underline | — | underline |
| markup.bold | — | bold |
| markup.heading | #00F5FB | — |
| markup.italic | #FFEB35 | italic |
| meta.link.reference.def.restructuredtext, punctuation.definition.directive.restructuredtext, string.other.link.description, string.other.link.title | #00F5FB | — |
| entity.name.directive.restructuredtext, markup.quote | #FFEB35 | italic |
| meta.separator.markdown | #6272A4 | — |
| invalid | #FF5555 | underline italic |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown, punctuation.definition.markdown | #FFEB35 | — |
| punctuation.definition.constant.restructuredtext | #74FF58 | — |
| markup.heading.markdown punctuation.definition.string.begin, markup.heading.markdown punctuation.definition.string.end | #00F5FB | — |
| meta.paragraph.markdown punctuation.definition.string.begin, meta.paragraph.markdown punctuation.definition.string.end | #E5F3E2 | — |
| markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.begin, markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.end | #FFEB35 | — |
| invalid.deprecated | #E5F3E2 | underline italic |
| markup.deleted | #FA584F | — |
| markup.inserted | #D7FC8D | — |
| markup.changed | #D1AB01 | — |
| keyword, punctuation.definition.keyword | #00F5FB | — |
| keyword.control.new, keyword.operator.new | — | bold |
| keyword.control | #00F5FB | italic |
| keyword.operator | #FFCC7B | — |
| keyword.operator.arithmetic | #FFCC7B | — |
| keyword.operator.comparison | #FFCC7B | — |
| keyword.operator.logical | #FFCC7B | — |
| keyword.other | #FFCC7B | — |
| keyword.other.sql, keyword.operator.star.sql | #74FF58 | — |
| constant.other.database-name.sql, constant.other.table-name.sql | #E5F3E2 | — |
| meta.function | #74FF58 | — |
| meta.function-call | #00F5FB | — |
| meta.function-call.arguments | #E5F3E2 | — |
| meta.selector | #00F5FB | — |
| entity.namespace.r | #00F5FB | italic |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}