Tide — Teal & Amber
Publisher: willibrandonThemes in package: 2
Sea-glass teal, warm amber, and quiet blue-slate. Carefully paired dark and light themes for focused work.
Sea-glass teal, warm amber, and quiet blue-slate. Carefully paired dark and light themes for focused work.
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 |
|---|---|---|
| Default typography | #23343B | |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #23343B | |
| comment, punctuation.definition.comment | #526B75 | |
| comment.block.documentation storage.type.class, comment.block.documentation entity.name.type, comment.block.documentation variable.other | #526B75 | |
| keyword, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #405BB5 | |
| keyword.control, keyword.other.using, keyword.other.directive, keyword.other.operator, entity.name.operator | #405BB5 | |
| keyword.operator, punctuation.separator, punctuation.accessor | #405B66 | |
| entity.name.function, meta.function-call, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #006D68 | |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.inherited-class, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, meta.type.cast.expr, meta.type.new.expr, storage.type.sql, storage.type.powershell | #875600 | |
| entity.name.namespace, entity.name.module, entity.name.type.module, entity.name.type.package, entity.name.import.go, entity.name.type.module.ts, entity.name.type.package.go, entity.name.module.rust, entity.name.namespace.rust | #526B75 | |
| entity.name.class, entity.name.type.class, entity.name.type.class.ts, entity.name.type.class.python, support.class, support.class.ts, support.class.promise.ts, entity.other.inherited-class | #875600 | |
| entity.name.type.interface, entity.name.type.interface.ts, entity.name.type.trait, entity.name.type.trait.rust | #285F97 | |
| entity.name.type.struct, entity.name.type.struct.rust, entity.name.type.record, entity.name.type.declaration.rust | #286447 | |
| entity.name.type.enum, entity.name.type.enum.ts, entity.name.type.enum.rust, entity.name.type.union | #875600 | |
| entity.name.type.alias, entity.name.type.alias.ts, entity.name.type.type-parameter, entity.name.type.parameter, entity.name.type.metavariable.rust, entity.name.type.lifetime.rust | #695397 | |
| meta.decorator, meta.decorator.ts, entity.name.function.decorator, entity.name.function.decorator.python, entity.other.attribute, storage.type.annotation, entity.name.type.annotation | #695397 | |
| variable.other.constant, variable.other.enummember, support.constant, variable.other.constant.ts, variable.other.constant.object.ts, variable.other.constant.property.ts, variable.other.constant.go | #875600 | |
| storage.type.class.cs, storage.type.delegate.cs, storage.type.enum.cs, storage.type.interface.cs, storage.type.namespace.cs, storage.type.record.cs, storage.type.struct.cs | #405BB5 | |
| source.cs storage.modifier, source.cs storage.type.accessor | #405B66 | |
| source.cs keyword.type, storage.type.var.cs | #875600 | |
| keyword.other.directive.alias.cs, keyword.other.directive.global.cs, keyword.other.directive.static.cs, keyword.other.directive.using.cs | #405BB5 | |
| source.cs constant.language | #875600 | |
| entity.name.type.namespace.cs | #526B75 | |
| entity.name.type.cs, entity.name.type.alias.cs, entity.name.type.delegate.cs | #875600 | |
| entity.name.type.type-parameter.cs | #695397 | |
| entity.name.type.class.cs | #875600 | |
| entity.name.type.interface.cs | #285F97 | |
| entity.name.type.struct.cs | #286447 | |
| entity.name.type.enum.cs | #875600 | |
| entity.name.function.cs | #006D68 | |
| source.cs keyword.operator | #405B66 | |
| variable, meta.definition.variable.name, entity.name.variable, constant.other.placeholder | #23343B | |
| variable.parameter, meta.parameters variable | #405B66 | |
| variable.language, variable.language.this, variable.language.self | #23343B | |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, support.type.vendored.property-name, meta.structure.dictionary.key.python | #405B66 | |
| entity.name.variable.field.cs | #405B66 | |
| entity.name.variable.local.cs | #23343B | |
| entity.name.variable.range-variable.cs, entity.name.variable.tuple-element.cs | #23343B | |
| entity.name.variable.parameter.cs | #405B66 | |
| entity.name.variable.property.cs, variable.other.object.property.cs | #405B66 | |
| entity.name.variable.event.cs | #286447 | |
| entity.name.variable.enum-member.cs | #875600 | |
| constant.language, variable.other.constant, variable.other.enummember, support.constant | #875600 | |
| constant.numeric, keyword.other.unit, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #875600 | |
| string, string.value, string.tag, meta.embedded.assembly | #496A2A | |
| constant.character.escape, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #695397 | |
| string.regexp, constant.regexp, constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp, punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, keyword.operator.or.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #695397 | |
| constant.character, constant.other.option | #496A2A | |
| entity.name.tag, entity.name.tag.css, entity.name.tag.less, entity.name.selector | #405B66 | |
| entity.other.attribute-name, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.scss | #695397 | |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #405B66 | |
| meta.structure.dictionary.value.json string.quoted.double.json, meta.structure.array.json string.quoted.double.json, meta.structure.dictionary.value.json.comments string.quoted.double.json.comments, meta.structure.array.json.comments string.quoted.double.json.comments | #496A2A | |
| constant.numeric.json, constant.numeric.json.comments | #875600 | |
| constant.language.json, constant.language.json.comments | #875600 | |
| constant.character.escape.json, constant.character.escape.json.comments | #695397 | |
| punctuation.definition.array.begin.json, punctuation.definition.array.end.json, punctuation.definition.dictionary.begin.json, punctuation.definition.dictionary.end.json, punctuation.separator.array.json, punctuation.separator.dictionary.key-value.json, punctuation.separator.dictionary.pair.json, punctuation.definition.array.begin.json.comments, punctuation.definition.array.end.json.comments, punctuation.definition.dictionary.begin.json.comments, punctuation.definition.dictionary.end.json.comments, punctuation.separator.array.json.comments, punctuation.separator.dictionary.key-value.json.comments, punctuation.separator.dictionary.pair.json.comments | #405B66 | |
| support.type.property-name.json, support.type.property-name.json.comments, string.json support.type.property-name.json, string.json.comments support.type.property-name.json.comments, meta.structure.dictionary.json string.quoted.double, meta.structure.dictionary.json.comments string.quoted.double | #405B66 | |
| string.quoted.double.yaml, string.quoted.single.yaml | #496A2A | |
| string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml | #496A2A | |
| constant.numeric.yaml, constant.numeric.float.yaml, constant.numeric.integer.yaml, constant.numeric.timestamp.yaml | #875600 | |
| constant.language.boolean.yaml | #875600 | |
| constant.language.null.yaml | #875600 | |
| variable.other.anchor.yaml, keyword.control.flow.anchor.yaml, punctuation.definition.anchor.yaml | #405B66 | |
| variable.other.alias.yaml, keyword.control.flow.alias.yaml, punctuation.definition.alias.yaml | #405B66 | |
| storage.type.tag-handle.yaml, storage.type.tag.non-specific.yaml, storage.type.tag.shorthand.yaml, storage.type.tag.verbatim.yaml, support.type.tag-prefix.yaml | #405B66 | |
| keyword.other.directive.other.yaml, keyword.other.directive.tag.yaml, keyword.other.directive.yaml.yaml, string.unquoted.directive-name.yaml | #405BB5 | |
| entity.other.document.begin.yaml, entity.other.document.end.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.map.key.yaml, punctuation.definition.mapping.begin.yaml, punctuation.definition.mapping.end.yaml, punctuation.definition.sequence.begin.yaml, punctuation.definition.sequence.end.yaml, punctuation.separator.map.value.yaml, punctuation.separator.mapping.yaml, punctuation.separator.sequence.yaml | #405B66 | |
| entity.name.tag.yaml, meta.map.key.yaml string.quoted.double.yaml entity.name.tag.yaml, meta.map.key.yaml string.quoted.single.yaml entity.name.tag.yaml, meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml, meta.flow.map.key.yaml string.unquoted.plain.in.yaml entity.name.tag.yaml | #405B66 | |
| meta.preprocessor, entity.name.function.preprocessor | #405BB5 | |
| entity.name.label | #526B75 | |
| entity.name.type.package.go, entity.name.import.go | #526B75 | |
| entity.name.type.go, entity.name.type.any.go, entity.name.type.comparable.go | #875600 | |
| storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go | #875600 | |
| entity.name.function.go, entity.name.function.support.go, entity.name.function.support.builtin.go | #006D68 | |
| variable.other.property.go | #405B66 | |
| variable.parameter.go | #405B66 | |
| variable.other.constant.go | #875600 | |
| meta.function.decorator.python, entity.name.function.decorator.python, punctuation.definition.decorator.python | #695397 | |
| entity.name.type.class.python, entity.other.inherited-class.python | #875600 | |
| entity.name.function.python | #006D68 | |
| variable.parameter.function.language.python, variable.parameter.function-call.python | #405B66 | |
| variable.language.special.self.python, variable.language.special.cls.python, variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #23343B | |
| support.function.builtin.python, variable.legacy.builtin.python | #006D68 | |
| support.type.python, support.type.exception.python, support.type.metaclass.python | #875600 | |
| support.function.magic.python, support.variable.magic.python | #875600 | |
| constant.other.caps.python | #875600 | |
| storage.type.powershell | #405BB5 | |
| storage.modifier.powershell, storage.modifier.scope.powershell | #405B66 | |
| entity.name.function.powershell, source.powershell entity.name.function, support.function.powershell | #006D68 | |
| variable.parameter.powershell, variable.parameter.attribute.powershell | #405B66 | |
| variable.other.member.powershell | #405B66 | |
| support.variable.automatic.powershell, variable.language.powershell | #23343B | |
| support.constant.variable.powershell, constant.language.powershell | #875600 | |
| support.function.attribute.powershell | #695397 | |
| entity.name.module.rust, entity.name.namespace.rust | #526B75 | |
| entity.name.type.struct.rust, entity.name.type.declaration.rust | #286447 | |
| entity.name.type.trait.rust | #285F97 | |
| entity.name.type.enum.rust | #875600 | |
| entity.name.type.primitive.rust, entity.name.type.numeric.rust, entity.name.type.option.rust, entity.name.type.result.rust, entity.name.type.rust | #875600 | |
| entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #695397 | |
| entity.name.function.macro.rust, entity.name.function.macro.rules.rust, entity.name.type.macro.rust | #695397 | |
| entity.name.function.rust | #006D68 | |
| constant.other.caps.rust | #875600 | |
| variable.language.self.rust, variable.language.super.rust | #23343B | |
| entity.name.type.metavariable.rust, variable.other.metavariable.name.rust, variable.other.metavariable.specifier.rust | #23343B | |
| entity.name.tag.css, entity.name.tag.custom.css, entity.name.tag.wildcard.css | #405B66 | |
| entity.other.attribute-name.class.css | #405B66 | |
| entity.other.attribute-name.id.css | #405B66 | |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #405B66 | |
| entity.other.attribute-name.css, string.unquoted.attribute-value.css | #405B66 | |
| support.type.property-name.css, support.type.vendored.property-name.css, support.type.property-name.media.css, support.type.vendored.property-name.media.css | #405B66 | |
| variable.css, variable.argument.css, variable.font-feature.css | #405B66 | |
| support.function.calc.css, support.function.document-rule.css, support.function.gradient.css, support.function.misc.css, support.function.shape.css, support.function.timing-function.css, support.function.transform.css, support.function.url.css | #006D68 | |
| support.constant.property-value.css, support.constant.vendored.property-value.css, support.constant.property-value.list-style-type.css, support.constant.font-name.css, support.constant.media.css, support.constant.parity.css, support.constant.step-direction.css, support.constant.text-direction.css | #405BB5 | |
| constant.other.color.rgb-value.hex.css, support.constant.color.current.css, support.constant.color.w3c-standard-color-name.css, support.constant.color.w3c-extended-color-name.css | #875600 | |
| string.quoted.double.css, string.quoted.single.css | #496A2A | |
| constant.numeric.css, constant.numeric.other.density.css, keyword.other.unit.percentage.css, keyword.other.unit.${2:/downcase}.css, entity.other.keyframe-offset.css, entity.other.keyframe-offset.percentage.css | #875600 | |
| keyword.control.at-rule.css, keyword.control.at-rule.charset.css, keyword.control.at-rule.counter-style.css, keyword.control.at-rule.document.css, keyword.control.at-rule.font-face.css, keyword.control.at-rule.font-feature-values.css, keyword.control.at-rule.import.css, keyword.control.at-rule.keyframes.css, keyword.control.at-rule.media.css, keyword.control.at-rule.namespace.css, keyword.control.at-rule.page.css, keyword.control.at-rule.supports.css, keyword.control.at-rule.viewport.css | #405BB5 | |
| keyword.operator.arithmetic.css, keyword.operator.combinator.css, keyword.operator.comparison.css, keyword.operator.gradient.css, keyword.operator.pattern.css, keyword.operator.shape.css, keyword.other.important.css | #405B66 | |
| punctuation.section.begin.bracket.curly.css, punctuation.section.end.bracket.curly.css, punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.css, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css, punctuation.separator.css, punctuation.separator.key-value.css, punctuation.separator.list.comma.css, punctuation.terminator.rule.css | #405B66 | |
| constant.character.escape.codepoint.css, constant.character.escape.css, constant.character.escape.newline.css | #695397 | |
| storage.type.primitive, storage.type.built-in, storage.type.basic, storage.type.structure | #875600 | |
| keyword.other.type | #405BB5 | |
| variable.other.member, variable.other.readwrite.instance, variable.other.readwrite.class | #286447 | |
| entity.name.type.namespace, entity.name.namespace-prefix, entity.name.tag.namespace, entity.other.attribute-name.namespace, variable.language.namespace, variable.language.expanded-namespace | #526B75 | |
| entity.name.section | #526B75 | |
| entity.name.constant | #875600 | |
| constant.other.symbol, constant.language.symbol | #875600 | |
| constant.language.symbol.hashkey, constant.other.symbol.hashkey | #405B66 | |
| entity.name.type.alias, entity.name.type.typealias | #695397 | |
| support.variable | #23343B | |
| support.type.propertyname | #405B66 | |
| keyword.other.special-method.ruby | #006D68 | |
| support.function.macro.julia | #695397 | |
| support.function.attribute.fsharp | #695397 | |
| support.type.map.key.scss | #405B66 | |
| variable.scss, variable.other.readwrite.scss, variable.other.readwrite.less | #23343B | |
| keyword.other.definition.ini, entity.name.tag.ini | #405B66 | |
| invalid, invalid.illegal, invalid.deprecated | #AC3D35 | |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #405BB5 | bold |
| markup.bold, strong | #23343B | bold |
| markup.italic, emphasis | #405BB5 | |
| markup.underline.link, string.other.link, meta.link.inline.markdown | #006D68 | underline |
| markup.inline.raw, markup.fenced_code.block | #496A2A | |
| punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #405B66 | |
| markup.inserted | #286447 | |
| markup.deleted | #AC3D35 | |
| markup.changed | #23343B | |
| support.function.git-rebase, constant.sha.git-rebase | #006D68 | |
| punctuation.definition.tag | #405B66 | |
| punctuation.definition, punctuation.terminator, meta.brace, meta.delimiter | #405B66 |
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}!`;
}