konsole Night
Publisher: Enos lyznneThemes in package: 1
Dark color theme from Garuda Linux konsole
Dark color theme from Garuda Linux konsole
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 |
|---|---|---|
| string.inline-graphql | #DD2266 | — |
| entity.type.graphql | #ff00ffe5 | — |
| source.js.embedded.graphql | #3366FF | — |
| string.quoted.graphql | #DD2266 | — |
| entity.type.graphql | #00FF00 | — |
| source.js.jsx, source.jsx, source.js | #fd428aef | — |
| source.gitignore, source.ignore, support.type.primitive.graphql | #fa6a31 | — |
| comment.line.gitignore | #3572A5 | — |
| markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file | #91b4ff | — |
| constant | #ec82dae8 | — |
| constant.language, punctuation.definition.constant, variable.other.constant | #f87de4e0 | — |
| constant.character, constant.other | #ca69c5 | — |
| string.quoted, variable.other.readwrite.js | #08b140d0 | — |
| support.constant.math | #cbe785 | — |
| keyword | #bd5edade | — |
| string | #08b140d0 | — |
| string.regexp, string.regexp keyword.other | #5492aa | — |
| comment, punctuation.definition.comment, punctuation.whitespace.comment.leading.graphql | #6795a8d5 | italic |
| variable, string constant.other.placeholder, keyword.operation.graphql | #fddf34fb | — |
| constant.other.color | #7ca2c2dc | — |
| invalid, invalid.illegal | #ff5370d8 | — |
| keyword, storage.type, storage.modifier | #ca8375 | — |
| storage.type.function.arrow.js | #ff3281 | — |
| entity.other.inherited-class | #ff8420c2 | underline |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, source.graphql, support.type.sys-types | #0099ffee | — |
| entity.name.class, meta.class entity.name.type.class | #c7aa85 | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #5ee7ffde | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #ec676dd0 | — |
| entity.name.function, variable.function, support.function, function, Function | #ff6b7fad | — |
| meta.function-call | #be9259 | — |
| keyword.other.special-method, meta.function-call | #ff70e0ce | — |
| meta.block variable.other | #f791e1ce | — |
| support.other.variable, string.other.link | #971f61e3 | — |
| constant.numeric, constant.numeric.float, constant.character.escape, constant.character | #FD80A8 | — |
| constant.language, support.constant, constant.escape, variable.parameter, keyword.other.unit, keyword.other.constant_function_argument | #f7ce38 | — |
| constant.numeric.tag_attribute, constant.language.tag_attribute, support.constant.tag_attribute, constant.character.tag_attribute, constant.escape.tag_attribute, variable.parameter.tag_attribute, keyword.other.unit.tag_attribute, keyword.other.tag_attribute | #28c457 | — |
| constant.numeric.number, constant.language.number, support.constant.number, constant.character.number, constant.escape.number, variable.parameter.number, keyword.other.unit.number, keyword.other.number | #ca4492f1 | — |
| string, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #23a54eea | — |
| text.plain | #b2bbc5d5 | — |
| entity.name.class | — | underline |
| keyword.operator | #66d3bf | |
| keyword.operator.relational | #c792ea | |
| keyword.operator.assignment | #c792ea | — |
| keyword.operator.arithmetic | #c792ea | — |
| keyword.operator.bitwise | #c792ea | — |
| keyword.operator.increment | #c792ea | — |
| keyword.operator.ternary | #c792ea | — |
| constant.language.null | #ff5874ea | — |
| meta.delimiter.period | #c792ea | |
| punctuation.definition.string.begin.markdown | #ff5874 | — |
| constant.language.boolean | #ff4f6c | — |
| object.comma | #ffffff | — |
| support.type | #4593b3 | — |
| support.type.property-name | #000000 | — |
| 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 | #51abff | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #ec3f59 | — |
| variable.language | #e05050d5 | italic |
| entity.name.method.js | #965af7 | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #516ef1 | — |
| entity.other.attribute-name | #9bc735c7 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #daaa50c5 | italic |
| entity.other.attribute-name.class | #daae5cd7 | — |
| source.sass keyword.control | #3c69cc | — |
| markup.inserted | #9ac25e | — |
| markup.deleted | #ff5c77 | — |
| constant.character.escape | #ee97ff | — |
| *url*, *link*, *uri* | — | underline |
| support.function, support.constant | #6998ff | — |
| support.constant.meta.property-value | #7fdbca | — |
| support.type, support.class | #c5e478 | — |
| support.variable.dom | #cfee7f | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #2974ffe3 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #f47effde | italic |
| keyword.control.conditional.js, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx, keyword.operator.comparison | #fd7627f1 | |
| keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.ruby, keyword.control.def.ruby, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.conditional.js, keyword.control.conditional.ts, keyword.control.switch.js, keyword.control.switch.ts | #ff961dcb | |
| support.constant, keyword.other.special-method, keyword.other.new, keyword.other.debugger, keyword.control | #cea089 | — |
| support.function | #aa78e4 | — |
| variable.language | #7fdbcaea | — |
| support.variable.property | #7fdbcae8 | — |
| variable.interpolation | #ec5f67 | — |
| punctuation.section.embedded | #d3423e | — |
| punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #d6deeb | — |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list | #d9f5dd | — |
| string.template meta.template.expression | #d3423e | — |
| string.template punctuation.definition.string | #8544ff | — |
| italic | #c792ea | italic |
| bold | #c5e478 | bold |
| quote | #697098 | |
| raw | #80CBC4 | — |
| variable.assignment.coffee | #31e1eb | — |
| variable.parameter.function.coffee | #d6deeb | — |
| variable.assignment.coffee | #7fdbca | — |
| variable.other.readwrite.cs | #d6deebe3 | — |
| entity.name.type.class.cs, storage.type.cs | #ffcb8b | — |
| entity.name.type.namespace.cs | #B2CCD6 | — |
| string.unquoted.preprocessor.message.cs | #d6deeb | — |
| punctuation.separator.hash.cs, keyword.preprocessor.region.cs, keyword.preprocessor.endregion.cs | #ffcb8b | bold |
| variable.other.object.cs | #B2CCD6 | — |
| entity.name.type.enum.cs | #c5e478 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css, support.constant.property-value.css | #ff6363 | |
| keyword.other.unit.css | #FFEB95 | — |
| meta.attribute-selector.css entity.other.attribute-name.attribute, variable.other.readwrite.js | #F78C6C | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #82AAFF | — |
| source.elixir entity.name.function | #c5e478 | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #82AAFF | — |
| source.elixir punctuation.definition.string | #c5e478 | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #c5e478 | — |
| source.elixir .punctuation.binary.elixir | #c792ea | |
| constant.keyword.clojure | #7fdbca | — |
| source.go meta.function-call.go | #DDDDDD | — |
| source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.struct.go, source.go keyword.interface.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go | #c792ea | — |
| source.go constant.language.go, source.go constant.other.placeholder.go | #ff5874 | — |
| entity.name.function.preprocessor.cpp, entity.scope.name.cpp | #7fdbcaff | — |
| meta.namespace-block.cpp | #e0dec6 | — |
| storage.type.language.primitive.cpp | #ff5874 | — |
| meta.preprocessor.macro.cpp | #d6deeb | — |
| variable.parameter | #ffcb8b | — |
| variable.other.readwrite.powershell | #82AAFF | — |
| support.function.powershell | #7fdbcaff | — |
| punctuation.definition.tag.html | #6ae9f0 | — |
| meta.tag.sgml.doctype.html | #c792ea | |
| meta.class entity.name.type.class.js | #ffcb8b | — |
| meta.method.declaration storage.type.js | #93b5ff | — |
| terminator.js | #d6deeb | — |
| meta.js punctuation.definition.js | #d6deeb | — |
| entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc | #7ea5c5 | — |
| variable.other.jsdoc, variable.other.phpdoc | #86d2f3 | — |
| variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #c3ddf1 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e7cc9a | — |
| 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 | #db8970 | — |
| 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 | #d36376e1 | — |
| 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 | #C17E70 | — |
| 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 | #82AAFF | — |
| 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 | #cf6a6fdc | — |
| 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 | #c792eae7 | — |
| 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 | #C3E88D | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #b6d8ff | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #8ead5e | — |
| markup.italic | #f07178 | italic |
| markup.bold, markup.bold string | #f07178 | 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 | #f07178 | bold |
| markup.underline | #f78c6cea | underline |
| markup.quote punctuation.definition.blockquote.markdown | #8c9ca8 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #C792EA | — |
| markup.raw.block.fenced.markdown | #a097977e | — |
| punctuation.definition.fenced.markdown | #b18e8e96 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #79bebe | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #81adca | — |
| variable.other.key.toml | #fd5c1cec | — |
| source.toml | #31b1e7c5 | — |
| constant.language.boolean.toml | #d62084cc | — |
| comment.line.number-sign.toml | #19a4e080 | italic |
| comment.block.toml | #1b8fdd7a | italic |
| entity.name.function.graphql, meta.arguments.graphql, keyword.operator.toml | #ff7b00 | — |
| source.js.embedded.graphql, variable.graphql | #ff532dd5 | — |
| variable.inline-graphql, constant.other.date.toml | #3366FF | — |
| string.quoted.double.toml | #00ff6a94 | — |
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}!`;
}