Deep Passion
Publisher: Dayananda-KshThemes in package: 1
'The outfit of source code'
'The outfit of source code'
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.dict | #f700ffb4 | bold |
| support.module.elm, entity.other.inherited-class.python, variable.other.object, support.other.namespace.php, entity.other.attribute-name.namespace.xml, record.accessor, entity.name.record.field.accessor | #ff4cf0c2 | italic |
| entity.name.type | #7E9E2D | — |
| comment, punctuation.definition.comment, comment.block.documentation source | #ffffffaf | italic |
| constant | #ff121286 | italic |
| source, support, constant.character.entity.named, meta.jsx.children | #ff4cf0bd | — |
| entity.name.function.decorator, meta.decorator entity.name.function, meta.decorator punctuation.decorator, punctuation.definition.decorator, meta.decorator variable.other.readwrite.ts | #cc71bbd3 | — |
| keyword.control.export, support.type.object.module | #910bffb6 | — |
| support.function, meta.function-call, entity.name.function, meta.function, meta.method.declaration, meta.function-call support, meta.decorator meta.definition.method entity.name.function, meta.decorator meta.method.declaration entity.name.function, variable.language.super.ts, source.directive, meta.function-call.generic, meta.method-call.static.php, meta.method-call.php, meta.class storage.type | #ffb8afcc | — |
| support.function.builtin | #ff0095e0 | italic |
| keyword.control.import, meta.module.name.elm support, meta.import.elm support, keyword.control.at-rule, punctuation.definition.keyword, variable.control.import.include | #5dff12b2 | italic |
| keyword.control, keyword.control.conditional, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.begin.blade, keyword.end.blade, keyword.blade, keyword.type-alias, keyword.type, support.class.console, keyword.other.await, storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc | #2cff1098 | italic |
| meta.object-literal.key, variable.object.property | #bbbbbb | — |
| keyword.other.definition.ini, support.type.property-name, entity.name.tag.yaml | #2cff1098 | — |
| keyword.operator.comparison, storage.type.function.arrow, keyword.operator.lua | #D39E17 | — |
| attribute_value, meta.brace, punctuation.definition.template-expression, keyword.operator, keyword.other, punctuation.terminator, punctuation.separator, punctuation.definition.generic.begin, punctuation.definition.generic.end, meta.function.type-declaration, keyword.other.colon.elm, meta.record.field.elm keyword.other.elm, keyword.other.period.elm, meta.tag.xml, meta.tag.preprocessor.xml, punctuation.definition.block, punctuation.accessor, constant.name.attribute.tag.pug, string.interpolated.pug, keyword.other.whitespace.liquid, meta.tag.template.block.twig, meta.tag.template.value.twig, begin.bracket, end.bracket, text.html.twig meta.tag.inline.any, text.html.twig meta.tag.block.any, support.function.construct.begin.blade, support.function.construct.end.blade source.php, support.function.construct.end.blade, meta.function.echo.blade source.php, text.html.vue-html meta.tag.block.any, source.lua | #efff11b7 | — |
| punctuation.definition.list.begin.python, punctuation.definition.list.end.python | #1100ffbe | bold |
| punctuation.definition.parameters | #00ff95a9 | bold |
| punctuation.definition.arguments.end.pythonmeta.item-access.pythonsource.python | #ff3c00d2 | bold |
| variable.language.this, variable.language.special.self, variable.parameter.function.language.special.self | #73ff0093 | italic |
| storage, meta.var.expr storage.type, storage.type.function, keyword.function, storage.type.class, storage.type.property, keyword.other, keyword.local.lua, entity.name.class, meta.function.lua keyword.control.lua, storage.type.enum, storage.type.interface, storage.type.type | #5dff12b7 | italic |
| punctuation.definition.string, punctuation.definition.string.template, constant.character.escape.regexp, variable.parameter.url | #00ffffbd | — |
| string, string.template, string.quoted.single, string.other.link | #00ffdd6e | italic |
| punctuation.definition.string.begin, punctuation.definition.string.end | #ff1111cb | bold |
| string.quoted.docstring.multi | #d3ff108e | italic |
| entity.name.type, support.type, support.class, storage.type, entity.other.inherited-class, keyword.type | #ffff11af | italic |
| variable, variable.language, entity.name.type.class.js, entity.name.variable, support.variable.magic, meta.method.body, entity.name.variable, punctuation.definition.variable, support.variable.property, meta.class variable.object.property, variable.other.constant entity.name.function | #ffaffbc9 | — |
| source.elm constant.type-constructor | #de456bd0 | — |
| source.elm storage.type | #a15defcc | — |
| support.variable.liquid, support.class.liquid | #de456bd0 | — |
| text.html.basic entity.name, source.js-ignored-vscode, entity.name.tag, entity.name.tag support.class.component, support.class.component.html, meta.embedded.block.blade constant.other.php, meta.embedded.block.blade keyword.operator.comparison.php, meta.embedded.block.blade keyword.operator.arithmetic.php | #3398dbc0 | — |
| meta.tag.sgml.doctype.html, punctuation.definition.tag, meta.tag.block.any, meta.tag.block.any.html, meta.tag.inline.any, source.css-ignored-vscode, meta.tag.metadata.style.end.html | #3398DBaa | — |
| entity.other.attribute-name, entity.name.tag.liquid, invalid.deprecated.entity.other.attribute-name, meta.embedded.block.blade storage.type.php | #D39E17 | italic |
| markup.inline.raw.string.markdown, punctuation.definition.raw.markdown, markup.fenced_code.block.markdown, markup.fenced_code.block.markdown punctuation, markup.raw.block.markdown | #a15defd5 | — |
| fenced_code.block.language | #a15defce | — |
| markup.list.unnumbered.markdown meta.paragraph.markdown | #3398dbcb | — |
| punctuation.definition.list.begin | #3398dbce | — |
| entity.name.section, markup.heading.setext | #D39E17 | — |
| punctuation.definition.heading | #D39E17 | — |
| markup.underline.link, markup.underline.link.image | #3398dbde | — |
| markup.bold, punctuation.definition.bold | #3398dbd5 | bold |
| markup.italic, punctuation.definition.italic | #3398dbd7 | italic |
| markup.quote | #3398dbc7 | italic |
| punctuation.definition.quote.begin | #3398DB | italic |
| entity.other.attribute-name.pseudo-class | #CC71BC | — |
| entity.other.attribute-name.pseudo-element | #CC71BC | — |
| entity.other.attribute-name.class, entity.other.attribute-name.class punctuation.definition.entity | #24B5A8 | italic |
| entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity | #24B5A8 | italic |
| support.type.property-name.css, support.type.vendored.property-name, meta.property-list entity.name.tag.css | #bbbbbb | — |
| source.css.scss entity.other.attribute-name.id , source.css entity.other.attribute-name.id , entity.other.attribute-name.id punctuation.definition.entity | #A15DEF | — |
| entity.name.tag.reference, meta.property-list | #D26D32 | — |
| keyword.other.unit | #D26D32 | italic |
| support.constant.property-value, support.constant.font-name, meta.property-value.css | #D26D32 | — |
| constant.numeric | #00ffddad | bold |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}