MintShot Themes
Publisher: MintShot themeThemes in package: 17
A collection of dark and light themes for VS Code and compatible editors with refined neutral surfaces and expressive accents.
A collection of dark and light themes for VS Code and compatible editors with refined neutral surfaces and expressive accents.
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #D7D7D7 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #14148A | — |
| comment | #55615C99 | italic |
| constant.language | #64A4D9 | — |
| constant.numeric, entity.name.operator.custom-literal.number, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #BBD2AF | — |
| constant.regexp | #70729D | — |
| entity.name.tag | #64A4D9 | — |
| entity.name.tag.css | #DAC087 | — |
| entity.other.attribute-name | #A4DFFE | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #DAC087 | — |
| invalid | #F55656 | — |
| markup.underline | — | underline |
| markup.bold | #64A4D9 | bold |
| markup.heading | #64A4D9 | bold |
| markup.italic | — | italic |
| markup.inserted | #BBD2AF | — |
| markup.deleted | #D29A83 | — |
| markup.changed | #64A4D9 | — |
| punctuation.definition.quote.begin.markdown | #76A163 | — |
| punctuation.definition.list.begin.markdown | #739EE8 | — |
| markup.inline.raw | #D29A83 | — |
| punctuation.definition.tag | #8A8A8A | — |
| meta.preprocessor | #64A4D9 | — |
| meta.preprocessor.string | #D29A83 | — |
| meta.preprocessor.numeric | #BBD2AF | — |
| meta.structure.dictionary.key.python | #A4DFFE | — |
| meta.diff.header | #64A4D9 | — |
| storage | #64A4D9 | — |
| storage.type | #64A4D9 | — |
| storage.modifier, keyword.operator.noexcept | #64A4D9 | — |
| string, entity.name.operator.custom-literal.string, meta.embedded.assembly | #D29A83 | — |
| string.tag | #D29A83 | — |
| string.value | #D29A83 | — |
| string.regexp | #D57575 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #64A4D9 | — |
| meta.template.expression | #D7D7D7 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #BEE9FF | — |
| keyword.control, keyword.operator | #CA90C5 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #64A4D9 | — |
| keyword.other.unit | #BBD2AF | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #64A4D9 | — |
| support.function.git-rebase | #A4DFFE | — |
| constant.sha.git-rebase | #BBD2AF | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #D7D7D7 | — |
| variable.language | #64A4D9 | — |
| variable.language.rust, variable.language.self.rust, variable.language.self.rust.mutable | #64A4D9 | italic |
| entity.name.function.preprocessor, entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #DFDFB1 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, variable.other.enummember, entity.name.type.option.rust, entity.name.type.result.rust | #5CCDB6 | — |
| meta.attribute.rust entity.name.type, meta.attribute.rust entity.name.class, meta.attribute.rust support.class, meta.attribute.rust support.type | #D29A83 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #5CCDB6 | — |
| keyword.control, keyword.operator.dereference.rust, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #CA90C5 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #E8EAF1 | — |
| meta.object-literal.key | #D6F3FF | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #D29A83 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #D29A83 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #D57575 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #DFDFB1 | — |
| keyword.operator.quantifier.regexp | #DAC087 | — |
| constant.character | #64A4D9 | — |
| constant.character.escape | #DAC087 | — |
| entity.name.label | #CCCCCC | — |
| keyword, storage.type.java | #64A4D9 | — |
| support.other.excluded | #8A8A8A | — |
| keyword.preprocessor | #8A8A8A | — |
| punctuation.semi | #5E5E5E | — |
| punctuation.definition.comment | #55615C99 | italic |
| punctuation.definition.string | #D29A83 | — |
| entity.name.namespace | #D7D7D7 | — |
| entity.name.variable.field | #D6F3FF | — |
| variable.other.property | #D6F3FF | — |
| variable.other.constant | #E8EAF1 | — |
| entity.name.type.interface | #BEDAAA | — |
| entity.name.type.enum | #CA90C5 | — |
| entity.name.type.parameter | #BEDAAA | — |
| entity.name.type.struct | #90CB9A | — |
| entity.name.function.extension | #DFDFB1 | — |
| comment.documentation | #55615C99 | italic |
| comment.documentation.attribute | #55615C99 | italic |
| comment.documentation.cdata | #55615C99 | italic |
| comment.documentation.delimiter | #55615C99 | italic |
| comment.documentation.name | #55615C99 | 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}!`;
}