Slime Theme
Publisher: smlombardiThemes in package: 1
A port of my Atom theme
A port of my Atom theme
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 |
|---|---|---|
| variable.parameter.function, text.html.basic, text, source | #e1e2de | — |
| constant.language.boolean.true.js, constant.language.boolean.false.js, constant.language.null.js,constant.language.boolean.true.ts, constant.language.boolean.false.ts, constant.language.null.ts,constant.language.undefined.ts,constant.language.undefined.js | #AB6767 | — |
| support.class, entity.name.class, entity.name.type.class, meta.class | #d6c05d | — |
| comment, comment.block.html, comment.block.documentation.phpdoc.php keyword.other.phpdoc.php | #6e7573 | italic |
| punctuation.definition.comment | #7c8280 | |
| constant | #9876AA | — |
| constant.character, constant.other, punctuation.definition.entity.html | #6D9CBE | — |
| none | #dedede | — |
| entity.name.function, meta.require, support.function.any-method, support.function | #e0ba7d | — |
| meta.function-call | #a9b7c7 | — |
| constant.numeric | #B081B9 | — |
| keyword | #9FB3C2 | — |
| keyword.other.special-method | #8fa1b3 | — |
| keyword.operator | #b4b4b4 | — |
| keyword.control | #d8d29a | — |
| storage | #9FB3C2 | — |
| storage.type | #d88f56 | — |
| storage.type.function.arrow.ts | #df7f37 | — |
| string, string.quoted.double, string.quoted.single, string.quoted.double.json, string.quoted.single.css, string.quoted.single.js, string.quoted.single.scss, constant.character.escape, constant.character.escape.css, constant.character.escape.scss, constant.other.symbol, invalid.illegal.bad-ampersand.html | #8CAEC1 | — |
| support.constant, support.type, support.class | #E6CE64 | — |
| support.class.console.js | #FF8843 | — |
| support.function.console.js | #C7AF3F | — |
| meta.jsx.children.js | #e1e2de | — |
| variable, variable.other.readwrite.js, punctuation.definition.variable.php, variable.other, support.variable | #be9296 | — |
| variable.other.object.js | #AEC199 | — |
| variable.parameter.js | #B5919F | italic |
| meta.object-literal.key, meta.object.member.object-literal.key, meta.object-literal.key.js entity.name.function.js, meta.object-literal.key.ts string.quoted.double.ts, meta.object.member | #A8B298 | — |
| function.storage.type.block.js | #C7AF3F | — |
| support.variable.object.process.js | #71b9a1 | — |
| keyword.control.export, keyword.control.flow, keyword.control.import, keyword.control.from | #c5a46f | — |
| entity.name.type | #8fc4ce | — |
| meta.type.parameters.ts entity.name.type.ts | #ddb78a | — |
| storage.modifier | #ab9b67 | — |
| entity.name.function.ts, punctuation.decorator.ts | #e0e0e0 | — |
| support.type.class.declaration.method.return.primitive.ts, type.annotation.support.class.declaration.method.parameters.primitive.ts | #abdee8 | — |
| support.type.primitive.ts | #C8BA7C | — |
| variable.language.this.ts | #E6DDA8 | — |
| block.variable.other.object.class.declaration.property.method.ts, block.variable.other.object.class.declaration.method.ts, block.variable.other.object.array.literal.class.declaration.method.var.expr.ts, block.variable.class.declaration.method.parameter.arrow | #a9b7c7 | — |
| block.variable.other.object.class.declaration.method.ts, block.variable.other.object.array.literal.class.declaration.method.var.expr.ts block.variable.class.declaration.method.parameter.arrow.ts, block.variable.other.class.declaration.property.method.ts | #b57b91 | — |
| source.css | #efefef | — |
| meta.selector, entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector-suffix.scss | #B8CA9C | — |
| entity.scss.meta.property-list.punctuation.other.attribute-name.class.css.definition, entity.punctuation.other.attribute-name.class.css.definition, punctuation.definition.entity.css, meta.selector.css | #AFCA84 | — |
| entity.name.tag.scss, entity.name.tag.css | #BEB558 | — |
| entity.other.attribute-name.id.css | #BE7C81 | — |
| entity.other.attribute-name.id.css punctuation.definition.entity.css | #A0686D | — |
| entity.name.tag.custom.sass,entity.name.tag.custom.scss, meta.property-list.css meta.property-name.css, meta.property-list.scss meta.property-name.sass, meta.property-list.scss meta.property-name.scss, support.type.property-name.css, support.type.property-name.sass, support.type.property-name.scss | #83A5A1 | — |
| support.type.vendored.property-name.css | #9BC4BF | — |
| meta.property-group support.constant.property-value.css, meta.property-list.css meta.property-value.css, meta.property-value support.constant.property-value.css, meta.property-group support.constant.property-value.scss, meta.property-group support.constant.property-value.sass, meta.property-value support.constant.property-value.scss, meta.property-value support.constant.property-value.sass, variable.parameter.misc.css, parameter.less.data-uri comment markup.raw, source.less meta.property-value.css, meta.property-value.scss, support.constant.property-value.css | #C0C0C3 | — |
| support.constant.vendored.property-value.css | #E2E08D | — |
| constant.numeric.color.hex-value.scss punctuation.definition.constant.scss,constant.numeric.color.hex-value.scss, constant.other.color, constant.other.color.rgb-value, constant.other.rgb-value.css, meta.property-value constant, support.constant.named-color | #C0C0C3 | — |
| support.constant.font-name.scss, support.constant.font-name.css | #C0C0C3 | — |
| meta.constructor.argument.css, meta.constructor.argument.sass | #8F9D6A | — |
| entity.other.attribute-name.placeholder.scss, entity.other.attribute-name.placeholder.css | #D1B781 | — |
| entity.other.attribute-name.placeholder.scss punctuation.definition.entity.sass, entity.other.attribute-name.placeholder.css punctuation.definition.entity.css | #B39659 | — |
| meta.preprocessor.at-rule keyword.control.at-rule, keyword.control.at-rule | #e78484 | — |
| meta.preprocessor.at-rule keyword.control.at-rule punctuation.definition, keyword.control.at-rule punctuation.definition | #AA6161 | — |
| keyword.other.important, token.literal.sass | #CD6564 | |
| meta.at-rule.constant.numeric.media, meta.property-list.property-value.constant.numeric, property-list.scss.constant.numeric.variable.set, constant.numeric.scss | #B081B9 | — |
| meta.at-rule.keyword.other.unit.media, keyword.other.unit.scss, keyword.other.unit.css | #8C98AB | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css,entity.property-list.other.attribute-name.pseudo-class.css, entity.property-list.other.attribute-name.pseudo-element.css | #7A8D5C | — |
| entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css,entity.other.attribute-name.pseudo-element.css punctuation.definition.entity.css,entity.property-list.other.attribute-name.pseudo-class.css punctuation.definition.entity.css, entity.property-list.other.attribute-name.pseudo-element.css punctuation.definition.entity.css | #7A8D5C | — |
| entity.other.attribute-name.attribute.scss, entity.other.attribute-name.css | #AB6767 | — |
| string.quoted.double.attribute-value.scss | #82A66D | — |
| support.function.misc.scss, keyword.control.at-rule.function.scss, keyword.control.at-rule.function.scss punctuation.definition, entity.name.function.scss | #ccc379 | — |
| keyword.control.at-rule.function.scss, keyword.control.at-rule.function.scss punctuation.definition | #B3C564 | — |
| keyword.control.at-rule.function.scss, keyword.control.at-rule.function.scss punctuation.definition | #97A754 | — |
| keyword.control.at-rule.import | #BDB66F | — |
| keyword.control.at-rule.import punctuation.definition | #9F995D | — |
| keyword.control.else.scss, keyword.control.return.scss, keyword.control.if.scss, meta.at-rule.each.scss keyword.control.each.scss, keyword.control.warn.scss, meta.at-rule.each.scss keyword.control.operator | #D99060 | — |
| keyword.control.else.scss punctuation.definition, keyword.control.return.scss punctuation.definition, keyword.control.if.scss punctuation.definition, keyword.control.each.scss punctuation.definition, keyword.control.warn.scss punctuation.definition | #BB7C52 | — |
| keyword.control.at-rule.media | #91AAC7 | — |
| keyword.control.at-rule.media punctuation.definition | #7B90A9 | — |
| support.type.property-name.media,meta.at-rule.include.scss,meta.at-rule.include.scss support.constant.mathematical-symbols.scss | #83A5A1 | — |
| scss.meta.at-rule.import.string.quoted.single | #82A66D | — |
| keyword.control.at-rule.mixin.scss | #e78484 | — |
| keyword.control.at-rule.mixin.scss punctuation.definition | #AA6161 | — |
| meta.at-rule.mixin.scss entity.name.function.scss, meta.at-rule.include.scss entity.name.function.scss | #c9ae8b | — |
| keyword.control.at-rule.include | #e78484 | — |
| keyword.control.at-rule.include punctuation.definition | #AA6161 | — |
| meta.at-rule.fontface.scss keyword.control.at-rule.fontface.scss | #e78484 | — |
| keyword.control.at-rule.fontface.scss punctuation.definition.keyword.scss | #AA6161 | — |
| keyword.control.at-rule.supports | #e78484 | — |
| keyword.control.at-rule.supports.scss punctuation.definition.keyword | #AA6161 | — |
| keyword.control.at-rule.keyframes | #e78484 | — |
| keyword.control.at-rule.keyframes punctuation.definition | #AA6161 | — |
| meta.at-rule.keyframes.scss entity.other.attribute-name.scss,meta.at-rule.keyframes.body entity.other.keyframe-offset.percentage, entity.other.keyframe-offset.css | #6897BB | — |
| meta.at-rule.keyframes.scss entity.name.function.scss | #c9ae8b | — |
| keyword.control.content.scss | #b3c770 | — |
| keyword.control.content.scss punctuation.definition | #97A95F | — |
| variable.interpolation.scss,punctuation.definition.interpolation.begin.bracket.curly.scss,punctuation.definition.interpolation.end.bracket.curly.scss | #c2da90 | — |
| entity.name.tag.reference.scss | #DCCA9C | — |
| meta.definition.variable.map.scss support.type.map.key.scss | #DCB5C4 | — |
| meta.definition.variable.map.scss variable.scss | #977785 | — |
| entity.other.attribute-name.placeholder.scss,entity.other.attribute-name.placeholder.scss punctuation.definition.entity.scss | #768DA2 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, punctuation.section.embedded.begin.metatag.php, punctuation.section.embedded.end.metatag.php, text.html.php meta.embedded.line.php punctuation.section.embedded.end.metatag.php source.php, text.html.php meta.embedded.block.php punctuation.section.embedded.end.metatag.php source.php, text.html.php meta.embedded.block.php punctuation.section.embedded.end.php source.php, text.html.php meta.embedded.line.php punctuation.section.embedded.end.php source.php | #c8644d | — |
| string.regexp | #96b5b4 | — |
| keyword.operator.quantifier.regexp | #D4C162 | — |
| punctuation.definition.character-class.regexp | #CD9081 | — |
| punctuation.definition.group.regexp | #e06060 | — |
| punctuation.definition.group.no-capture.regexp | #a47bb8 | — |
| keyword.control.anchor.regexp | #7da85c | — |
| meta.block.embedded.php.source.comment.documentation.phpdoc | #ACB5B5 | — |
| meta.function-call.php | #C0A3BB | — |
| constant.character.escape | #96b5b4 | — |
| meta.tag.any.html.string.quoted.double.embedded.line.php.source.constant.language.inline, meta.embedded.line.php.source.constant.language | #996c6c | — |
| keyword.control.php | #E9D38D | — |
| support.function.construct.output.php | #E9D38D | — |
| invalid.illegal | #F8F8F0 | — |
| invalid.deprecated | #F8F8F0 | — |
| string.quoted.double.html invalid.illegal.bad-ampersand.html | #d0c39b | — |
| entity.name.section.markdown | #BF93B5 | |
| punctuation.definition.heading.markdown | #A16893 | |
| markup.bold | #CDA479 | |
| punctuation.definition.bold.markdown | #AF8C67 | |
| meta.paragraph.markdown | #c0c0c0 | |
| markup.italic | #B4B378 | italic |
| punctuation.definition.italic.markdown | #959451 | |
| markup.inline.raw.markdown, text.html.markdown markup.fenced_code.block.markdown, markup.inline.raw.string.markdown | #C6DD88 | — |
| markup.fenced_code.block.markdown punctuation.definition.markdown, punctuation.definition.raw.markdown | #A5BF5E | — |
| string.other.link | #bf616a | — |
| meta.link, meta.paragraph.inline.link.underline.detected-link, markup.underline.link.image.markdown | #B2885F | — |
| markup.list meta.paragraph.markdown | #D1CAB5 | — |
| beginning.punctuation.definition.list.markdown | #F0E1B3 | — |
| markup.quote | #d08770 | — |
| meta.separator | #c0c5ce | — |
| punctuation, punctuation.definition, punctuation.section.function, punctuation.separator, punctuation.support.type.property-name, punctuation.accessor.ts, meta.brace.round, meta.brace.square, meta.type.annotation.ts, support.constant.mathematical-symbols, block.brace.array.literal.square, block.brace.round, block.punctuation, brace.array.literal.square, brace.type.square, punctuation.decorator.objectliteral.object.member.accessor, punctuation.section, meta.at-rule.media.scss, keyword.operator.css, source.css.scss, punctuation.accessor.js, punctuation.terminator, text.html.php meta.tag.block.any.html, text.html.php meta.embedded.block.php source.php, text.html.php meta.embedded.line.php source.php, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.string.begin.ts, punctuation.definition.string.end.ts | #CCD2BE | — |
| keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary | #CCD2BE | — |
| meta.structure.dictionary.value.json, string.quoted.double.json,meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.array.json meta.structure.dictionary.json support.type.property-name.json,meta.structure.dictionary.value.json string.quoted.double.json punctuation.definition.string.begin.json,meta.structure.dictionary.value.json string.quoted.double.json punctuation.definition.string.end.json | #8CAEC1 | — |
| support.type.property-name.json,meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin.json,meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end.json,meta.structure.array.json meta.structure.dictionary.json support.type.property-name.json,meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.array.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.array.json meta.structure.dictionary.json support.type.property-name.json | #A8B298 | — |
| constant.language.json | #AB6767 | — |
| meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin.json, meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end.json, meta.structure.dictionary.value.json string.quoted.double.json punctuation.definition.string.begin.json, meta.structure.dictionary.value.json string.quoted.double.json punctuation.definition.string.end.json | #AFAFAF | — |
| text.html meta.tag.inline.any.html,text.html meta.tag.block.any.html,text.html source.js.embedded.html,text.html meta.tag.any.html,text.html meta.tag.structure.any.html,text.html meta.tag.other.html | #c0c0c0 | — |
| entity.name.tag, keyword.control.html.elements, entity.name.tag.inline.any.html, entity.name.tag.block.any.html | #c9b567 | — |
| punctuation.definition.tag, punctuation.definition.tag.begin.html source.js | #929292 | — |
| meta.tag.any.html entity.other.attribute-name.html, meta.tag.block.any.html entity.other.attribute-name.html, meta.tag.inline.any.html entity.other.attribute-name.html, meta.tag.structure.any.html entity.other.attribute-name.html, meta.tag.other.html entity.other.attribute-name.html, source.js.embedded.html entity.other.attribute-name.html, entity.other.attribute-name.html, source.ts entity.other.attribute-name, entity.other.attribute-name.id.html, entity.other.attribute-name.js | #9ab383 | — |
| string.quoted.double.html, meta.template string.quoted.double,string.quoted.double.html invalid.illegal.bad-ampersand.html | #82A2B4 | — |
| string.quoted.double.html punctuation.definition.string.begin.html,string.quoted.double.html punctuation.definition.string.end.html | #c0c0c0 | — |
| meta.tag.sgml.doctype.html | #C48851 | — |
| meta.template.expression.js punctuation.definition.template-expression, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts | #b4ce84 | — |
| punctuation.definition.string.template.begin.js, punctuation.definition.string.template.end.js | #da7979 | — |
| comment.block.documentation.js, comment.block.documentation.js storage.type.class.jsdoc, comment.block.documentation.js storage.type.class.jsdoc punctuation.definition.block.tag.jsdoc, comment.block.documentation.js punctuation.definition.comment.js, punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc, variable.other.jsdoc, variable.other.jsdoc source.embedded.js, variable.other.jsdoc keyword.operator.assignment.jsdoc, punctuation.definition.optional-value.begin.bracket.square.jsdoc, punctuation.definition.optional-value.end.bracket.square.jsdoc, entity.name.type.instance.jsdoc | #777777 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}