FullstacksJS Theme
Publisher: FullstacksJSThemes in package: 4
FullstacksJS community Minimal VSCode and Cursor theme based on FlatRemix
FullstacksJS community Minimal VSCode and Cursor theme based on FlatRemix
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 |
|---|---|---|
| storage.type.function.arrow, keyword.operator, meta.brace, punctuation.accessor, punctuation.separator.comma | #ffffff | — |
| comment.line, comment.block, punctuation.definition.comment | #ffffff4d | italic |
| keyword, storage.type, storage.modifier, variable.language.this, variable.language.super | #ff7272 | — |
| string | #c6ff90 | — |
| entity.name.function.decorator, meta.function.decorator | — | bold |
| constant.language, storage.type.numeric.bigint | #c5b5ff | — |
| meta.definition.property | #ffffff | — |
| keyword.operator.type | #ffffff | — |
| entity.name.type | #4fd9ff | — |
| support.type.primitive, support.type.builtin | #14FFDE | — |
| meta.function-call | #ffa478 | — |
| support.class | #ff7272 | — |
| entity.name.tag, keyword.other.doctype | #ff7272 | — |
| meta.tag.attributes | #ffffff | — |
| entity.name.function.definition.special.constructor.cpp | #ff7272 | — |
| storage.type.template.argument.T.cpp | #4fd9ff | — |
| entity.name.label.cpp | — | bold |
| string.quoted.other.lt-gt.include.cpp | #4fd9ff | — |
| support.other.attribute.cpp | #c5b5ff | — |
| entity.name.function.call.cpp, entity.name.function.preprocessor.cpp | #ffa478 | — |
| entity.name.scope-resolution.cpp, entity.name.scope-resolution.function.call.cpp | #14FFDE | — |
| meta.property-value.css, support.constant.property-value.css, support.constant.color.current.css | #4fd9ff | — |
| keyword.other.unit, constant.numeric.css, constant.other.color.rgb-value.hex.css | #ffffff | — |
| support.function.misc.css, meta.function.misc.css, support.function.transform.css | #ffa478 | — |
| variable.argument.css | #14FFDE | — |
| entity.other.attribute-name.pseudo-class.css | #ffa478 | — |
| meta.property-name.css, entity.name.tag.custom.css | #ffffff | — |
| punctuation.definition.entity.begin.bracket.square.css, punctuation.definition.entity.end.bracket.square.css, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css, punctuation.separator.list.comma.css | #ffffff | — |
| entity.other.attribute-name.css | #ffffff | — |
| entity.other.attribute-name.id.css, entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.keyframe-offset.css | #ff7272 | bold |
| entity.other.attribute-name.pseudo-element.css | #ffd257 | bold |
| meta.at-rule.body.css, meta.at-rule.header.css | #ffffff | — |
| keyword.control.at-rule.css, keyword.control.at-rule | #ff7272 | bold |
| punctuation.separator.delimiter.java, keyword.control.ternary.java | #ffffff | — |
| storage.type.java, storage.type.generic.java | #4fd9ff | — |
| storage.type.primitive.java | #c5b5ff | — |
| constant.numeric.decimal.java, storage.modifier.import.java, storage.modifier.package.java, meta.function-call.java | #ffffff | — |
| constant.other.enum.java, entity.name.type.enum.java | #14FFDE | — |
| string.json, punctuation.support.type.property-name.end.json.comments | #ffa478 | — |
| constant.language.json | #c5b5ff | bold |
| storage.type.number.python | #ffffff | — |
| variable.parameter.function.language.special.self.python | #ffd257 | bold |
| punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.separator.arguments | #ffffff | — |
| meta.function-call.arguments.python | #ffffff | — |
| support.function.magic.python | #c5b5ff | bold |
| storage.type.string.python | #c5b5ff | — |
| string.regexp | #ffd257 | bold |
| punctuation.definition.group.regexp, punctuation.definition.character-class.regexp | #ff7272 | — |
| constant.other.character-class.regexp, keyword.operator.quantifier.regexp,keyword.operator.or.regexp, punctuation.definition.group.assertion.regexp | #c5b5ff | bold |
| entity.name.function.macro.rules.rust | #ff7272 | — |
| entity.name.namespace.rust | #14FFDE | — |
| constant.numeric.decimal.rust | #ffffff | — |
| punctuation.brackets.attribute.rust, punctuation.brackets.round.rust, punctuation.comma.rust, variable.other.rust | #ffffff | — |
| entity.name.type.lifetime.rust | #c5b5ff | — |
| entity.name.function.macro.rust | #ffd257 | — |
| meta.function.call.rust | #ffa478 | — |
| variable.language.self.rust | #ffd257 | bold |
| meta.attribute.rust | #ffa478 | — |
| support.function.builtin.shell | #ff7272 | — |
| punctuation.definition.string.heredoc.delimiter.shell | #c5b5ff | bold |
| entity.name.command.shell | #ffffff | bold |
| constant.other.option | #ffffff | — |
| entity.name.type.terraform | #ff7272 | — |
| constant.language.import-export-all | #ffffff | italic |
| constant.numeric.decimal.tsx | #ffffff | — |
| comment.line.triple-slash.directive.ts | #ffffff | |
| meta.decorator.js, meta.decorator.tsx | #ffa478 | — |
| entity.name.label.tsx | — | bold |
| keyword.operator.expression.keyof.tsx, keyword.operator.expression.typeof.tsx, keyword.operator.type.asserts.ts, keyword.operator.expression.instanceof, keyword.operator.new.tsx, keyword.operator.new.ts | #ff7272 | — |
| support.type.primitive.tsx, support.type.builtin.tsx | #14FFDE | — |
| variable.other.object.property.js, variable.other.object.js, meta.template.expression.js, variable.other.object.property.ts, variable.other.object.ts, meta.template.expression.ts, variable.other.object.property.jsx, variable.other.object.jsx, meta.template.expression.jsx, variable.other.object.property.tsx, variable.other.object.tsx, meta.template.expression.tsx | #ffffff | — |
| support.class.component.tsx, support.class.component.js.jsx | #ffa478 | bold |
| punctuation.section.embedded | #ff7272 | — |
| entity.name.tag.localname.xml, entity.name.tag.html, entity.name.tag.tsx | — | bold |
| meta.map.key.yaml | #ff7272 | — |
| string.unquoted.plain.out.yaml | #ffffff | — |
| keyword.control.flow.block-scalar.literal.yaml, keyword.control.flow.block-scalar.folded.yaml | #ffffff | — |
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}!`;
}