Coral Reef
Publisher: Aram BeckerThemes in package: 6
Colorful theme loosely based on the Rainglow Vision Theme.
Colorful theme loosely based on the Rainglow Vision Theme.
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #d9c230 | — |
| meta.diff, meta.diff.header | #0d8273 | — |
| markup.inserted | #43d82c | — |
| markup.deleted | #e24646 | — |
| markup.changed | #14d7bd | — |
| invalid | #e24646 | — |
| invalid.deprecated | #e24646 | underline italic |
| entity.name.filename | #d9c230 | — |
| markup.error | #e24646 | — |
| markup.underline | — | underline |
| markup.bold | #d9c230 | bold |
| markup.heading | #ed7845 | bold |
| markup.italic | #df9834 | italic |
| beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext | #228fd9 | — |
| markup.underline.link, markup.underline.link.image | #14d7bd | — |
| meta.link.reference.def.restructuredtext, punctuation.definition.directive.restructuredtext, string.other.link.description, string.other.link.title | #df9834 | — |
| entity.name.directive.restructuredtext, markup.quote | #0d8273 | italic |
| meta.separator.markdown | #0d8273 | — |
| markup.inline.raw, markup.raw.restructuredtext | #43d82c | — |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown | #43d82c | — |
| punctuation.definition.constant.restructuredtext | #228fd9 | — |
| markup.heading.markdown punctuation.definition.string.begin, markup.heading.markdown punctuation.definition.string.end | #b982f7 | — |
| meta.paragraph.markdown punctuation.definition.string.begin, meta.paragraph.markdown punctuation.definition.string.end | #d9c230 | — |
| markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.begin, markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.end | #d9c230 | — |
| entity.name.type.class, entity.name.type.parameter | #d9c230 | — |
| keyword.expressions-and-types.swift, keyword.other.this, variable.language, variable.language punctuation.definition.variable.php, variable.other.readwrite.instance.ruby, variable.parameter.function.language.special | #ed7845 | bold |
| entity.other.inherited-class | #d9c230 | italic |
| support.class, support.type | #d9c230 | bold |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #0d8273 | italic |
| comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class | #228fd9 | italic |
| comment.block.documentation entity.name.type | #d9c230 | — |
| comment.block.documentation entity.name.type punctuation.definition.bracket | #14d7bd | — |
| comment.block.documentation variable | #ebebeb | — |
| constant | #b982f7 | — |
| constant.language | — | bold |
| constant.character.escape, constant.character.string.escape, constant.regexp | #e24646 | — |
| entity.name.tag | #ed7845 | — |
| entity.name.tag.css, entity.name.tag.scss, entity.name.tag.sass | #df9834 | bold |
| entity.other.attribute-name.parent-selector, entity.name.tag.reference | #e24646 | — |
| entity.other.attribute-name, entity.other.attribute-name.id | #d9c230 | — |
| entity.other.attribute-name.id | — | bold |
| entity.other.attribute-name.attribute | — | italic |
| meta.attribute-selector | #43d82c | — |
| entity.other.attribute-name.pseudo-class | — | italic |
| entity.name.function, meta.function-call.object, meta.function-call.php, meta.function-call.static, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method.lua, keyword.operator.function.infix | #14d7bd | — |
| entity.name.variable.parameter, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.function.arguments variable.other.php, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql, variable.parameter | — | underline |
| meta.decorator variable.other.readwrite, meta.decorator variable.other.property | #14d7bd | italic |
| punctuation.decorator | #228fd9 | — |
| meta.decorator variable.other.object | #df9834 | — |
| keyword, punctuation.definition.keyword | #228fd9 | — |
| keyword.control | #ed7845 | — |
| source.css keyword.control | #228fd9 | — |
| keyword.control.new, keyword.operator.new | — | bold |
| keyword.operator.expression.void, keyword.control.flow | #e24646 | — |
| meta.selector | #df9834 | — |
| support, variable.other.predefined | — | italic bold |
| support.function.magic | #43d82c | bold |
| constant.other.symbol.hashkey punctuation.definition.constant.ruby, entity.other.attribute-name.placeholder punctuation, entity.other.attribute-name.pseudo-class punctuation, entity.other.attribute-name.pseudo-element punctuation, meta.group.double.toml, meta.group.toml, meta.object-binding-pattern-variable punctuation.destructuring, punctuation.colon.graphql, punctuation.definition.block.scalar.folded.yaml, punctuation.definition.block.scalar.literal.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.entity.other.inherited-class, punctuation.function.swift, punctuation.separator.dictionary.key-value, punctuation.separator.hash, punctuation.separator.inheritance, punctuation.separator.key-value, punctuation.separator.key-value.mapping.yaml, punctuation.separator.namespace, punctuation.separator.pointer-access, punctuation.separator.slice, string.unquoted.heredoc punctuation.definition.string, support.other.chomping-indicator.yaml, punctuation.separator.annotation | #228fd9 | — |
| keyword.operator.other.powershell, keyword.other.statement-separator.powershell, meta.brace.round, meta.function-call punctuation, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.entity.begin, punctuation.definition.entity.end, punctuation.definition.tag.cs, punctuation.definition.type.begin, punctuation.definition.type.end, punctuation.section.scope.begin, punctuation.section.scope.end, storage.type.generic.java, string.template meta.brace, string.template punctuation.accessor, punctuation.accessor | #ebebeb | — |
| punctuation.definition.tag | #f9733994 | — |
| punctuation.definition.typeparameters | #e8cd2194 | — |
| meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded.begin, punctuation.section.embedded.coffee, punctuation.section.embedded.end, punctuation.section.embedded.end source.php, punctuation.section.embedded.end source.ruby, punctuation.definition.variable.makefile | #ed7845 | — |
| entity.name.function.target.makefile, entity.name.section.toml, entity.name.tag.yaml, variable.other.key.toml | #ed7845 | — |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, punctuation.support.type.property-name.begin.yaml, punctuation.support.type.property-name.end.yaml, punctuation.support.type.property-name.begin.toml, punctuation.support.type.property-name.end.toml, punctuation.entity.name.function.target.begin.makefile, punctuation.entity.name.function.target.end.makefile, punctuation.entity.name.section.begin.toml, punctuation.entity.name.section.end.toml, punctuation.entity.name.tag.begin.yaml, punctuation.entity.name.tag.end.yaml | #f9733994 | — |
| constant.other.date, constant.other.timestamp | #d9c230 | — |
| variable.other.alias.yaml, entity.name.type.anchor.yaml, entity.name.type.anchor.toml | #ebebeb | italic underline |
| source.yaml keyword.control, source.toml keyword.control | #228fd9 | — |
| storage, meta.implementation storage.type.objc, meta.interface-or-protocol storage.type.objc, source.groovy storage.type.def | #228fd9 | regular |
| entity.name.type.interface, entity.name.type.class, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name, storage.class.std.rust, storage.type.attribute.swift, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.groovy, storage.type.objc, storage.type.php, storage.type.haskell, storage.type.ocaml | #d9c230 | — |
| entity.name.type.primitive, keyword.primitive-datatypes.swift, keyword.type.primitive, source.go storage.type.primitive, source.groovy storage.type.primitive, source.java storage.type.primitive, storage.type.primitive | #d9c230 | bold |
| support.type | #d9c230 | bold |
| support.type.primitive | #d9c230 | italic bold |
| entity.name.type.type-parameters, meta.indexer.mappedtype.declaration entity.name.type, meta.type.parameter entity.name.type, meta.type.parameters | #d9c230 | italic |
| storage.modifier | #e24646 | — |
| string.regexp, constant.other.character-class.set.regexp, constant.character.escape.backslash.regexp | #df9834 | — |
| punctuation.definition.group.capture.regexp | #228fd9 | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #e24646 | — |
| punctuation.definition.character-class.regexp, constant.other.character-class.set.regexp | #43d82c | — |
| punctuation.definition.group.regexp, meta.group.regexp | #d9c230 | — |
| meta.group.assertion.regexp, meta.group.assertion.regexp punctuation.definition.group.regexp | #0d8273 | — |
| punctuation.definition.group.assertion.regexp, punctuation.definition.group.no-capture.regexp, keyword.operator.negation.regexp | #228fd9 | — |
| meta.assertion.look-ahead.regexp | #228fd9 | — |
| string.regexp keyword.other | #e24646 | — |
| string | #43d82c | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end | #38e71d94 | — |
| string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape | #0d8273 | — |
| variable | #ebebeb | — |
| constant.other.key.perl, variable.other.constant.js, variable.other.constant.ts, variable.other.constant.tsx | #ebebeb | — |
| support.variable.property, support.constant.property, support.type.property-name, meta.object-literal.key, meta.definition.property, variable.property, variable.object.property, variable.other.property | #df9834 | — |
| support.type.property-name | — | |
| support.variable.property, support.constant.property | — | italic |
| meta.import variable.other.readwrite, meta.object-binding-pattern-variable variable.object.property, meta.variable.assignment.destructured.object.coffee variable | #df9834 | italic |
| meta.import variable.other.readwrite.alias, meta.export variable.other.readwrite.alias, meta.variable.assignment.destructured.object.coffee variable variable | #ebebeb | bold |
| meta.selectionset.graphql variable | #ebebeb | — |
| meta.selectionset.graphql meta.arguments variable | #df9834 | — |
| entity.name.fragment.graphql, variable.fragment.graphql | #14d7bd | — |
| constant.other.symbol.hashkey.ruby, keyword.operator.dereference.java, keyword.operator.navigation.groovy, meta.scope.for-loop.shell punctuation.definition.string.begin, meta.scope.for-loop.shell punctuation.definition.string.end, meta.scope.for-loop.shell string, storage.modifier.import, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx, punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx, punctuation.separator.list.comma.css, constant.language.empty-list.haskell | #228fd9 | — |
| source.shell variable.other | #ebebeb | italic bold |
| meta.scope.prerequisites.makefile | #ed7845 | — |
| punctuation.definition.attribute-selector.end.bracket.square.scss, punctuation.definition.attribute-selector.begin.bracket.square.scss | #228fd9 | — |
| meta.preprocessor.haskell | #0d8273 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}