Neptune Abyss
Publisher: 0x8964Themes in package: 1
A modern, premium and minimalist dark theme for Visual Studio Code. Deep blue accents, clean typography, balanced contrast, no italic syntax.
A modern, premium and minimalist dark theme for Visual Studio Code. Deep blue accents, clean typography, balanced contrast, no italic syntax.
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, comment.block.documentation | #6B7280 | |
| string, string.quoted, string.template, string.regexp | #9CDCFE | |
| constant.numeric, constant.character, constant.language.boolean, constant.language | #79C0FF | |
| constant.other, variable.other.constant, support.constant | #8FBFFF | |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator | #7AA2F7 | |
| entity.name.function, support.function, meta.function-call, variable.function | #58A6FF | |
| entity.name.method, meta.method, support.method | #58A6FF | |
| entity.name.class, entity.name.type.class, support.class, storage.type.class | #82AAFF | |
| entity.name.interface, entity.name.type.interface, storage.type.interface | #82AAFF | |
| entity.name.enum, entity.name.type.enum, storage.type.enum | #7DCFFF | |
| entity.name.namespace, support.namespace | #61AFEF | |
| variable.other.property, support.variable.property | #61AFEF | |
| variable, identifier, variable.other.readwrite | #E6EDF3 | |
| variable.other.readonly | #BFDFFF | |
| variable.parameter, meta.parameter | #FFFFFF | |
| entity.name.tag, meta.tag.sgml, punctuation.definition.tag | #79A8FF | |
| entity.other.attribute-name.class.html, entity.other.attribute-name.class, meta.attribute-with-value.class.html, meta.attribute-with-value.class, entity.other.attribute-name | #FFFFFF | |
| support.constant.property-value, support.constant.color, support.constant.font-name | #9CDCFE | |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, support.type.property-name.sass | #61AFEF | |
| support.constant.property-value.css, support.constant.property-value.scss, constant.other.color.css, constant.numeric.css | #9CDCFE | |
| support.type.property-name.json, support.type.property-name.jsonc | #7AA2F7 | |
| markup.heading, entity.name.section | #58A6FF | |
| markup.underline.link, string.other.link | #79C0FF | |
| markup.inline.raw, markup.fenced_code.block, markup.code.inline | #9CDCFE | |
| markup.quote | #9CA3AF | |
| markup.bold | #E6EDF3 | |
| markup.italic | #E6EDF3 | |
| punctuation, meta.brace, meta.delimiter, punctuation.definition.parameters | #9CA3AF | |
| keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic | #56B6C2 | |
| invalid, invalid.illegal | #DE5F6A | |
| invalid.deprecated, invalid.broken, invalid.unimplemented | #DE5F6A | |
| punctuation.definition.string, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.template-expression, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #9CA3AF | |
| string.template.expression, meta.embedded.expression, string.interpolated | #E6EDF3 | |
| constant.character.escape, constant.character.escape.backslash | #56B6C2 | |
| constant.character.entity, constant.character.entity.html, constant.character.entity.named | #79C0FF | |
| constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, constant.numeric.decimal | #79C0FF | |
| constant.language.null, constant.language.undefined, constant.language.nan, constant.language.infinity, constant.language.boolean.false, constant.language.boolean.true | #79C0FF | |
| storage.type.function, storage.type.arrow, storage.type.namespace, storage.type.struct, storage.modifier.async, storage.modifier.static, storage.modifier.readonly | #7AA2F7 | |
| entity.name.function.member, entity.name.function.arrow, support.function.builtin, meta.function-call.generic | #58A6FF | |
| entity.name.struct, storage.type.struct | #82AAFF | |
| variable.other.object, variable.other.readwrite.object | #E6EDF3 | |
| variable.language.this, variable.language.super, variable.language.self, variable.language.special | #7AA2F7 | |
| variable.parameter.function, variable.parameter.function-call, meta.parameter | #FFFFFF | |
| meta.definition.variable, meta.definition.property | #E6EDF3 | |
| punctuation.accessor, punctuation.accessor.ts, punctuation.accessor.js, punctuation.dot, meta.delimiter.object.period | #9CA3AF | |
| meta.embedded, source.groovy.embedded, meta.embedded.block, meta.embedded.line | #E6EDF3 | |
| meta.diff, meta.diff.header | #9CA3AF | |
| support.variable.dom, support.variable.property.dom, support.function.console, support.function.dom | #7AA2F7 | |
| entity.name.type.alias, entity.name.type.type-parameter, meta.type.annotation, storage.type.annotation | #82AAFF | |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.pseudo-class, entity.other.pseudo-element | #82AAFF | |
| support.function.misc.css, support.function.misc.scss, support.function.transform.css, support.function.gradient.css, support.function.timing-function.css | #56B6C2 | |
| keyword.other.unit, keyword.other.unit.css, keyword.other.unit.scss, constant.numeric.css, constant.numeric.scss | #79C0FF | |
| support.type.vendored.property-name, support.type.vendored.property-name.css | #6B84A3 | |
| meta.selector, meta.selector.css, meta.selector.scss, meta.selector.less | #E6EDF3 | |
| support.type.property-name.toml, support.type.property-name.yaml | #7AA2F7 | |
| string.unquoted.yaml, string.unquoted.plain.out.yaml, string.unquoted.plain.yaml | #E6EDF3 | |
| entity.name.tag.yaml, entity.name.tag.toml | #7AA2F7 | |
| punctuation.separator.key-value, punctuation.separator.key-value.html, punctuation.definition.attribute | #9CA3AF | |
| markup.heading, markup.heading.1, markup.heading.2, markup.heading.3, markup.heading.4, markup.heading.5, markup.heading.6, entity.name.section, entity.name.section.markdown | #58A6FF | |
| markup.underline.link, markup.underline.link.markdown, string.other.link, string.other.link.title.markdown, string.other.link.description.markdown, meta.link.inline.markdown | #79C0FF | |
| markup.inline.raw, markup.inline.raw.string.markdown, markup.fenced_code.block, markup.fenced_code.block.markdown, markup.code.inline, markup.raw.inline, markup.raw.block | #9CDCFE | |
| markup.quote, markup.quote.markdown | #9CA3AF | |
| markup.bold, markup.bold.markdown, markup.italic, markup.italic.markdown | #E6EDF3 | |
| markup.list, markup.list.numbered, markup.list.unnumbered, markup.list.numbered.markdown, markup.list.unnumbered.markdown | #E6EDF3 | |
| markup.inserted, markup.inserted.git_gutter, markup.inserted.diff | #58A6FF | |
| markup.deleted, markup.deleted.git_gutter, markup.deleted.diff | #DE5F6A | |
| markup.changed, markup.changed.git_gutter, markup.changed.diff | #E3B341 | |
| punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.quote.markdown, punctuation.definition.list.begin.markdown | #9CA3AF | |
| meta.separator.markdown | #1B2433 | |
| support.function.builtin.python, support.function.magic.python, variable.parameter.function.language.special.self.python, variable.language.special.self.python | #58A6FF | |
| meta.function.decorator.python, entity.name.function.decorator.python, punctuation.definition.decorator.python | #7AA2F7 | |
| constant.other.ellipsis.python | #9CA3AF | |
| string.interpolated.python, string.template.python, meta.embedded.line.python | #9CDCFE | |
| support.type.primitive.ts, support.type.primitive.tsx, support.type.builtin.ts, support.type.builtin.tsx | #82AAFF | |
| meta.decorator, meta.decorator.ts, meta.decorator.tsx, punctuation.decorator, entity.name.function.decorator | #7AA2F7 | |
| variable.other.object.ts, variable.other.object.tsx, variable.other.object.js, variable.other.object.jsx | #E6EDF3 | |
| support.variable.property.dom, support.variable.dom | #7AA2F7 | |
| entity.name.type.rust, storage.type.rust, support.type.rust | #82AAFF | |
| meta.attribute.rust, meta.attribute.rust punctuation, entity.name.lifetime.rust, punctuation.definition.lifetime.rust | #7DCFFF | |
| keyword.other.rust, keyword.other.fn.rust, keyword.other.match.rust, keyword.other.unsafe.rust | #7AA2F7 | |
| entity.name.type.go, storage.type.go, support.type.go | #82AAFF | |
| keyword.package.go, keyword.import.go, keyword.func.go, keyword.go.go, keyword.defer.go, keyword.struct.go, keyword.interface.go, keyword.map.go, keyword.chan.go, keyword.select.go, keyword.range.go | #7AA2F7 | |
| support.function.builtin.go, support.constant.builtin.go, support.type.builtin.go | #58A6FF | |
| punctuation, meta.brace, meta.brace.round, meta.brace.square, meta.brace.curly, meta.delimiter, punctuation.definition.parameters, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.separator, punctuation.separator.comma, punctuation.separator.dictionary, punctuation.terminator, punctuation.terminator.statement | #9CA3AF |
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}!`;
}