RLabs Themes Collection
Publisher: RLabs Inc.Themes in package: 100
A collection of VSCode themes made by RLabs Inc.
A collection of VSCode themes made by RLabs Inc.
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 | #FFFFFF | — |
| meta.selector | #9fffc6 | — |
| token.info-token | #AFD8FF | — |
| token.warn-token | #9fffc6 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #FF869C | — |
| comment | #33373b | — |
| comment.line | #33373b | — |
| constant | #A9BFDA | — |
| entity | #ffffff | — |
| entity.name.function, entity.name.method | #E6E6E6 | — |
| entity.name.type | #9CC1EE | — |
| entity.name.class | #FFA4A4 | — |
| entity.name.tag | #9cb6d3 | — |
| entity.other.inherited-class | #9cb6d3 | — |
| entity.other.attribute-name | #bbbdbe | — |
| entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class | #E6E6E6 | — |
| invalid | #6d2222 | — |
| keyword | #f5b575 | — |
| keyword.control | #f5b575 | — |
| keyword.control.conditional | #f5b575 | — |
| keyword.operator, storage.type.function.arrow | #f5b575 | — |
| keyword.operator.logical, keyword.operator.comparison | #f5b575 | — |
| keyword.operator.new | #f5b575 | — |
| keyword.other.unit | #6d8296 | — |
| markup.underline | — | underline |
| markup.underline.link | #5e9fc7 | underline |
| markup.bold | — | bold |
| markup.heading | #00ff95 | — |
| markup.italic | — | italic |
| markup.list | #9fffc6 | — |
| markup.quote | #9fffc6 | italic |
| markup.raw | #9fffc6 | — |
| markup.other | #FFC59E | — |
| markup.changed | #A6D9F7 | — |
| markup.inserted | #9fffc6 | — |
| markup.deleted | #FF8686 | — |
| storage.type | #969696 | — |
| storage.modifier | #969696 | — |
| string | #ffffff | — |
| string.quoted.triple | #ffffff | — |
| string.quoted.other | #ffffff | — |
| string.regexp | #ffffff | — |
| string.interpolated | #ffffff | — |
| support.function | #9fffc6 | — |
| support.class | #6d8296 | — |
| support.type, support.variable.property | #5979a2 | — |
| support.constant | #fbf8cd | — |
| support.variable | #fbf8cd | — |
| support.other | #fbf8cd | — |
| variable | #82D0C8 | — |
| variable.parameter | #6d8296 | — |
| variable.language | #6d8296 | — |
| variable.other | #fffbbe | — |
| variable.object.property | #C0BBCC | — |
| variable.other.object.property | #6d8296 | — |
| variable.other.object, variable.other.constant.object | #6d8296 | — |
| variable.parameter.handlebars | #6d8296 | — |
| meta.import variable.other.readwrite, meta.object-binding-pattern-variable variable.object.property, meta.variable.assignment.destructured.object.coffee variable | #ffffff | — |
| meta.import variable.other.readwrite.alias , meta.export variable.other.readwrite.alias , meta.variable.assignment.destructured.object.coffee variable variable | #ffffff | — |
| constant.other.symbol.hashkey punctuation.definition.constant.ruby, entity.other.attribute-name.placeholder punctuation # Sass placeholder `%` symbols, 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, string.unquoted.heredoc punctuation.definition.string, support.other.chomping-indicator.yaml, punctuation.separator.annotation | #ffffff | — |
| keyword.operator.other.powershell # Commas, keyword.other.statement-separator.powershell, meta.brace.round, meta.function-call punctuation, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.entity.begin, punctuation.definition.entity.end, punctuation.definition.tag.cs # HTML tags in comments, punctuation.definition.type.begin, punctuation.definition.type.end, punctuation.section.scope.begin, punctuation.section.scope.end, string.template meta.brace, string.template punctuation.accessor | #ffffff | — |
| 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 # PHP edge case, punctuation.section.embedded.end source.ruby # Issue with ruby's tmLanguage, punctuation.definition.variable.makefile | #ffffff | — |
| meta.selectionset.graphql variable | #ffffff | — |
| meta.selectionset.graphql meta.arguments variable | #ffffff | — |
| entity.name.fragment.graphql, variable.fragment.graphql | #ffffff | — |
| log.error | #ff000000 | bold |
| log.warning | #9fffc6 | bold |
| entity.name.function.target.makefile, entity.name.section.toml, entity.name.tag.yaml, variable.other.key.toml | #9fffc6 | — |
| constant.other.date, constant.other.timestamp | #ffffff | — |
| variable.other.alias.yaml | #ffffff | — |
| string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp | #F3E9D2 | — |
| punctuation.definition.group.capture.regexp | #9fffc6 | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #DAF8D4 | — |
| punctuation.definition.character-class.regexp | #AFD8FF | — |
| punctuation.definition.group.regexp | #FF869C | — |
| punctuation.definition.group.assertion.regexp, keyword.operator.negation.regexp | #F3E9D2 | — |
| meta.assertion.look-ahead.regexp | #9fffc6 | — |
| meta.scope.prerequisites.makefile | #9fffc6 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #9fffc6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFB794 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F3E9D2 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF869C | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #bbdeee | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFB794 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C7C6C9 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #AEAEAE | — |
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}!`;
}