Rover Theme
Publisher: glsaackeThemes in package: 2
Rover VSCode Theme
Rover VSCode Theme
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 |
|---|---|---|
| source | #C25664 | — |
| comment | #5C5C5C | — |
| string, punctuation.definition.string.end | #E0BC87 | — |
| constant.numeric | #C25664 | — |
| keyword.operator | #DFDFDF | — |
| constant.character, constant.regexp, constant.rgb-value, constant.language, constant.other | #C25664 | — |
| new.expr entity.name | #C25664 | — |
| constant.character, constant.other | #A77283 | — |
| variable | #A77283 | |
| variable.parameter | #A77283 | — |
| variable.other.object | #C25664 | — |
| punctuation.terminator, punctuation.separator, punctuation.accessor | #DFDFDF | — |
| storage, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, storage.type, keyword.type | #E7813D | — |
| keyword.operator, keyword.operator.assignment, storage.type.function.arrow, meta.template.expression punctuation, punctuation.separator.key-value, meta.object-literal.key meta.brace.square, meta.template.expression keyword.operator, keyword.operator.or.regexp, keyword.operator.quantifier, punctuation.definition.group.regexp, punctuation.definition.character-class, punctuation.accessor.js | #FFFFFF | — |
| support.type, support.class | #A77283 | italic |
| entity.name.class | #A77283 | — |
| entity.other.inherited-class | #C8AE9D | italic underline |
| entity.name.function | #8eeee1 | |
| entity.name.tag | #C25664 | |
| entity.other.attribute-name | #D18466 | |
| support.class, support.other, support.variable | #c25664 | |
| support.constant | #D18466 | |
| support.function, support.other.variable | #FFFFFF | — |
| invalid | #FFFFFF | |
| invalid.deprecated | #F8F8F0 | — |
| markup.quote | #D18466 | — |
| markup.bold | #D18466 | bold |
| markup.italic | #D18466 | italic |
| markup.inline.raw | #C8AE9D | — |
| markup.heading.setext | #E06C75 | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #D18466 | — |
| token.error-token | #E06C75 | — |
| token.debug-token | #A79DF8 | — |
| keyword.control.conditional, keyword.control.loop, keyword.control.flow, keyword.control.exception | #DFDFDF | — |
| entity.name.variable.field.cs, entity.name.variable.parameter.cs, entity.name.variable.local.cs, variable.other.object.property.cs, variable.other.object.cs | #A77283 | — |
| #8eeee1 | — | |
| keyword.other.svelte | #DFDFDF | — |
| meta.jsx.children.js, punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js, punctuation.definition.tag.begin.svelte, punctuation.definition.tag.end.svelte, text.svelte | #ABB2BF | — |
| meta.brace.round.js, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js, punctuation.section.embedded.begin.js, punctuation.section.embedded.end.js, meta.brace.round.ts, punctuation.definition.parameters.begin.ts, punctuation.definition.parameters.end.ts, punctuation.section.embedded.begin.ts, punctuation.section.embedded.end.ts | #ffe207 | — |
| meta.brace.square.js, punctuation.definition.binding-pattern.array.js | #df60da | — |
| support.class.component.js | #c25688 | — |
| variable.other.object.js | #A77283 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — |
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}!`;
}