The Islands Theme
Publisher: Ruslan ButovThemes in package: 3
The Islands Theme for VS Code — Dark, Light, and Darcula variants inspired by the JetBrains Islands theme, the new default look for JetBrains IDEs.
The Islands Theme for VS Code — Dark, Light, and Darcula variants inspired by the JetBrains Islands theme, the new default look for JetBrains IDEs.
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, comment.line, comment.block | #8C8C8C | — |
| comment.block.documentation | #8C8C8C | italic |
| comment.block.documentation storage.type, keyword.other.phpdoc, storage.type.class.jsdoc | #067D17 | italic |
| variable.other.jsdoc, entity.name.type.instance.jsdoc, keyword.other.type | #8B8E94 | — |
| source.css.scss comment | #B9954E | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, storage, storage.type, storage.modifier, constant.language, variable.language.this, variable.language.super, variable.key.dotenv, entity.name.command, entity.name.tag.yaml, constant.character.escape, punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.quote.begin.markdown, keyword.other.important.css, properties.invalid | #0033B3 | — |
| punctuation.definition.heading.markdown | #0033B3 | italic |
| entity.name.constant, variable.other.object, variable.other.property, variable.other.object.property, variable.other.constant.property, variable.other.enummember, meta.object-literal.key, meta.definition.property, meta.definition.property entity.name.function, support.type.property-name.json, support.variable.property, support.type.object.module, fenced_code, constant.other, variable.other.constant | #871094 | — |
| variable.other.constant, meta.definition.variable constant, constant.other.php | #871094 | italic |
| keyword.control.at-rule.mixin.scss | #9E880D | — |
| string, punctuation.definition.metadata.markdown, markup.inline.raw, markup.quote, punctuation.separator.key-value.html, source.css support.constant, keyword.other.unit, constant.other.character-class.set.regexp, constant.other.character-class.range.regexp, meta.at-rule.each keyword.control.operator, meta.attribute-selector, meta.tag.attributes keyword.operator.assignment | #067D17 | — |
| constant.numeric, keyword.operator.quantifier.regexp, string.regexp punctuation.definition.string, string.regexp keyword.other | #1750EB | — |
| support.class.component, entity.name.tag.template.html.vue, entity.name.tag.script.html.vue, entity.name.tag.style.html.vue, source.vue meta.tag.other.unrecognized.html.derivative entity.name.tag, source.vue meta.tag.custom.start.html entity.name.tag, source.vue meta.tag.custom.end.html entity.name.tag, support.class.component.jsx, support.class.component.tsx, entity.name.tag.custom | #2FBAA3 | — |
| meta.embedded, meta.tag.attributes, meta.at-rule.for keyword.control.operator, variable.interpolation, entity.name.type, entity.name.function.tagged-template, constant.language.import-export-all, string variable, source.yaml string.unquoted, source.yaml constant.language.boolean, punctuation.accessor, keyword.operator, keyword.other.unit.percentage, keyword.other.back-reference.regexp, punctuation.definition.entity, punctuation.separator.key-value, punctuation.separator.list.comma.css, punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.definition.template-expression, punctuation.definition.attribute-selector, punctuation.terminator, storage.type.function.arrow, meta.brace.square, punctuation.definition.typeparameters, punctuation.separator, punctuation.section, meta.brace | #080808 | — |
| meta.property-list variable.css, entity.other.attribute-name, support.type.property-name, support.type.vendored.property-name | #080808 | — |
| entity.name.type.module, constant.character.escape.php | #080808 | — |
| string.other.link, constant.other.reference.link, punctuation.definition.link.title.begin.markdown, punctuation.definition.link.title.end.markdown, punctuation.definition.link.description.begin.markdown, punctuation.definition.link.description.end.markdown, markup.underline.link | #00627A | underline |
| variable.parameter.url.css, meta.property-value variable.parameter.url, meta.at-rule.namespace variable.parameter.url | #5C92FF | — |
| variable.scss | #871094 | — |
| variable.parameter.misc.css, variable.parameter.keyframe-list.css, entity.name.tag, entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.scss, entity.other.attribute-name.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity, entity.other.attribute-name.placeholder.css, entity.other.attribute-name.placeholder.css punctuation.definition.entity, entity.other.keyframe-offset, punctuation.definition.tag, meta.at-rule.media keyword.operator, meta.at-rule.media keyword.control.operator, meta.attribute-selector string.unquoted.attribute-value, meta.property-value variable.argument.css, constant.other.scss, support.constant.parity.css, source.css entity.name.function, source.css support.type.map.key, source.css support.constant.language-range, source.css support.function, text.html.basic entity.name.tag, text.html entity.name.tag, meta.tag | #D5B778 | — |
| punctuation.decorator, meta.decorator entity.name.function, meta.decorator, constant.other.character-class.regexp, meta.attribute.php, storage.type.annotation | #9E880D | — |
| invalid, invalid.illegal | #C54E58 | — |
| invalid.deprecated | #080808 | strikethrough |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.strikethrough | — | strikethrough |
| entity.name.function, support.function, meta.function-call entity.name.function, string.other.link.description.title.markdown, support.function.file.php, support.function.basic_functions.php, support.function.output.php, support.function.var.php, support.function.info.php, support.function.image.php, support.function.array.php, support.function.string.php, constant.other.color.rgb-value | #00627A | — |
| entity.name.function.member, meta.method | #00627A | — |
| entity.name.function.member.static, support.function.js | #00627A | italic |
| markup.heading, meta.definition variable.other.constant, entity.name.section.markdown | #871094 | italic |
| entity.name.type.parameter, entity.name.type.interface, support.type.primitive | #1750EB | — |
| string.regexp, source.regexp | #1750EB | — |
| keyword.codetag, comment.todo | #9E880D | italic |
| punctuation.section.embedded.begin.php, support.function.construct.php, support.function.construct.output.php | #0033B3 | — |
| variable.other.php, variable.other.global.php, variable.other.global.safer.php, support.constant.core.php | #871094 | — |
| entity.name.function.support.go | #00627A | — |
| entity.name.type.go | #1750EB | — |
| variable.other.property.go | #871094 | — |
| punctuation.other.comma.go | #080808 | — |
| storage.type.error.go, constant.language.null.go, entity.name.function.support.builtin.go, storage.type.string.go, storage.type.boolean.go, constant.language.boolean.go | #0033B3 | — |
| constant.other.symbol.ruby | #1750EB | — |
| entity.name.type.class.ruby, variable.other.constant.ruby | #871094 | italic |
| constant.numeric.float.ruby, constant.numeric.integer.ruby, constant.other.symbol.hashkey.ruby | #1750EB | — |
| support.class.ruby, entity.other.inherited-class.ruby | #080808 | — |
| keyword.other.special-method.ruby | #0033B3 | — |
| variable.other.readwrite.instance.ruby | #871094 | — |
| entity.name.function.ruby, variable.other.block.ruby | #00627A | — |
| keyword.operator.nulltype.graphql | #0033B3 | — |
| source.graphql | #871094 | — |
| variable.fragment.graphql, entity.name.fragment.graphql | #00627A | — |
| meta.arguments.graphql, support.type.graphql, punctuation.operation.graphql, variable.parameter.graphql, meta.brace.round.graphql, punctuation.colon.graphql, punctuation.assignment.graphql, string.unquoted.alias.graphql, support.type.builtin.graphql | #080808 | — |
| constant.character.enum.graphql | #871094 | italic |
| markup.inserted | #067D17 | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #C54E58 | — |
| variable.language.this, variable.language.super, variable.language.self, variable.language.this.php, variable.language.special.self.python, variable.language.special.cls.python | #0033B3 | — |
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}!`;
}