Learn with Sumit Theme
Publisher: Learn with SumitThemes in package: 13
Official VS Code theme of Learn with Sumit developed by Sumit Saha!
Official VS Code theme of Learn with Sumit developed by Sumit Saha!
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 |
|---|---|---|
| Global settings | #bdd2e7 | — |
| meta.property-list.css meta.property-value.css variable.other.less, meta.property-list.scss variable.scss, meta.property-list.sass variable.sass, meta.brace, keyword.operator.operator, keyword.operator.or.regexp, keyword.operator.expression.in, keyword.operator.relational, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.type, keyword.operator, keyword, punctuation.definintion.string, punctuation, variable.other.readwrite.js, storage.type, source.css, string.quoted | — | normal |
| markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file | #9cd9ff | normal |
| markup.deleted.diff | #f05050 | normal |
| markup.inserted.diff | #a1d884 | normal |
| variable.language | #00b1ff | — |
| constant.character.escape | #aae682 | — |
| punctuation.definition.tag, meta.tag | #bdd2e7 | — |
| entity.other.attribute-name, entity.name.type.svelte | #9696ff | normal |
| entity.other.attribute-name.class.pug | #ffdc96 | normal |
| support.variable.property | #00dcdc | — |
| invalid.deprecated | #f05050 | — |
| string.regexp, string.regexp keyword.other, string.regexp punctuation.definition.string, constant.character.escape.backslash.regexp, constant.other.character-class.set.regexp, constant.character.control.regexp | #dbd4ba | — |
| constant.other.color | #bdd2e7 | — |
| italic | normal | |
| bold | #aae682 | bold |
| quote | #aae682 | normal |
| invalid | #ffffff | — |
| support.variable, support.type | #9696ff | — |
| support.function, support.constant | #9696ff | normal |
| variable.other.object.property | #bdd2e7 | normal |
| variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance | #ffb482 | — |
| variable.other.property, variable.other.property.js, variable.other.property.ts, variable.object.property.ts, support.variable.property | #bdd2e7 | — |
| support.constant.math | #ff7878 | — |
| storage.type, punctuation.definition.block.tag, meta.method.declaration, meta.method.declaration storage.type.js | #00b1ff | normal |
| storage.type.interface | #00b1ff | — |
| storage, meta.class meta.method.declaration meta.var.expr storage.type.js, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx | #00b1ff | normal |
| entity.name.tag.custom | #dc8cff | — |
| meta.delimiter.period | #dc8cff | normal |
| meta.selector | #dc8cff | normal |
| entity.name.tag.doctype, meta.tag.sgml.doctype | #dc8cff | normal |
| keyword.control.conditional.js, keyword.control.conditional.ts, keyword.control.switch.js, keyword.control.switch.ts, keyword.control.conditional.svelte, keyword.control.svelte | #dc8cff | normal |
| keyword.control.loop.vue, keyword.control.conditional.vue | #dc8cff | — |
| keyword.control | #9696ff | — |
| variable.parameter.function | #00dcdc | normal |
| meta.function-call | — | normal |
| meta.property-name | #00dcdc | — |
| keyword.control.operator | #00dcdc | — |
| entity.name.function | #00dcdc | — |
| support.constant, keyword.other.special-method, keyword.other.new, keyword.other.debugger | #00dcdc | — |
| meta.var.expr, meta.object-literal.key | #bdd2e7 | normal |
| variable | #ffdc96 | normal |
| constant.language, punctuation.definition.constant, variable.other.constant | #ffdc96 | — |
| constant.character, constant.other | #ffdc96 | — |
| entity.name.class, meta.class entity.name.type.class, meta.class entity.name.type.class.js, entity.other.inherited-class.js, meta.class entity.name.type.class.ts | #dc8cff | — |
| entity.other.inherited-class | #ffdc96 | — |
| string | #aae682 | — |
| string.quoted, string.quoted.single.js | #aae682 | — |
| string.template punctuation.definition.string | #aae682 | — |
| punctuation.definition.string | #aae682 | — |
| punctuation, punctuation.separator, meta.property-list.css.sass, punctuation.accessor, punctuation.accessor | #bdd2e7 | — |
| punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #bdd2e7 | — |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list | #bdd2e7 | — |
| punctuation.definition.string.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, meta.link.inline.markdown punctuation.definition.string | #bdd2e7 | — |
| meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block | #bdd2e7 | — |
| meta.brace, punctuation.definition, punctuation.definition.parameters | #bdd2e7 | — |
| punctuation.definition.template-expression | #ff7878 | — |
| keyword.operator | #ff7878 | normal |
| keyword.operator.expression | #ff7878 | — |
| keyword.operator.assignment | #ff7878 | — |
| keyword.operator.arithmetic | #ff7878 | — |
| keyword.operator.bitwise | #ff7878 | — |
| keyword.operator.increment, keyword.operator.decrement | #ff7878 | — |
| keyword.operator.ternary | #ff7878 | — |
| keyword.operator.logical | #dc8cff | normal |
| keyword.operator.comparison | #dc8cff | — |
| keyword.operator.relational | #dc8cff | normal |
| comment, comment.block.documentation punctuation.definition.bracket.curly | #647882 | italic |
| comment.line.double-slash, punctuation.definition.comment, punctuation.whitespace.comment, string.comment.buffered.block.pug | #647882 | italic |
| comment.block.documentation entity.name.type.instance.jsdoc, comment.block.documentation entity.name.type.instance.phpdoc | #9696ff80 | — |
| comment.block.documentation variable.other.jsdoc, comment.block.documentation variable.other.phpdoc | #ffdc9680 | — |
| comment.block.documentation storage.type.class.jsdoc, comment.block.documentation punctuation.definition.block.tag.jsdoc | #00b1ff80 | — |
| constant.numeric, constant.character.numeric | #ffb482 | normal |
| constant.language.null, constant.language.undefined | #ff7878 | — |
| constant.language.boolean | #ff7878 | — |
| variable.scss, variable.sass, variable.parameter.scss, variable.parameter.sass | #ffdc96 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id.css, entity.other.attribute-name.id.css punctuation.definition.entity.css, entity.other.attribute-name.id.scss, entity.other.attribute-name.id.css.sass | #00b1ff | — |
| support.function.name.sass.library, source.sass entity.name.function | #00b1ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.css punctuation.definition.entity.css, entity.other.attribute-name.class.css.sass, entity.other.attribute-name.class.scss | #ffdc96 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css, entity.name.tag.reference.scss, entity.name.tag.css.sass | #ff7878 | normal |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css, entity.other.pseudo-class.css.sass, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-element.css punctuation.definition.entity.css | #dc8cff | normal |
| support.type.property-name.css, support.type.property-name.css.sass | #00dcdc | — |
| support.constant.property-value.css | #ffb482 | — |
| keyword.other.unit, keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.css.sass, constant.numeric.css, punctuation.definition.constant.css, constant.numeric.css.sass | #ffb482 | — |
| support.type.vendor.property-name, support.constant.vendor.property-value, support.type.property-name, meta.property-list entity.name.tag | #9696ff | normal |
| keyword.other.important.css, keyword.other.important.scss | #ff7878 | normal |
| meta.at-rule.keyframes.body.css, source.css.scss meta.at-rule.keyframes.scss entity.other.attribute-name.scss | #dc8cff | normal |
| punctuation.definition.keyword, entity.name.tag.reference, entity.name.tag.custom.css, entity.name.tag.custom.scss, entity.name.tag.custom.sass, support.function.sass, keyword.control.interpolation.sass, keyword.operator.css.sass, keyword.other.reserved.sass, keyword.control.at-rule, keyword.control.at-rule.css.sass | #9696ff | normal |
| punctuation.separator.key-value.css, punctuation.separator.key-value.scss, punctuation.separator.key-value.less, punctuation.separator.key-value.css.sass | #bdd2e7 | — |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #00dcdc | — |
| meta.attribute-selector.css entity.other.attribute-name, meta.attribute-selector.less entity.other.attribute-name.attribute, entity.other.attribute-name.css.sass, keyword.operator.attribute-selector.css.sass, meta.attribute-selector, source.css.scss entity.other.attribute-name.attribute, meta.attribute-selector.scss, meta.attribute-selector.scss keyword.operator.scss, meta.attribute-selector.scss punctuation.definition.string.begin.scss, meta.attribute-selector.scss punctuation.definition.string.end.scss, meta.attribute-selector.scss punctuation.definition.attribute-selector.begin.bracket.square.scss, meta.attribute-selector.scss punctuation.definition.attribute-selector.end.bracket.square.scss, entity.other.attribute-selector.sass, meta.attribute-selector.css, meta.attribute-selector.css keyword.operator.pattern.css, meta.attribute-selector.css punctuation.definition.entity.begin.bracket.square.css, meta.attribute-selector.css punctuation.definition.entity.end.bracket.square.css | #aae682 | — |
| support.function.interpolation.sass, punctuation.definition.interpolation.begin.bracket.curly.scss, punctuation.definition.interpolation.end.bracket.curly.scss | #ff7878 | — |
| entity.name.type.interface.js, entity.name.type.interface.ts, entity.name.type.alias.js, entity.name.type.alias.ts, entity.name.type.js, entity.name.type.ts, entity.name.type.module.js, entity.name.type.module.ts | #dc8cff | — |
| support.variable.property.js, support.variable.property.ts | #9696ff | normal |
| storage.type.function.arrow.js, storage.type.function.arrow.ts | — | normal |
| variable.language.this.js, variable.language.this.ts | #ff7878 | — |
| meta.objectliteral.js meta.object.member.js meta.object-literal.key.js, variable.other.property.vue | #bdd2e7 | — |
| variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other | #ffdc96 | — |
| meta.function-call.js entity.name.function.js | — | normal |
| meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx | #bdd2e7 | — |
| variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts | #ffdc96 | — |
| meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type | #7ba5cf | — |
| variable.other.property, variable.parameter | #ffdc96 | — |
| support.class.component.js, support.class.component.tsx | #ff7878 | normal |
| punctuation.decorator.js | #00dcdc | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #bdd2e7 | — |
| punctuation.section.embedded | #bdd2e7 | — |
| entity.name.type.tsx, entity.name.type.module.tsx | #9696ff | normal |
| meta.method.declaration storage.type.ts, meta.method.declaration storage.type.tsx | #00b1ff | — |
| variable.other.object.js, variable.other.object.jsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.js, variable.object.property.jsx, support.variable.vue | #ffdc96 | — |
| variable.js, variable.other.js | #ffdc96 | — |
| entity.name.type.js, entity.name.type.module.js | #dc8cff | normal |
| support.class.js | #ffdc96 | — |
| keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx | #9696ff | normal |
| entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, source.vue entity.name.tag.html invalid.illegal.unrecognized-tag.html, source.vue entity.name.tag.html, meta.tag.js, meta.tag.tsx, meta.tag.html, meta.tag.start.svelte, meta.tag.end.svelte, meta.tag.start.svelte keyword.control.svelte, meta.tag.end.svelte keyword.control.svelte | #ff7878 | normal |
| invalid.illegal.unrecognized-tag.html entity.name.tag, meta.tag.other.unrecognized.html entity.name.tag | #bdd2e7 | normal |
| punctuation.separator.key-value.html, punctuation.definition.tag.html | #bdd2e7 | — |
| support.type.property-name.json | #ffdc96 | — |
| support.constant.json | #ff7878 | — |
| meta.structure.dictionary.value.json string.quoted.double | #aae682 | — |
| string.quoted.double.json punctuation.definition.string.json | #aae682 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #ff7878 | — |
| constant.language.python | #ff7878 | — |
| variable.parameter.function.python, meta.function-call.arguments.python | #9696ff | normal |
| meta.function-call.python, meta.function-call.generic.python | #00dcdc | normal |
| punctuation.python | #bdd2e7 | — |
| entity.name.function.decorator.python | #ff7878 | — |
| source.python variable.language.special | #ffdc96 | — |
| variable.assignment.coffee | #ffdc96 | — |
| variable.parameter.function.coffee | #00dcdc | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #ffdc96 | — |
| variable.other.readwrite.cs | #ffdc96 | — |
| entity.name.type.class.cs, storage.type.cs | #9696ff | — |
| entity.name.type.namespace.cs | #ffdc96 | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #9696ff | — |
| source.elixir entity.name.function | #00dcdc | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #9696ff | — |
| source.elixir punctuation.definition.string | #aae682 | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #aae682 | — |
| source.elixir .punctuation.binary.elixir | #dc8cff | normal |
| markup.heading.markdown | #9696ff | bold |
| markup.italic.markdown | #ffb482 | normal |
| markup.bold.markdown | #ffb482 | bold |
| markup.quote.markdown | #aae682 | normal |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #ffdc96 | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #ffdc96 | — |
| punctuation.definition.metadata.markdown | #bdd2e7 | — |
| beginning.punctuation.definition.list.markdown | #aae682 | — |
| markup.inline.raw.string.markdown | #aae682 | — |
| 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 | #dc8cff | normal |
| source.go constant.language.go, source.go constant.other.placeholder.go | #ff7878 | — |
| meta.use.rust, meta.function.definition.rust, keyword.other.rust | #9696ff | — |
| entity.name.namespace.rust | #dc8cff | — |
| entity.name.namespace.rust | #dc8cff | — |
| punctuation.definition.attribute.rust, punctuation.brackets.attribute.rust | #ff7878 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #ff7878 | — |
| keyword.other.namespace.php, keyword.other.use.php, keyword.other.use-as.php, storage.modifier.php | #9696ff | — |
| meta.use.php, meta.use.php punctuation.separator.inheritance.php, entity.name.type.namespace.php, entity.name.type.namespace.php punctuation.separator.inheritance.php | #ffb482 | — |
| variable.other.php, variable.other.property.php, punctuation.definition.variable.php, support.class.php, entity.other.alias.php | #ffdc96 | — |
| meta.function-call.php punctuation | #bdd2e7 | normal |
| keyword.blade | #9696ff | — |
| keyword.control.directive.include.cpp punctuation.definition.directive.cpp | #9696ff | — |
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}!`;
}