Bitstream Blue
Publisher: code-blueThemes in package: 1
A blue dark theme tuned for VHDL, SystemVerilog, and FPGA development — with first-class C++ and Python.
A blue dark theme tuned for VHDL, SystemVerilog, and FPGA development — with first-class C++ and Python.
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, punctuation.definition.comment | #919191 | italic |
| comment.block.preprocessor | #AAAAAA | |
| comment.documentation, comment.block.documentation | #4b1099 | — |
| invalid.illegal | #7250b1 | — |
| keyword.operator | #cecece | — |
| keyword, storage | #4ab1ec | — |
| storage.type, support.type | #eb5943 | — |
| constant.language, support.constant, variable.language | #AB6526 | — |
| variable, support.variable | #8DDFE9 | — |
| entity.name.function, support.function | #2c88be | — |
| entity.name.type, entity.other.inherited-class, support.class | #8cdee8 | — |
| entity.name.exception | #ceac15 | — |
| entity.name.section | #8cdee8 | — |
| constant.numeric, constant.character, constant | #cf711e | — |
| string | #07b0a2 | — |
| constant.character.escape | #b774bb | — |
| string.regexp | #cd4b4b | — |
| constant.other.symbol | #AB6526 | — |
| punctuation | #ffffff | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #AAAAAA | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #91B3E0 | — |
| entity.name.tag | #eb5943 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #91B3E0 | italic |
| constant.character.entity, punctuation.definition.entity | #AB6526 | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #7A3E9D | — |
| meta.property-name, support.type.property-name | #AB6526 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #5cc034 | — |
| keyword.other.important | — | bold |
| markup.changed | #000000 | — |
| markup.deleted | #000000 | — |
| markup.italic | — | italic |
| markup.error | #660066 | — |
| markup.inserted | #000000 | — |
| meta.link | #cd4b8a | — |
| markup.output, markup.raw | #ffffff | — |
| markup.prompt | #ffffff | — |
| markup.heading | #8aaa31 | — |
| markup.bold | — | bold |
| markup.traceback | #1f0066 | — |
| markup.underline | — | underline |
| markup.quote | #90c739 | — |
| markup.list | #4bdef1 | — |
| markup.bold, markup.italic | #448C27 | — |
| markup.inline.raw | #c77324 | |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
| keyword.control.begin.systemverilog, meta.item.begin.systemverilog keyword.control.systemverilog, meta.item.end.systemverilog keyword.control.systemverilog | #4ab1ec | — |
| keyword.declaration.systemverilog, meta.module.systemverilog keyword.control.systemverilog | #4ab1ec | — |
| support.type.direction.systemverilog | #4ab1ec | — |
| meta.parameters.systemverilog storage.type.net.systemverilog | #4ab1ec | — |
| constant.numeric invalid.illegal.bad.number.vhdl | #cf711e | — |
| entity.name.function.preprocessor | #07b0a2 | — |
| support.other.attribute, entity.other.attribute, punctuation.section.attribute | #919191 | — |
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}!`;
}