Romanesca Rosenkreuz Theme
Publisher: IKadzuraThemes in package: 1
Romanesca Rosenkreuz for VS Code
Romanesca Rosenkreuz 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 |
|---|---|---|
| comment, comment.line, comment.block, comment.block.documentation, punctuation.definition.comment | #666666 | italic |
| string, string.quoted, string.quoted.single, string.quoted.double, string.quoted.backtick, string.template, string.interpolated, string.unquoted | #ffbf00 | — |
| constant.character.escape, constant.character.unicode | #ff8c00 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #ff8c00 | — |
| constant.numeric, constant.numeric.decimal, constant.numeric.integer, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, constant.numeric.float | #ff8c00 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.none, constant.language.nan | #17a398 | — |
| constant.other, support.constant | #ffafd1 | — |
| storage.type.class, storage.type.interface, storage.type.enum, storage.type.struct, storage.type.trait, storage.type.module, storage.type.namespace, storage.type.record | #7b2ff7 | italic |
| entity.name.type.class, entity.other.inherited-class, entity.name.type.struct, entity.name.type.trait, entity.name.type.record | #da80ff | — |
| entity.name.type.interface, entity.name.type.enum, entity.name.type, entity.name.type.alias, entity.name.type.primitive, support.type, support.class, keyword.other.type.php, storage.type.php, support.type.php | #17a398 | — |
| keyword.control.constructor, storage.type.function.constructor, entity.name.function.constructor | #cc2222 | — |
| entity.name.function, support.function, support.function.builtin, meta.definition.method entity.name.function, meta.function.expression entity.name.function | #ff3333 | — |
| storage.modifier, storage.modifier.ts, storage.modifier.js, storage.modifier.async, storage.modifier.static, storage.modifier.abstract, storage.modifier.readonly | #afb42b | — |
| storage.type.function, storage.type.arrow, storage.type.const, storage.type.let, storage.type.var, storage.type.async, storage.type.ts, keyword.declaration | #80d8ff | — |
| variable, variable.other, variable.other.readwrite, variable.other.property, variable.object.property, variable.other.constant, support.variable, meta.object-literal.key, variable.other.readwrite.instance.python, variable.other.readwrite.class.python, variable.other.readwrite.global.python, variable.other.cpp, variable.other.readwrite.cpp, variable.other.member.cpp, variable.other.field.cpp, variable.other.readwrite.cs, variable.other.field.cs, variable.other.member.cs, variable.other.rust, variable.other.readwrite.rust, variable.other.go, variable.other.readwrite.go, variable.other.readwrite.instance.ruby, variable.other.readwrite.class.ruby, variable.other.php, variable.other.global.php, variable.other.java, variable.other.field.java | #00e64d | — |
| variable.parameter, variable.parameter.function.python, variable.parameter.cpp, variable.parameter.cs, variable.parameter.rust, variable.parameter.go, variable.parameter.java, variable.parameter.php, variable.parameter.ruby | #33b5e5 | — |
| variable.language.this, variable.language.super, variable.language.self, variable.parameter.function.language.special.self.python, variable.language.special.self.python, variable.language.special.cls.python, variable.language.this.cpp, variable.language.this.cs, variable.language.this.php | #ffffff | italic |
| keyword, keyword.control, keyword.control.flow, keyword.control.conditional, keyword.control.loop, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.return, keyword.control.yield, keyword.control.await, keyword.control.heritage, keyword.other, keyword.other.import, keyword.other.use, keyword.other.fn, keyword.other.def, keyword.other.new, keyword.other.using, keyword.other.class, keyword.other.namespace | #ffffff | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.new, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.operator.instanceof, keyword.operator.in, keyword.operator.of, keyword.operator.spread, keyword.operator.arrow, keyword.operator.range, keyword.operator.pointer, keyword.operator.address-of, keyword.operator.dereference | #ffffff | — |
| meta.decorator, meta.decorator entity.name.function, punctuation.decorator, entity.name.function.decorator, storage.type.annotation, punctuation.definition.annotation | #ff0055 | — |
| meta.class punctuation.definition.block, meta.class punctuation.section.block, meta.class.body punctuation.definition.block, meta.interface punctuation.definition.block, meta.interface.ts punctuation.definition.block, meta.interface.tsx punctuation.definition.block, punctuation.definition.class.begin.bracket.curly.php, punctuation.definition.class.end.bracket.curly.php, punctuation.section.block.begin.bracket.curly.class.cpp, punctuation.section.block.end.bracket.curly.class.cpp | #da80ff | — |
| meta.function punctuation.definition.block, meta.method punctuation.definition.block, meta.arrow punctuation.definition.block, meta.function.expression punctuation.definition.block, punctuation.definition.begin.bracket.curly.php, punctuation.definition.end.bracket.curly.php, punctuation.section.block.begin.bracket.curly.function.definition.special.constructor.cpp, punctuation.section.block.end.bracket.curly.function.definition.special.constructor.cpp, punctuation.section.block.begin.bracket.curly.function.definition.cpp, punctuation.section.block.end.bracket.curly.function.definition.cpp, punctuation.curlybrace.open.cs, punctuation.curlybrace.close.cs | #ff3333 | — |
| punctuation.definition.parameters.begin, punctuation.definition.parameters.end, meta.function punctuation.definition.parameters, meta.method punctuation.definition.parameters, meta.parameters punctuation.definition.parameters, punctuation.parenthesis.open.cs, punctuation.parenthesis.close.cs | #00e64d | — |
| punctuation.definition.block, punctuation.section.block, meta.brace.round, meta.brace.square, punctuation.definition.array | #888888 | — |
| meta.block punctuation.definition.block | #ffffff99 | — |
| meta.brace.square.ts, meta.brace.square.tsx, meta.brace.square.js | #00b0ff | — |
| punctuation.definition.typeparameters.begin, punctuation.definition.typeparameters.end | #ffffff99 | — |
| support.function.builtin.python | #ff3333 | — |
| support.function.magic.python, entity.name.function.magic.python | #ff0055 | — |
| meta.function.parameters.annotation.python, meta.type.annotation.python, support.type.python | #17a398 | — |
| meta.import.python entity.name.module, support.module.python, entity.name.module.python | #da80ff | — |
| entity.name.function.decorator.python, punctuation.definition.decorator.python | #ff0055 | — |
| meta.fstring.python, constant.character.format.placeholder.other.python | #ff8c00 | — |
| storage.type.cpp, storage.type.c, keyword.type.cpp, keyword.type.c, support.type.cpp, support.type.c, storage.type.built-in.cpp, storage.type.built-in.c, storage.type.primitive.cpp, storage.type.primitive.c, keyword.other.type.cpp, keyword.other.type.c, storage.type.integral.cpp, storage.type.integral.c, storage.type.floating-point.cpp, storage.type.floating-point.c, storage.type.void.cpp, storage.type.void.c, storage.type.boolean.cpp, storage.type.boolean.c | #17a398 | — |
| storage.type.modifier.access.control.public.cpp, storage.type.modifier.access.control.private.cpp, storage.type.modifier.access.control.protected.cpp, storage.type.modifier.access.cpp, storage.type.modifier.cpp, storage.type.modifier.c | #afb42b | — |
| keyword.type.string.cs, keyword.type.cs, keyword.type.void.cs, keyword.type.bool.cs, keyword.type.int.cs, keyword.type.float.cs, keyword.type.double.cs, keyword.type.char.cs, keyword.type.byte.cs, keyword.type.long.cs, keyword.type.object.cs, keyword.type.decimal.cs | #17a398 | — |
| entity.name.variable.property.cs, entity.name.variable.field.cs, entity.name.variable.local.cs | #00e64d | — |
| entity.name.variable.parameter.cs | #33b5e5 | — |
| variable.other.cpp, variable.other.readwrite.cpp, variable.other.member.cpp, variable.other.field.cpp, meta.class.cpp variable.other, meta.struct.cpp variable.other | #00e64d | — |
| meta.function.cpp storage.type, meta.function.c storage.type, meta.function.definition.cpp storage.type | #17a398 | — |
| keyword.control.directive, keyword.control.directive.include, keyword.control.directive.define, keyword.control.directive.pragma, meta.preprocessor.cpp, meta.preprocessor.c | #ff0055 | — |
| string.quoted.other.lt-gt.include.cpp, string.quoted.other.lt-gt.include.c | #ffbf00 | — |
| meta.template.cpp entity.name.type, storage.type.template.cpp | #17a398 | — |
| entity.name.namespace.cpp, entity.name.scope-resolution.cpp | #da80ff | — |
| storage.modifier.pointer.cpp, storage.modifier.reference.cpp | #ff0055 | — |
| entity.name.function.preprocessor.cpp, entity.name.function.preprocessor.c | #ff0055 | — |
| storage.type.cs, support.type.cs, storage.type.built-in.cs, storage.type.integral.cs, storage.type.floating-point.cs, storage.type.void.cs, storage.type.boolean.cs, storage.type.string.cs | #17a398 | — |
| variable.other.readwrite.cs, variable.other.field.cs, variable.other.member.cs, meta.class.cs variable.other, meta.class.body.cs variable.other | #00e64d | — |
| storage.type.annotation.cs, punctuation.definition.annotation.cs | #ff0055 | — |
| entity.name.namespace.cs | #da80ff | — |
| entity.name.lifetime.rust, storage.modifier.lifetime.rust, punctuation.definition.lifetime.rust | #ff0055 | — |
| entity.name.function.macro.rust, support.function.macro.rust | #ff0055 | — |
| entity.name.type.rust, support.type.rust, storage.type.rust | #17a398 | — |
| variable.other.rust, variable.other.readwrite.rust | #00e64d | — |
| support.function.builtin.go | #ff3333 | — |
| entity.name.type.go, support.type.go, storage.type.go | #17a398 | — |
| variable.other.go, variable.other.readwrite.go | #00e64d | — |
| variable.language.this.php | #ffffff | italic |
| meta.function.parameter.typehinted.php variable.other.php, meta.function.parameter.php variable.other.php, variable.parameter.php | #33b5e5 | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #ff0055 | — |
| storage.type.java, support.type.java, storage.type.primitive.java | #17a398 | — |
| variable.other.java, variable.other.field.java | #00e64d | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.block.any.html, entity.name.tag.inline.any.html, meta.tag entity.name.tag | #ff3333 | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, meta.tag punctuation.definition.tag | #7b2ff7 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.event | #00e64d | — |
| string.quoted.double.html, string.quoted.single.html, meta.attribute-with-value string | #80f4ff | — |
| punctuation.separator.key-value, punctuation.separator.key-value.html | #ffffff | — |
| meta.tag.sgml.doctype.html, entity.name.tag.doctype, keyword.other.doctype | #ff0055 | — |
| constant.character.entity.html, punctuation.definition.entity.html | #ffafd1 | — |
| entity.name.tag.css, entity.name.tag.scss, entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, meta.selector | #da80ff | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, meta.property-name | #33b5e5 | — |
| support.constant.property-value.css, meta.property-value.css, support.constant.color, support.constant.font-name, meta.property-value | #00e64d | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.unit, keyword.other.unit | #ffafd1 | — |
| keyword.control.at-rule, keyword.control.at-rule.css, keyword.control.at-rule.media, keyword.control.at-rule.keyframes, keyword.control.at-rule.import | #ff0055 | — |
| variable.css, variable.scss, support.variable.property.css | #00e64d | — |
| keyword.other.create.sql, keyword.other.drop.sql, keyword.other.alter.sql | #da80ff | — |
| keyword.other.sql | #f48fb1 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.DCL.sql, keyword.other.TCL.sql, keyword.other.alias.sql, keyword.other.order.sql, keyword.other.join.sql, storage.modifier.sql | #80d8ff | — |
| support.function.aggregate.sql, support.function.scalar.sql, support.function.string.sql, support.function.date.sql, entity.name.function.sql | #ff3333 | — |
| entity.name.table.sql, variable.other.table.sql | #da80ff | — |
| keyword.operator.comparison.sql, keyword.operator.logical.sql, keyword.operator.sql | #ffffff | — |
| storage.type.sql, support.type.sql | #17a398 | — |
| string.quoted.single.sql, string.quoted.double.sql | #ffbf00 | — |
| constant.numeric.sql | #ff8c00 | — |
| comment.line.double-dash.sql, comment.block.sql | #666666 | italic |
| support.type.property-name.json, meta.structure.dictionary.key.json string.quoted.double | #33b5e5 | — |
| meta.structure.dictionary.value.json string.quoted.double | #ffbf00 | — |
| entity.name.tag.yaml, string.unquoted.plain.out.yaml | #fff2b3 | — |
| string.unquoted.yaml, string.quoted.single.yaml, string.quoted.double.yaml | #80f4ff | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml | #ff0055 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #da80ff | bold |
| markup.bold | #ffffff | bold |
| markup.italic | #8dc8fb | italic |
| markup.inline.raw, markup.raw.inline | #00e64d | — |
| markup.underline.link, string.other.link.title.markdown | #33b5e5 | — |
| markup.quote | #666666 | italic |
| string.regexp, constant.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp | #ff8c00 | — |
| invalid, invalid.deprecated | #ff0000 | strikethrough |
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}!`;
}