Mausworks Theme
Publisher: mausworksThemes in package: 1
A dark, colorful and spicy theme for VSCode
A dark, colorful and spicy theme for VSCode
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 | #effffd38 | — |
| variable, string constant.other.placeholder, meta.function-call.arguments, meta.object.member, meta.directive | #effffd | — |
| punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.bracket, punctuation.paren, meta.block | #effffd | — |
| constant.other.color | #effffd | — |
| invalid, invalid.illegal | #BF0D24 | — |
| keyword.control, constant.other.color, punctuation.definition.keyword, punctuation.separator.inheritance.php, keyword.other.template, keyword.other.substitution | #effffd58 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #effffd58 | — |
| entity.name.tag, meta.tag.sgml | #effffde9 | — |
| source.haskell keyword.operator.arrow, source.haskell keyword.operator.infix, source.haskell keyword.operator.double-colon, source.haskell keyword.operator.lambda | #5EE8D9 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #FF1F93 | — |
| entity.name.function.macro | — | italic |
| keyword.operator | #effffd | — |
| keyword.operator.expression | #effffd58 | — |
| keyword.operator.new | #effffd58 | — |
| keyword.control.trycatch | #effffd58 | italic |
| punctuation.accessor | #effffd | — |
| support.constant | #48F9BB | — |
| constant.language | #effffd58 | italic |
| constant.numeric, constant.character, constant.escape | #FDFD9B | — |
| keyword.other.unit, keyword.other, keyword.operator.expression, keyword, storage.modifier | #effffd58 | — |
| storage.type | #effffd58 | — |
| variable.language.super, variable.language.self, variable.language.base, variable.language.this | #5EE8D9 | italic |
| storage.modifier.mut | — | italic |
| punctuation.definition.attribute, meta.attribute punctuation.brackets | #effffd58 | — |
| variable.language.relations | #48F9BB | italic |
| 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 | #FDFD9B | — |
| entity.name.type, support.type, support.class, meta.use.php, entity.other.inherited-class, support.other.namespace.use.php, support.other.namespace.php, entity.name.namespace, keyword.operator.namespace, markup.changed.git_gutter, support.type.sys-types, meta.function.type-declaration, meta.declaration.data.algebraic, meta.declaration.type, storage.type.haskell | #48F9BB | — |
| entity.other.attribute-name | #effffd58 | — |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag, source.postcss entity.name.tag | #48F9BB | italic |
| entity.other.attribute-name.class | #11C3D0 | — |
| entity.other.attribute-name.id | #FF1F93 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | — | italic |
| 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 | #effffd | — |
| source.css support.constant.property-value, source.sass support.constant.property-value, source.scss support.constant.property-value, source.less support.constant.property-value, source.stylus support.constant.property-value, source.postcss support.constant.property-value | #FDFD9B | — |
| keyword.other.unit | #effffd80 | — |
| constant.other.color | #FDFD9B | — |
| punctuation.section.property-list.begin.bracket.curly, punctuation.section.property-list.end.bracket.curly, punctuation.terminator.rule | #effffd58 | — |
| meta.jsx.children | #effffde9 | — |
| markup.heading.markdown, markup.bold.markdown | #effffde9 | bold |
| punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.raw.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, markup.fenced_code.block.markdown | #effffd58 | |
| markup.italic.markdown, meta.link.inline.markdown | — | italic |
| markup.inserted | #48F9BB | — |
| markup.deleted | #D54D57 | — |
| markup.changed | #5EE8D9 | — |
| string.regexp | #FDFD9B | — |
| constant.character.escape | #effffd58 | — |
| *url*, *link*, *uri* | — | underline |
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}!`;
}