Lunar Tides Theme
Publisher: scythericThemes in package: 1
A forked version of Ocean Dark made specifically for luau.
A forked version of Ocean Dark made specifically for luau.
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 |
|---|---|---|
| keyword.control.luau, keyword.operator.wordlike.luau, storage.modifier.local.luau | #4d8092 | italic |
| support.type.primitive.luau, entity.name.type.luau | #559175 | italic bold |
| support.function.luau | #6479a7 | bold |
| entity.name.function.luau | #aab9c0 | — |
| constant.language.nil.luau | #834c4c | bold |
| comment, punctuation.definition.comment, comment.block.documentation punctuation.definition.bracket, source.ocaml comment constant.regexp meta.separator, markup.other.anchor support.constant, markup.fenced_code, markup.fenced_code punctuation.definition, punctuation.definition.heading, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.strikethrough.markdown | #FFEFE473 | italic |
| variable, string constant.other.placeholder, variable.object, support, entity.name.module, meta.toc-list.id.html, source.json meta.structure.dictionary.json support.type.property-name.json, meta.var.clojure, entity.name.variable, source.java meta.class.body.java, entity.name.package.go, source.c, source.cpp, source.go, source.python, meta.function-call.arguments.python, source.ruby, source.coffee.embedded.source, source.coffee, storage.modifier.import, storage.modifier.package, punctuation.definition.annotation, source.groovy.embedded.source, punctuation.definition.variable, source.powershell, string.quoted.interpolated.vala constant.character.escape.vala, source.apacheconf, source.objc, source.crystal, string.quoted.double.kotlin entity.string.template.element.kotlin, entity.name.package.kotlin, meta.template.expression.kotlin, parameter.variable.function, source.elixir.embedded.source, source.sql.embedded, punctuation.definition.placeholder, source.swift, source.julia, source.shell, variable.other.normal punctuation.definition.variable.shell, source.reason variable.language, source.reason variable.language string.other.link, source.elm meta.value, source.elm meta.declaration.module, meta.embedded.block variable punctuation.definition.variable.php, string.quoted.double.class.other, source.toml keyword, support.type.nim, source.tf meta.template.expression, source.scala entity.name.import, markup.code, markup.fenced_code.block | #A6AFBD | |
| entity.name.variable.parameter, variable.parameter, variable.import.parameter | #92B4B4 | italic |
| constant, variable.other.constant, variable.other.constant.object, support.constant, constant.character.entity, support.variable.magic, markup.quote, punctuation.bracket.angle, entity.name.function.preprocessor.c, storage.type.scala, entity.helper.apacheconf, variable.language.crystal, punctuation.definition.constant, support.constant punctuation.definition.variable, constant.character.math, support.class.math, source.graphql constant.character, source.reason constant.language.list, support.variable.class.hideshow, entity.other.attribute-name.class, meta.attribute.id entity.other.attribute-name, text.html entity.other.attribute-name, meta.tag.attributes entity.other.attribute-name, text.xml entity.other.attribute-name, source.cs entity.other.attribute-name, constant.character.format.placeholder, constant.other.placeholder, source.vue entity.other.attribute-name, entity.other.attribute-name.mjml, source.vue meta.directive punctuation.separator.key-value, meta.definition.attribute-entry punctuation.separator, support.constant.property-value, constant.character.character-class.regexp | #A78C81 | italic |
| entity.name.namespace, entity.name.type.namespace.cs | #9F9DAD | |
| variable.other.class, entity.name.type.class, entity.name.type.cs | #6896A5 | bold |
| variable.other.struct, entity.name.type.struct | #9E6B75 | bold |
| variable.other.enum, entity.name.type.enum | #8C96B6 | bold |
| variable.other.enummember, entity.name.type.enummember, entity.name.variable.enum-member | #919AB8 | |
| variable.other.interface, entity.name.type.interface | #9E7667 | bold |
| variable.function, support.type.property-name, support.type.vendored.property-name, entity.name.function, entity.name.function.cs, string.other.link, markup.link, support.type.vendored, support.other.variable, meta.function-call.generic.python, meta.method-call.groovy meta.method.groovy, meta.class.body.groovy meta.method.body.java storage.type.groovy, punctuation.definition.decorator, support.function.any-method, text.tex support.function, text.tex punctuation.definition.function, entity.name.section.fsharp entity.name.section.fsharp, support.variable.class.function, keyword.control.cucumber.table, punctuation.decorator, source.tf support.class, support.function, support.function.construct. | #75AF82 | |
| keyword, keyword.other.template, keyword.other.substitution, storage.modifier, meta.tag.sgml, punctuation.accessor, constant.other.color, entity.name.section, markup.heading, markup.heading punctuation.definition, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, storage.type.function, text.pug storage.type, text.pug meta.tag.other, source.clojure storage.control, meta.expression.clojure, punctuation.separator.slice, punctuation.definition.parameters.varargs, source.go keyword.operator, punctuation.separator.pointer-access, punctuation.separator.other.ruby, keyword.package, keyword.import, punctuation.definition.keyword, punctuation.separator.hash, source.kotlin storage.type.import, source.kotlin storage.type.package, constant.string.documentation.powershell, punctuation.section.directive, storage.type.rust, punctuation.definition.attribute, punctuation.definition.preprocessor, punctuation.separator.namespace, punctuation.separator.method, keyword.control punctuation.definition.function, source.ocaml variable.interpolation string, source.reason variable.interpolation, punctuation.definition.directive, storage.type.modifier, storage.type.primitive, keyword.other.class.fileds, source.toml entity.other.attribute-name, source.css entity.name.tag.custom, sharing.modifier, keyword.control.class.ruby, keyword.control.def.ruby, keyword.operator.heredoc, keyword.other.unit, keyword.operator.new, variable.language.this, storage.type, variable.parameter.function.language.special, variable.language.special.self.python, storage.modifier.java, storage.type.primitive.java, storage.type.var, keyword.type.string, keyword.type.bool, keyword.type.boolean, constant.language.boolean.false, constant.language.boolean.true, keyword.type.object, keyword.type.int, keyword.type.float, keyword.type.double, keyword.type.decimal, keyword.type.void, keyword.operator.expression.new, storage.type.accessor, storage.type.accessor.get, storage.type.accessor.set, variable.language.base, variable.language.this, constant.language.null, keyword.other.static, keyword.other.using, storage.type.struct, keyword.control.import, storage.type.annotation, punctuation.definition.annotation, variable.language, keyword.operator.expression, keyword.control.conditional, keyword.type.char, keyword.type.character | #718DA7 | |
| keyword.control, keyword.control.loop, keyword.control.conditional | #718DA7 | |
| entity.name.type.type-parameter, variable.type.type-parameter | #718DA7 | italic bold |
| variable.other.event | #BB7D88 | |
| string, punctuation.definition.string, source.css support.constant, entity.name.import.go, markup.raw.texttt, markup.inserted.diff, source.scala punctuation.definition.character, constant.character.literal.scala, source.tf entity.name, string.quoted.double | #b67c86 | |
| string.template, punctuation.definition.string.template, string.interpolated.python string.quoted.single.python, string.quoted.double.heredoc, string.quoted.interpolated.vala, string.quoted.interpolated.vala punctuation.definition.string, string.regexp.apacheconf, markup.inline.raw.string, markup.inline.raw punctuation.definition.raw, string.quoted.double.interpolated.crystal, string.quoted.double.interpolated.crystal punctuation.definition.string, text.tex markup.raw, storage.type.string.python, storage.type.string | #B69B7C | |
| constant.character.escape | #b1a979 | |
| constant.numeric, constant.language, punctuation.separator.decimal.period, keyword.operator.null-conditional, constant.integer.apacheconf, keyword.operator.nullable-type, constant.language punctuation.definition.variable, constant.others.fsharp, string.quoted.double.skinparam.value, source.toml constant, source.zig keyword.constant.bool, source.zig keyword.constant.default, entity.other.keyframe-offset.percentage | #b6924f | |
| variable.other.object | #6BAAAA | |
| entity.name.variable.field, entity.name.variable.field.cs, variable.other.field, variable.other.object.field | #6BAAAA | |
| variable.other.object.property, variable.other.object.property.cs, variable.other.property, entity.name.variable.property, meta.object-literal.key | #9890B6 | |
| keyword.control.razor.directive, keyword.control.razor.directive.code, keyword.control.razor.comment.star, keyword.control.cshtml.transition, keyword.control.cshtml, keyword.control.razor.directive.codeblock, keyword.control.razor.directive.codeblock.open, keyword.control.razor.directive.codeblock.close | #736FAA | |
| constant.other.color | #FFFFFF | — |
| invalid, invalid.illegal | #BE7474 | — |
| keyword.operator, keyword.operator.logical, keyword.operator.comparison, keyword.operator.increment, keyword.operator.decrement, storage.type.function.arrow, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.arrow, keyword.operator.null-conditional, keyword.operator.null-conditional.python, keyword.operator.ternary | #7AA8A3 | |
| punctuation.terminator, punctuation.separator.question-mark, punctuation.accessor, punctuation.definition.typeparameters, unctuation.separator.comma, punctuation.curlybrace.open, punctuation.curlybrace.close, punctuation.definition.typeparameters.begin, punctuation.definition.typeparameters.end | #ADADAD | |
| support.variable.property, constant.other.symbol.hashkey.ruby, constant.other.symbol.hashkey.ruby punctuation.definition.constant.ruby, entity.name.type.annotation.kotlin, support.type.primitive, meta.type.parameters entity.name.type, meta.type.annotation entity.name.type, punctuation.definition.typeparameters, comment.block.documentation.phpdoc.php keyword.other.type.php, keyword.type, punctuation.definition.storage.type.objc, markup punctuation.definition, storage.type.powershell, comment.block.documentation entity.name.type, source.java storage.type, source.groovy storage.type, storage.type.r, source.haskell storage.type, punctuation.separator.clause-head-body, source.go storage.type, storage.type.core.rust, storage.class.std.rust, storage.modifier.lifetime.rust, entity.name.lifetime.rust, support.type.vb, support.type.julia, constant.other.reference, source.graphql support.type, source.reason support.type string, source.elm storage.type, storage.type.user-defined, storage.type.built-in, support.type.builtin, source.swift support.type, support.class.crystal, storage.type.integral, source.cpp storage.type.cpp, source.vala storage.type, source.hlsl storage.type.basic, source.hlsl support.type.other, source.apex storage.type, source.nim storage.type, support.class.builtin, source.tf meta.keyword.string, source.tf meta.keyword.number, source.scala entity.name.class, markup.raw.monospace, markup.mark, entity.name.type | #6DAF96 | — |
| entity.name, entity.other, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, support.type, support.class, punctuation.definition.parameters, support.function.construct, markup.changed.git_gutter, markup.underline.link, markup.underline.link.image, markup.underline, meta.symbol.namespace.clojure, entity.mime-type.apacheconf, keyword.operator.function.infix, entity.name.function.infix, entity.name.function.call.kotlin, text.tex support.function.verb, text.tex support.function.texttt, source.reason constant.language.unit, source.reason entity.other.attribute-name constant.language constant.numeric, constant.language.unit.fsharp, source.wsd support.class.preprocessings, keyword.language.gherkin.feature.scenario, source.nim keyword.other.common.function, entity.name.scope-resolution.function.call, support.variable.js | #6BAAAA | |
| punctuation.definition.italic, punctuation.definition.bold, entity.name.tag, entity.name.tag.css, variable.language punctuation.definition.variable, keyword.control.clojure, support.type.exception.python, keyword.other.this.cs, keyword.other.base.cs, keyword.other.var.cs, storage.modifier.super, source.go keyword, keyword.function.go, meta.separator, keyword.other.fn.rust, storage.modifier.static.rust, source.r meta.function.r keyword.control.r, storage.type.def, meta.class.identifier storage.modifier, source.scala keyword.declaration, comment.block.documentation punctuation.definition.block.tag, comment.block.documentation punctuation.definition.inline.tag, entity.tag.apacheconf, keyword.other.julia, source.julia storage.modifier, constant.language.empty-list.haskell, meta.function.powershell storage.type.powershell, keyword.control.fun, punctuation.terminator.function, keyword.other.rust, keyword.other.declaration-specifier.swift, keyword.control.class, keyword.control.def, source.ocaml keyword markup.underline, source.ocaml storage.type markup.underline, binding.fsharp keyword, function.anonymous keyword, function.anonymous keyword.symbol.fsharp, meta.embedded.block variable.language punctuation.definition.variable.php, keyword.declaration.dart, source.wsd keyword.other.class, source.wsd keyword.other.linebegin, keyword.other.skinparam.keyword, keyword.other.nim, markup.deleted.diff, source.tf support.class.variable, meta.function.lua keyword.control.lua, markup.block entity.name.tag, markup.meta.attribute-list, source.zig keyword.default, source.zig keyword.structure | #AC6161 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #C7A058 | — |
| support.type | #91A5AD | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #9AAFB8 | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #6A8CD4 | — |
| entity.other.attribute-name | #A579C2 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #C5A873 | italic |
| entity.other.attribute-name.class | #D8AC5A | — |
| source.sass keyword.control | #6A89CE | — |
| markup.inserted | #ACCC7C | — |
| markup.deleted | #C06271 | — |
| markup.changed | #B081CF | — |
| string.regexp | #76B1C9 | italic |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #6C8CD1 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #C74258 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #6EAFAF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #77A581 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9E7667 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #718DA7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #A199C5 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6EAFAF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #BB7D88 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ACB678 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9F9DAD | — |
| text.html.markdown, punctuation.definition.list_item.markdown, meta.paragraph.markdown | #BBC5CE | — |
| text.html.markdown markup.inline.raw.markdown | #9175A3 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #5C6872 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #8FA175 | — |
| markup.italic | #AC686C | italic |
| markup.bold, markup.bold string | #AC686C | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #AC686C | bold |
| markup.underline | #AC686C | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #8598C2 | — |
| string.other.link.description.title.markdown | #9E7BB6 | — |
| constant.other.reference.link.markdown | #BBA06D | — |
| markup.raw.block | #9D7BB6 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #BEBEBE | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #C9CECE | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.css punctuation.definition.entity.css | #71A186 | |
| keyword.other.unit | #BD9676 | |
| support.type.property-name.css | #7FADAD | |
| meta.property-value, support.constant.property-value.css | #9890B6 | |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #A0A77D | |
| punctuation.definition.tag | #8F9BA7 | |
| entity.other.attribute-name.html | #77A4B9 | |
| entity.name.tag.html | #B36475 | |
| string.quoted.double.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #AC937A | |
| text | #A8AFB6 | |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}