slate-theme
Publisher: divyamritThemes in package: 1
Basic slate-theme, just becoming more more more ... INFINITY
Basic slate-theme, just becoming more more more ... INFINITY
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, string meta.image.inline.markdown | #DEE0E3 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #6272A4 | — |
| constant.language | #F3AFE6 | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #C8F1BA | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #F3AFE6 | — |
| entity.name.tag.css | #F3AFE6 | — |
| entity.other.attribute-name | #B6F6FD | — |
| 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.scss | #F3AFE6 | — |
| invalid | #F09489 | — |
| markup.italic | #FFCA92 | italic |
| markup.strikethrough | — | strikethrough |
| markup.underline | #FFCA92 | underline |
| markup.bold | #FFCA92 | bold |
| markup.heading | #F3AFE6 | bold |
| markup.inserted | #C8F1BA | — |
| markup.deleted, markup.inline.raw | #F6FACA | — |
| markup.changed | #F3AFE6 | — |
| punctuation.definition.list.begin.markdown, punctuation.definition.quote.begin.markdown | #CAA9FA | — |
| punctuation.definition.tag | #676E79 | — |
| meta.preprocessor, entity.name.function.preprocessor | #F3AFE6 | — |
| meta.preprocessor.string | #F6FACA | — |
| meta.preprocessor.numeric | #C8F1BA | — |
| meta.structure.dictionary.key.python | #B6F6FD | — |
| meta.diff.header | #F3AFE6 | — |
| storage | #F3AFE6 | — |
| storage.type | #F3AFE6 | — |
| storage.modifier, keyword.operator.noexcept | #F3AFE6 | — |
| string, meta.embedded.assembly | #F6FACA | — |
| string.tag | #F6FACA | — |
| string.value | #F6FACA | — |
| string.regexp | #F09489 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #F3AFE6 | — |
| meta.template.expression | #DEE0E3 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #B6F6FD | — |
| keyword | #F3AFE6 | — |
| keyword.control | #F3AFE6 | — |
| keyword.operator | #DEE0E3 | — |
| 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 | #F3AFE6 | — |
| keyword.other.unit, keyword.control.unit | #C8F1BA | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #F3AFE6 | — |
| keyword.operator.type.php | #F3AFE6 | — |
| support.function.git-rebase | #B6F6FD | — |
| constant.sha.git-rebase | #C8F1BA | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #DEE0E3 | — |
| variable.language | #F3AFE6 | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #FFCA92 | — |
| 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.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, 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 | #9AE7A9 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #9AE7A9 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator | #CAA9FA | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #B6F6FD | — |
| meta.object-literal.key | #B6F6FD | — |
| meta.object-literal.key punctuation.separator.key-value | #DEE0E3 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.colors.rgb-value, constant.other.rgb-value, support.constant.color | #F6FACA | — |
| 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 | #F6FACA | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #F09489 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #FFCA92 | — |
| keyword.operator.quantifier.regexp | #D7BA7D | — |
| constant.character | #F3AFE6 | — |
| constant.character.escape | #D7BA7D | — |
| entity.name.label | #C8C8C8 | — |
| source.css keyword, source.sass keyword | #F09489 | — |
| keyword.control.at-rule.function.scss, keyword.control.at-rule.mixin.scss, keyword.control.at-rule.include.scss, keyword.control.at-rule.extend.scss | #9AE7A9 | — |
| keyword.control.debug.scss, keyword.control.warn.scss, keyword.control.error.scss | #F09489 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, punctuation.definition.metadata.markdown | #B6F6FD | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #9AE7A9 | — |
| entity.other.attribute-name.handlebars, variable.parameter.handlebars | #9AE7A9 | — |
| meta.preprocessor.cs, meta.preprocessor.cs string | #F6FACA7F | — |
| meta.preprocessor.cs keyword, meta.preprocessor.cs punctuation.separator.hash | #CAA9FA7F | — |
| meta.preprocessor.cs keyword.operator, meta.preprocessor.cs punctuation.parenthesis | #DEE0E37F | — |
| meta.preprocessor.cs entity.name.variable.preprocessor.symbol.cs | #B6F6FD7F | — |
| meta.preprocessor.cs constant.numeric | #C8F1BA7F | — |
| punctuation.separator.inheritance.php | #DEE0E3 | — |
| entity.other.alias.php, support.other.namespace.php | #9AE7A9 | — |
| comment | #6E7A99 | bold italic |
| punctuation.definition.comment | #6E7A99 | bold italic |
| 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}!`;
}