JetBrains Islands Dark+
Publisher: Mustafa MasriThemes in package: 1
A dark theme inspired by JetBrains Islands Dark, tuned for better contrast and consistency.
A dark theme inspired by JetBrains Islands Dark, tuned for better contrast and consistency.
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 | #878e9e | italic |
| comment.block.documentation, comment.block.javadoc | #878e9e | italic |
| string, string.quoted, string.template, string.quoted.single, string.quoted.double, string.quoted.triple | #7aba83 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #e09a76 | — |
| keyword, keyword.control, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.operator.new, keyword.operator.expression, keyword.operator.expression.typeof, keyword.operator.expression.instanceof, keyword.operator.expression.of, keyword.operator.expression.in, keyword.operator.expression.void, keyword.operator.expression.delete | #e09a76 | — |
| storage, storage.type, storage.modifier, storage.type.function, storage.type.class, storage.type.interface, storage.type.enum, storage.type.type | #e09a76 | — |
| entity.name.function, meta.function-call entity.name.function, support.function, meta.function-call | #6ab4f7 | — |
| variable.parameter, meta.parameter | #bcbec4 | — |
| entity.name.type, entity.name.type.class, entity.name.type.interface, entity.name.type.enum, entity.name.type.struct, entity.name.type.type, support.type, support.class, entity.other.inherited-class | #d48ec9 | — |
| entity.name.type.parameter | #d48ec9 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #30c0cc | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #e09a76 | — |
| variable.other.constant, variable.other.enummember | #d48ec9 | — |
| variable, variable.other, variable.other.readwrite, variable.other.object | #bcbec4 | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super | #e09a76 | italic |
| variable.other.property, support.variable.property, variable.other.object.property | #d48ec9 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type | #bcbec4 | — |
| punctuation, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace.round, meta.brace.square, meta.brace.curly | #bcbec4 | — |
| entity.name.tag, entity.name.tag.html, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #e09a76 | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #bababa | — |
| support.class.component, entity.name.tag support.class.component | #6ab4f7 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #e09a76 | — |
| support.type.property-name.css, support.type.vendored.property-name.css, meta.property-name.css | #bcbec4 | — |
| support.constant.property-value.css, support.constant.font-name.css, support.constant.media.css | #bcbec4 | — |
| keyword.other.unit.css, constant.other.color.rgb-value.css, support.constant.color.css | #30c0cc | — |
| keyword.control.at-rule.css, keyword.control.at-rule.media.css, keyword.control.at-rule.import.css | #e09a76 | — |
| variable.scss, variable.other.less | #bcbec4 | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp | #30c0cc | — |
| constant.character.escape, constant.character.escape.backslash | #e09a76 | — |
| meta.decorator, meta.decorator entity.name.function, punctuation.decorator, meta.annotation, storage.type.annotation | #bbb529 | — |
| support.type.property-name.json, string.json support.type.property-name | #d48ec9 | — |
| string.quoted.double.json | #6aab73 | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #e09a76 | — |
| string.unquoted.plain.out.yaml | #bcbec4 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, keyword.control.flow.block-scalar.yaml | #30c0cc | — |
| heading.1.markdown entity.name, heading.2.markdown entity.name, heading.3.markdown entity.name, heading.4.markdown entity.name, heading.5.markdown entity.name, heading.6.markdown entity.name, markup.heading, markup.heading.setext | #e09a76 | bold |
| punctuation.definition.heading.markdown | #e09a76 | — |
| markup.bold | #bcbec4 | bold |
| markup.italic | #bcbec4 | italic |
| markup.inline.raw, markup.fenced_code.block | #6aab73 | — |
| markup.underline.link, markup.underline.link.markdown | #548af7 | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #6ab4f7 | — |
| punctuation.definition.list.begin.markdown, markup.list.numbered.markdown, markup.list.unnumbered.markdown | #e09a76 | — |
| markup.quote.markdown | #7a7e85 | italic |
| meta.function.decorator.python, entity.name.function.decorator.python | #bbb529 | — |
| support.function.magic.python | #6ab4f7 | — |
| constant.character.format.placeholder.other.python | #e09a76 | — |
| entity.name.package.go | #bcbec4 | — |
| entity.name.import.go | #6aab73 | — |
| entity.name.type.lifetime.rust, storage.modifier.lifetime.rust, punctuation.definition.lifetime.rust | #30c0cc | — |
| entity.name.function.macro.rust, support.macro.rust | #6ab4f7 | bold |
| meta.attribute.rust | #bbb529 | — |
| variable.other.normal.shell, variable.other.positional.shell, variable.other.bracket.shell, variable.other.special.shell | #bcbec4 | — |
| entity.name.namespace, entity.name.module, entity.name.type.module | #d48ec9 | — |
| support.constant, support.variable | #d48ec9 | — |
| markup.inserted | #73b00a | — |
| markup.deleted | #f75464 | — |
| markup.changed | #548af7 | — |
| invalid, invalid.illegal | #f75464 | — |
| invalid.deprecated | #e8a33e | 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}!`;
}