Shaant Shakti - Spiritual Dark Theme for Focused Coding
Publisher: AadityaaThemes in package: 8
A spiritually inspired dark theme balancing inner peace and raw coding power. Shaant Shakti keeps you grounded, focused, and creatively fierce.
A spiritually inspired dark theme balancing inner peace and raw coding power. Shaant Shakti keeps you grounded, focused, and creatively fierce.
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 |
|---|---|---|
| comment, punctuation.definition.comment, comment.block.documentation | #8D7569 | italic |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator, keyword.other, keyword.operator.new, keyword.operator.expression, keyword.other.debugger | #C78C99 | italic |
| string, constant.other.symbol, string.quoted, string.template | #A6B07A | — |
| string.template, punctuation.definition.string.template | #A6B07A | — |
| meta.template.expression, punctuation.definition.template-expression | #E2BB77 | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.language.undefined | #D07C5B | — |
| constant.language, support.constant, variable.language | #9AB0B8 | — |
| variable, identifier, meta.definition.variable, meta.definition.variable.name, support.variable | #F3E8DC | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #E2BB77 | — |
| entity.name.type, entity.name.class, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter | #92B8B0 | — |
| support.type | #92B8B0 | — |
| 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 | #92B8B0 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #D07C5B | — |
| variable.language.this, variable.language.super | #C78C99 | italic |
| entity.name.method.js | #E2BB77 | — |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #E2BB77 | — |
| entity.other.attribute-name | #C78C99 | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #C78C99 | italic |
| entity.other.attribute-name.class | #E2BB77 | — |
| source.sass keyword.control | #E2BB77 | — |
| markup.inserted | #A6B07A | — |
| markup.deleted | #D07C5B | — |
| markup.changed | #C78C99 | — |
| string.regexp | #92B8B0 | — |
| constant.character.escape | #92B8B0 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #E2BB77 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #D07C5B | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #C78C99 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #E2BB77 | — |
| 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 | #D07C5B | — |
| 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 | #A6B07A | — |
| 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 | #9AB0B8 | — |
| 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 | #92B8B0 | — |
| 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 | #C78C99 | — |
| 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 | #E2BB77 | — |
| 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 | #D07C5B | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #EBDCC8 | — |
| text.html.markdown markup.inline.raw.markdown | #C78C99 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #92B8B0 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #E2BB77 | bold |
| markup.italic | #C78C99 | italic |
| markup.bold, markup.bold string | #D07C5B | 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 | #E2BB77 | bold |
| markup.underline | #E2BB77 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #92B8B0 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #E2BB77 | — |
| string.other.link.description.title.markdown | #C78C99 | — |
| constant.other.reference.link.markdown | #D07C5B | — |
| markup.raw.block | #C78C99 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EBDCC8 | — |
| variable.language.fenced.markdown | #92B8B0 | — |
| meta.separator | #92B8B0 | bold |
| markup.table | #EBDCC8 | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #C78C99 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, source.css entity.name.tag | #C78C99 | — |
| support.type.property-name.css | #92B8B0 | — |
| support.constant.property-value.css, constant.numeric.css, keyword.other.unit.css | #A6B07A | — |
| invalid, invalid.illegal | #D07C5B | italic underline |
| invalid.deprecated | #C78C99 | italic underline |
| support.class.component | #C78C99 | italic |
| support.function.lifecycle.react | #E2BB77 | — |
| entity.name.type.ts, entity.name.type.tsx, support.type.primitive.ts, support.type.primitive.tsx | #92B8B0 | — |
| entity.name.type.interface.ts, entity.name.type.interface.tsx | #9AB0B8 | — |
| meta.type.parameters.ts, meta.type.parameters.tsx | #C78C99 | — |
| storage, storage.modifier | #C78C99 | italic bold |
| entity.name.function.constructor | #E2BB77 | bold |
| support.variable, support.constant | #9AB0B8 | bold |
| variable.other.constant | #D07C5B | italic |
| meta.embedded, source.groovy.embedded, string.template | #A6B07A | — |
| variable.parameter | #F3E8DC | italic |
| punctuation.separator.key-value, punctuation.separator.dictionary.key-value, punctuation.separator.key-value.json, punctuation.separator.dictionary.key-value.json | #D2B8A1 | — |
| string.quoted.double.json | #A6B07A | — |
| meta.structure.dictionary.json string.quoted.double.json | #F3E8DC | — |
| constant.language.json, constant.numeric.json | #D07C5B | — |
| comment.line.double-slash.json | #8D7569 | italic |
| entity.name.class.coffee, support.class.roast | #8B4513 | bold |
| meta.mystic, entity.name.mystic | #D2691E | italic |
| constant.roast.level, variable.roast.temperature | #CD853F | bold 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}!`;
}