Lotus Flat Circadian
Publisher: alewtschukThemes in package: 6
A flat theme pack for Visual Studio Code, based on SkyLissh's Lotus Theme. Variants across the day: Dawn, Daylight, Sunset, Twilight, Dusk, and Midnight.
A flat theme pack for Visual Studio Code, based on SkyLissh's Lotus Theme. Variants across the day: Dawn, Daylight, Sunset, Twilight, Dusk, and Midnight.
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 |
|---|---|---|
| punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison | #8263c7 | — |
| punctuation | #6f6f6f | — |
| variable.other.generic-type.haskell | #e01f63 | — |
| storage.type.haskell | #c1540d | — |
| support.variable.magic.python | #7a65cb | — |
| entity.name.type.alias.ts,entity.name.type.alias.tsx | #925dbf | — |
| punctuation.separator,punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #8263c7 | — |
| storage.modifier.lifetime.rust | #212121 | — |
| support.function.std.rust | #528200 | — |
| entity.name.lifetime.rust | #7a65cb | — |
| variable.language.rust | #7a65cb | — |
| variable.language.self | #c1540d | italic |
| support.constant.edge | #e01f63 | — |
| constant.other.character-class.regexp | #7a65cb | — |
| keyword.operator.quantifier.regexp | #c1540d | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #956f00 | — |
| punctuation.definition.group | #00828a | — |
| comment markup.link | #989898 | — |
| markup.changed.diff | #595959 | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #528200 | — |
| markup.inserted.diff | #956f00 | — |
| markup.deleted.diff | #7a65cb | — |
| meta.tag.other.unrecognized.html.derivative | #7a65cb | — |
| meta.function.c,meta.function.cpp | #7a65cb | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #6f6f6f | — |
| punctuation.separator.key-value | #8263c7 | — |
| keyword.operator.expression.import | #528200 | — |
| support.constant.math | #595959 | — |
| support.constant.property.math | #c1540d | — |
| variable.other.constant | #7a65cb | — |
| variable.other.object | #7a65cb | italic |
| variable.other.readwrite | #212121 | — |
| meta.type.annotation | #925dbf | italic |
| punctuation.definition.typeparameters | #6f6f6f | — |
| meta.return.type | #925dbf | italic |
| storage.type.annotation.java, storage.type.object.array.java | #925dbf | — |
| source.java | #7a65cb | — |
| variable.other.definition | #212121 | — |
| ,meta.method.identifier.java,meta.method-call.java,meta.method.body.java | #c1540d | italic |
| meta.method.java | #528200 | — |
| storage.modifier.import.java | #212121 | |
| storage.type.java | #945cc1 | italic |
| storage.type.generic.java | #7a65cb | italic |
| keyword.operator.instanceof.java | #e01f63 | — |
| meta.definition.variable.name.java | #7a65cb | — |
| keyword.operator.logical | #8263c7 | — |
| keyword.operator.bitwise | #00828a | — |
| keyword.operator.channel | #00828a | — |
| support.constant.property-value.scss,support.constant.property-value.css | #7a65cb | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #00828a | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #c1540d | — |
| punctuation.separator.list.comma.css | #6f6f6f | — |
| support.constant.color.w3c-standard-color-name.css | #c1540d | — |
| support.type.vendored.property-name.css | #00828a | italic |
| support.module.node,support.type.object.module,support.module.node | #212121 | — |
| meta.definition.method | #518200 | — |
| entity.name.type.module | #212121 | — |
| meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #212121 | — |
| support.constant.json | #c1540d | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #8263c7 | — |
| support.type.object.console | #7a65cb | — |
| support.variable.property.process | #c1540d | — |
| meta.decorator | #7a65cb | italic |
| meta.function, support.function.console | #518200 | — |
| keyword.operator.misc.rust | #212121 | — |
| keyword.operator.sigil.rust | #e01f63 | — |
| keyword.operator.delete | #e01f63 | — |
| support.type.object.dom | #00828a | — |
| support.variable.dom,support.variable.property.dom | #7a65cb | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #7a65cb | — |
| keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp | #e01f63 | — |
| punctuation.separator.delimiter | #6f6f6f | — |
| punctuation.accessor | #8263c7 | — |
| punctuation.separator.c,punctuation.separator.cpp | #e01f63 | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #00828a | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #e01f63 | — |
| support.type.python | #7a65cb | italic |
| keyword.operator.logical.python | #e01f63 | — |
| variable.parameter.function.python | #c1540d | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #6f6f6f | — |
| meta.function-call.generic.python | #518200 | — |
| variable.language.special.self.python,variable.language.special.cls.python | #c1540d | — |
| constant.character.format.placeholder.other.python | #c1540d | — |
| keyword.operator | #8263c7 | — |
| keyword.operator.assignment.compound | #e01f63 | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #00828a | — |
| entity.name.namespace | #212121 | — |
| variable.other.property | #212121 | — |
| variable.parameter.function-call | #008380 | italic |
| variable.parameter.ts | #c1540d | italic |
| variable.parameter.probably | #c1540d | italic |
| variable.parameter.function | #c1540d | italic |
| meta.function-call.arguments | #212121 | — |
| variable.c | #212121 | — |
| variable.language | #212121 | italic |
| variable.language.dart | #c1540d | — |
| variable.language.this | #925dbf | italic |
| token.variable.parameter.java | #212121 | — |
| import.storage.java | #595959 | — |
| token.package.keyword | #e01f63 | — |
| token.package | #212121 | — |
| meta.require, support.function.any-method | #528200 | — |
| meta.function-call | #518200 | — |
| entity.name.type.namespace | #212121 | — |
| entity.name.type.class.python | #00828a | — |
| entity.name.class.identifier.namespace.type | #00828a | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #00828a | — |
| support.class.component | #00828a | italic |
| support.class.dart | #925dbf | italic |
| entity.name.type.rust, entity.name.type.numeric.rust, entity.name.type.primitive.rust | #925dbf | italic |
| entity.name.type.result, entity.name.type.lifetime | #7a65cb | italic |
| entity.name.type.go | #00828a | — |
| entity.name.type.option | #7a65cb | — |
| support.class.kotlin | #925dbf | italic |
| entity.name.type.class.kotlin | #7a65cb | italic |
| entity.name.type.struct, entity.name.type.trait | #925dbf | — |
| variable.other.class.php | #7a65cb | — |
| source | #212121 | — |
| keyword.control | #e01f63 | italic |
| control.elements, keyword.operator.less | #c1540d | — |
| keyword.other.special-method | #7a65cb | — |
| storage | #e01f63 | italic |
| keyword.operator.type | — | |
| token.storage | #e01f63 | — |
| keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void | #e01f63 | — |
| token.storage.type.java | #595959 | — |
| storage.type.go | #925dbf | italic |
| support.function | #518200 | — |
| entity.name.function | #518200 | — |
| entity.name.function.macro | #518200 | — |
| support.type.metaclass | #c1540d | italic |
| support.function.builtin | #7a65cb | — |
| support.type.property-name | #212121 | italic |
| support.constant.property-value | #212121 | — |
| support.constant.font-name | #7a65cb | — |
| meta.tag | #212121 | — |
| string | #956f00 | — |
| entity.other.inherited-class | #212121 | — |
| constant.other.symbol | #00828a | — |
| constant.numeric | #c1540d | — |
| constant | #7a65cb | — |
| punctuation.definition.constant | #c1540d | — |
| entity.name.tag | #e01f63 | — |
| entity.other.attribute-name | #518200 | italic |
| entity.other.attribute-name.id | #528200 | italic |
| entity.other.attribute-name.class.css | #518200 | italic |
| variable.argument | #212121 | — |
| meta.selector | #e01f63 | — |
| markup.heading | #7a65cb | — |
| markup.heading punctuation.definition.heading, entity.name.section | #528200 | — |
| keyword.other.unit | #e01f63 | — |
| markup.bold,todo.bold | #c1540d | — |
| punctuation.definition.bold | #595959 | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #e01f63 | — |
| emphasis md | #e01f63 | — |
| entity.name.section.markdown | #7a65cb | — |
| punctuation.definition.heading.markdown | #7a65cb | — |
| punctuation.definition.list.begin.markdown | #7a65cb | — |
| markup.heading.setext | #212121 | — |
| punctuation.definition.bold.markdown | #c1540d | — |
| markup.inline.raw.markdown | #956f00 | — |
| markup.inline.raw.string.markdown | #956f00 | — |
| punctuation.definition.list.markdown | #7a65cb | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #7a65cb | — |
| beginning.punctuation.definition.list.markdown | #7a65cb | — |
| punctuation.definition.metadata.markdown | #7a65cb | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #e01f63 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #528200 | — |
| string.regexp, constant.other.character-class.set.regexp, constant.other.character-class | #956f00 | — |
| constant.character.numeric.regexp | #c1540d | — |
| constant.character.escape | #00828a | — |
| punctuation.section.embedded, variable.interpolation | #7a65cb | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #e01f63 | — |
| invalid.illegal | #212121 | — |
| invalid.illegal.bad-ampersand.html | #212121 | — |
| invalid.broken | #212121 | — |
| invalid.deprecated | #212121 | — |
| invalid.unimplemented | #212121 | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #7a65cb | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #7a65cb | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #956f00 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #00828a | — |
| support.type.property-name.json | #212121 | italic |
| support.type.property-name.json punctuation | #868686 | italic |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #e01f63 | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #e01f63 | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #595959 | — |
| keyword.operator.error-control.php | #e01f63 | — |
| keyword.operator.type.php | #e01f63 | — |
| punctuation.section.array.begin.php | #6f6f6f | — |
| punctuation.section.array.end.php | #6f6f6f | — |
| invalid.illegal.non-null-typehinted.php | #eb0026 | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #595959 | — |
| punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php | #6f6f6f | — |
| support.constant.core.rust | #c1540d | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #c1540d | — |
| entity.name.goto-label.php,support.other.php | #528200 | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #00828a | — |
| keyword.operator.regexp.php | #e01f63 | — |
| keyword.operator.comparison.php | #00828a | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #e01f63 | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #00828a | — |
| meta.item-access | #925dbf | — |
| function.parameter | #212121 | — |
| function.brace | #212121 | — |
| function.parameter.ruby, function.parameter.cs | #212121 | — |
| constant.language.symbol.ruby | #00828a | — |
| rgb-value | #00828a | — |
| inline-color-decoration rgb-value | #c1540d | — |
| constant.other.color | #c1540d | — |
| less rgb-value | #c1540d | — |
| selector.sass | #7a65cb | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #7a65cb | italic |
| block.scope.end,block.scope.begin | #212121 | — |
| storage.type.cs | #925dbf | — |
| entity.name.variable.local.cs | #212121 | — |
| entity.name.type.class.cs | #7a65cb | — |
| entity.name.type.cs | #925dbf | — |
| variable.other.object.cs | #00828a | — |
| entity.name.variable.parameter.cs | #c1540d | — |
| variable.other.object | #212121 | — |
| entity.name.namespace | #5c72b9 | — |
| entity.name.type.enum.cs | #00828a | — |
| entity.name.type.class.gdscript,entity.name.type.class.builtin.gdscript | #925dbf | — |
| constant.language.gdscript | #7a65cb | — |
| support.class.library.gdscript | #945cc1 | — |
| entity.name.function.decorator.gdscript | #00828a | — |
| variable.other.gdscript | #212121 | — |
| keyword.operator.arrow | #c1540d | — |
| keyword | #e01f63 | italic |
| token.info-token | #528200 | — |
| token.warn-token | #c1540d | — |
| token.error-token | #eb0026 | — |
| token.debug-token | #e01f63 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #e01f63 | — |
| meta.template.expression | #212121 | — |
| keyword.operator.module | #e01f63 | — |
| support.type.type.flowtype | #528200 | — |
| support.type.primitive | #595959 | — |
| meta.property.object | #7a65cb | — |
| variable.parameter.function.js | #7a65cb | — |
| keyword.other.template.begin | #956f00 | — |
| keyword.other.template.end | #956f00 | — |
| keyword.other.substitution.begin | #956f00 | — |
| keyword.other.substitution.end | #956f00 | — |
| keyword.operator.assignment | #8263c7 | — |
| constant.language.go | #00828a | — |
| support.constant | #5c72b9 | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #e01f63 | — |
| entity.name.package.go | #212121 | — |
| support.type.prelude.elm | #00828a | — |
| support.constant.elm | #c1540d | — |
| punctuation.quasi.element | #e01f63 | — |
| constant.character.entity | #7a65cb | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #00828a | — |
| entity.global.clojure | #595959 | — |
| meta.symbol.clojure | #7a65cb | — |
| constant.keyword.clojure | #00828a | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #7a65cb | — |
| source.ini | #956f00 | — |
| meta.scope.prerequisites.makefile | #7a65cb | — |
| source.makefile | #595959 | — |
| storage.modifier.import.groovy | #595959 | — |
| meta.method.groovy | #528200 | — |
| meta.definition.variable.name.groovy | #7a65cb | — |
| meta.definition.class.inherited.classes.groovy | #956f00 | — |
| support.variable.semantic.hlsl | #595959 | — |
| support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl | #e01f63 | — |
| text.variable, text.bracketed | #7a65cb | — |
| support.type.swift, support.type.vb.asp | #595959 | — |
| entity.name.function.xi | #595959 | — |
| entity.name.class.xi | #00828a | — |
| constant.character.character-class.regexp.xi | #7a65cb | — |
| constant.regexp.xi | #e01f63 | — |
| keyword.control.xi | #00828a | — |
| invalid.xi | #212121 | — |
| beginning.punctuation.definition.quote.markdown.xi | #956f00 | — |
| beginning.punctuation.definition.list.markdown.xi | #989898 | — |
| constant.character.xi | #528200 | — |
| accent.xi | #528200 | — |
| wikiword.xi | #c1540d | — |
| constant.other.color.rgb-value.xi | #212121 | — |
| punctuation.definition.tag.xi | #989898 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #595959 | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #7a65cb | — |
| meta.brace.square | #212121 | — |
| comment, punctuation.definition.comment | #989898 | italic |
| markup.quote.markdown | #989898 | — |
| punctuation.definition.block.sequence.item.yaml | #6f6f6f | — |
| constant.language.symbol.elixir | #00828a | — |
| entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.language.super | #518200 | italic |
| comment.line.double-slash,comment.block.documentation | — | italic |
| keyword.control.import.python,keyword.control.flow.python | — | italic |
| markup.italic.markdown | — | italic |
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}!`;
}