SLab Theme
All themes in one place
All themes in one place
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.language | #05ad97 | — |
| variable.other.member | #05ad97 | — |
| variable.parameter.function | #A6B2C0 | — |
| comment, punctuation.definition.comment | #5c6370 | — |
| meta.function.c | #e06c75ff | — |
| keyword.control.cpp | #e5c07bff | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #abb2bfff | — |
| variable.other.constant.js | #e5c07bff | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #d19a66ff | — |
| support.constant.color.w3c-standard-color-name.css,entity.other.attribute-name.class.css | #d19a66ff | — |
| support.type.vendored.property-name.css | #56b6c2ff | — |
| punctuation.definition.template-expression.begin.js,punctuation.definition.template-expression.end.js | #e06c75ff | — |
| support.module.node.js,support.type.object.module.js,support.module.node.js | #e5c07bff | — |
| variable.other.readwrite.js,meta.object-literal.key.js,support.variable.property.js,support.variable.object.process.js | #05ad97 | — |
| support.constant.json.js | #d19a66ff | — |
| punctuation.definition.comment | #5C6370 | — |
| none | #A6B2C0 | — |
| keyword.operator | #abb2bf | — |
| keyword | #e06c75ff | — |
| variable | #05ad97 | — |
| variable.other.readwrite | #d0d0d0 | — |
| token.package.keyword | #a15ebb | — |
| token.package | #abb2bf | — |
| entity.name.function,variable.function,meta.function-call.generic.python,support.function.any-method | #3193c6 | — |
| entity.name.type.namespace | #e5c07b | — |
| support.class, entity.name.type.class | #e5c07b | — |
| entity.name.class.identifier.namespace.type | #e5c07b | — |
| entity.name.class | #61afef | — |
| entity.name.type | #e5c07b | — |
| keyword.control | #e06c75ff | — |
| control.elements, keyword.operator.less | #d19a66 | — |
| storage | #c678dd | — |
| support.function | #56b6c2 | — |
| support.type.property-name | #abb2bf | — |
| support.constant.property-value | #abb2bf | — |
| support.constant.font-name | #d19a66 | — |
| meta.tag | #abb2bf | — |
| string, entity.other.inherited-class | #05ad97 | — |
| constant.other.symbol | #05ad97 | — |
| constant.numeric | #d19a66 | — |
| none | #d19a66 | — |
| none | #d19a66 | — |
| constant | #d19a66 | — |
| punctuation.definition.constant | #d19a66 | — |
| entity.name.tag | #e06c75 | — |
| entity.other.attribute-name | #d19a66 | — |
| entity.other.attribute-name.id | #61afefff | — |
| meta.selector | #c678dd | — |
| none | #D2945D | — |
| keyword.other.unit | #d19a66 | — |
| string.regexp | #57B6C2 | — |
| constant.character.escape | #57B6C2 | — |
| invalid.illegal | #FFFFFF | — |
| invalid.broken | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
| invalid.unimplemented | #FFFFFF | — |
| function.parameter | #d19a66 | — |
| rgb-value | #56B6C2 | — |
| inline-color-decoration rgb-value | #d19a66 | — |
| less rgb-value | #d19a66 | — |
| var.this.js,var.this.ts,variable.language.this.js | #e5c07bff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| comment.block.documentation | #5c6370 | — |
| markup.heading | #3193c6ff | bold |
| markup.bold | #05ad97ff | bold |
| markup.italic | #05ad97ff | italic |
| markup.quote | #d19a66ff | |
| markup.list.unnumbered | #e06c75ff |
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.language | #05ad97 | — |
| variable.other.member | #05ad97 | — |
| variable.parameter.function | #A6B2C0 | — |
| comment, punctuation.definition.comment | #5c6370 | — |
| meta.function.c | #e06c75ff | — |
| keyword.control.cpp | #e5c07bff | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #abb2bfff | — |
| variable.other.constant.js | #e5c07bff | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #d19a66ff | — |
| support.constant.color.w3c-standard-color-name.css,entity.other.attribute-name.class.css | #d19a66ff | — |
| support.type.vendored.property-name.css | #56b6c2ff | — |
| punctuation.definition.template-expression.begin.js,punctuation.definition.template-expression.end.js | #e06c75ff | — |
| support.module.node.js,support.type.object.module.js,support.module.node.js | #e5c07bff | — |
| variable.other.readwrite.js,meta.object-literal.key.js,support.variable.property.js,support.variable.object.process.js | #05ad97 | — |
| support.constant.json.js | #d19a66ff | — |
| punctuation.definition.comment | #5C6370 | — |
| none | #A6B2C0 | — |
| keyword.operator | #abb2bf | — |
| keyword | #e06c75ff | — |
| variable | #05ad97 | — |
| variable.other.readwrite | #d0d0d0 | — |
| token.package.keyword | #a15ebb | — |
| token.package | #abb2bf | — |
| entity.name.function,variable.function,meta.function-call.generic.python,support.function.any-method | #3193c6 | — |
| entity.name.type.namespace | #e5c07b | — |
| support.class, entity.name.type.class | #e5c07b | — |
| entity.name.class.identifier.namespace.type | #e5c07b | — |
| entity.name.class | #61afef | — |
| entity.name.type | #e5c07b | — |
| keyword.control | #e06c75ff | — |
| control.elements, keyword.operator.less | #d19a66 | — |
| storage | #c678dd | — |
| support.function | #56b6c2 | — |
| support.type.property-name | #abb2bf | — |
| support.constant.property-value | #abb2bf | — |
| support.constant.font-name | #d19a66 | — |
| meta.tag | #abb2bf | — |
| string, entity.other.inherited-class | #05ad97 | — |
| constant.other.symbol | #05ad97 | — |
| constant.numeric | #d19a66 | — |
| none | #d19a66 | — |
| none | #d19a66 | — |
| constant | #d19a66 | — |
| punctuation.definition.constant | #d19a66 | — |
| entity.name.tag | #e06c75 | — |
| entity.other.attribute-name | #d19a66 | — |
| entity.other.attribute-name.id | #61afefff | — |
| meta.selector | #c678dd | — |
| none | #D2945D | — |
| keyword.other.unit | #d19a66 | — |
| string.regexp | #57B6C2 | — |
| constant.character.escape | #57B6C2 | — |
| invalid.illegal | #FFFFFF | — |
| invalid.broken | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
| invalid.unimplemented | #FFFFFF | — |
| function.parameter | #d19a66 | — |
| rgb-value | #56B6C2 | — |
| inline-color-decoration rgb-value | #d19a66 | — |
| less rgb-value | #d19a66 | — |
| var.this.js,var.this.ts,variable.language.this.js | #e5c07bff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| comment.block.documentation | #5c6370 | — |
| markup.heading | #3193c6ff | bold |
| markup.bold | #05ad97ff | bold |
| markup.italic | #05ad97ff | italic |
| markup.quote | #d19a66ff | |
| markup.list.unnumbered | #e06c75ff |
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 | #878580 | — |
| comment.block.documentation, comment.block.documentation variable.other | #878580 | italic |
| comment.block.documentation entity.name.type | #CECDC3 | — |
| comment.block.documentation storage.type | #878580 | italic |
| string, punctuation.definition.string.template | #3AA99F | — |
| constant.numeric | #8B7EC8 | — |
| constant.language | #D0A215 | — |
| constant.character, constant.other | #3AA99F | — |
| variable.language.this | #CE5D97 | — |
| keyword.control, keyword.operator.new | #879A39 | — |
| keyword.control.as | #CECDC3 | — |
| keyword, keyword.operator.less, keyword.control.import, keyword.control.from | #D14D41 | — |
| variable.other.object | #879A39 | — |
| meta.tag.without-attributes.js.jsx | #CECDC3 | — |
| variable.other.object.property | #CECDC3 | — |
| variable.other.readwrite | #CECDC3 | — |
| storage.modifier | #4385BE | — |
| keyword.operator | #CECDC3 | |
| punctuation, meta.brace | #878580 | — |
| punctuation.definition.comment | #878580 | |
| punctuation.definition.tag | #878580 | |
| string.quoted punctuation.definition.string | #3AA99F | |
| string.regexp, string.regexp punctuation.definition.string | #3AA99F | |
| storage | #CE5D97 | |
| storage.type | #4385BE | — |
| storage.type.class | #4385BE | — |
| entity.name.class | #4385BE | underline |
| meta.require, support.function.any-method, variable.function | #CECDC3 | — |
| meta.definition.method, entity.name.function.js.jsx, entity.name.function.tsx | #DA702C | — |
| entity.name.function | #DA702C | — |
| entity.name.function.js, entity.name.function.ts | #DA702C | — |
| keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.relational, keyword.operator.increment, keyword.operator.decrement, keyword.operator.logical, keyword.operator.comparison, keyword.operator.ternary, keyword.operator.expression | #D14D41 | — |
| variable.parameter | #CECDC3 | |
| source.css.scss, source.css | #3AA99F | |
| entity.other.attribute-name | #D0A215 | |
| entity.other.inherited-class | #879A39 | |
| support.function, support.variable.dom | #D0A215 | |
| support.constant | #3AA99F | |
| support.type | #CECDC3 | |
| support.class | #CECDC3 | |
| invalid | #D14D41 | |
| invalid.deprecated | #D14D41 | — |
| invalid.illegal | #878580 | — |
| meta.diff, meta.diff.header | #878580 | — |
| markup.deleted | #D14D41 | — |
| markup.inserted | #879A39 | — |
| markup.changed | #D0A215 | — |
| constant.numeric.line-number.find-in-files - match | #879A39 | — |
| entity.name.filename.find-in-files | #D0A215 | — |
| keyword.other | #CECDC3 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #4385BE | — |
| meta.property-value punctuation.separator.key-value | #878580 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #CE5D97 | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #CE5D97 | — |
| meta.object-literal.key | #DA702C | — |
| variable.parameter.function.coffee | #4385BE | |
| markup.deleted.git_gutter | #D14D41 | — |
| markup.inserted.git_gutter | — | — |
| markup.changed.git_gutter | #D0A215 | — |
| meta.template.expression | #4385BE | — |
| variable.other.constant.property, keyword.operator.ternary, keyword.operator.expression.typeof | #8B7EC8 | — |
| keyword.operator.expression.keyof | #CE5D97 | — |
| entity.name.type, support.type.python | #D0A215 | — |
| entity.name.type.class | #DA702C | — |
| token.info-token | #4385BE | — |
| token.warn-token | #D0A215 | — |
| token.error-token | #D14D41 | — |
| token.debug-token | #8B7EC8 | — |
| entity.name.tag.tsx, entity.name.tag.js.jsx, entity.name.tag.html, entity.name.tag.xml, entity.name.tag.script.html.vue, entity.name.tag.template.html.vue, entity.name.tag.style.html.vue, entity.name.tag.style.html.vue, entity.name.tag.script.html, entity.name.tag.template.html, entity.name.tag.style.html, entity.name.tag.block.any.html | #4385BE | |
| support.class.component.tsx, support.class.component.js.jsx | #CE5D97 | |
| support.type.primitive.tsx, support.type.primitive.ts | #D14D41 | — |
| storage.modifier.tsx | #CE5D97 | — |
| entity.other.inherited-class.tsx | #D0A215 | — |
| meta.object.member variable.other.readwrite.tsx | #CECDC3 | — |
| meta.structure.dictionary.json string.quoted.double.json | #878580 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #3AA99F | — |
| meta.structure.dictionary.json, punctuation.definition.string | #3AA99F | — |
| meta.structure.dictionary.json, support.type.property-name.json | #CE5D97 | — |
| punctuation.definition.list.begin.markdown, punctuation.definition.list.begin.mdx, punctuation.definition.list.end.markdown, punctuation.definition.list.end.mdx, punctuation.definition.quote.begin.markdown, punctuation.definition.quote.begin.mdx, punctuation.definition.quote.end.markdown, punctuation.definition.quote.end.mdx, meta.separator.markdown, meta.separator.mdx, markup.inline.raw.string.markdown, markup.raw.code.text.mdx | #D0A215 | — |
| entity.name.section.markdown, entity.name.section.mdx | #D0A215 | — |
| punctuation.definition.heading.markdown, punctuation.definition.heading.mdx | #CE5D97 | — |
| markup.raw.inline.markdown, markup.raw.inline.mdx | #4385BE | — |
| punctuation.definition.bold.markdown, punctuation.definition.bold.mdx, punctuation.definition.italic.markdown, punctuation.definition.italic.mdx, punctuation.definition.entity | #CE5D97 | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.begin.mdx, punctuation.definition.string.end.markdown, punctuation.definition.string.end.mdx | #CE5D97 | — |
| punctuation.definition.metadata.markdown, punctuation.definition.metadata.mdx | #CE5D97 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, string.other.link.destination.mdx, meta.image.inline.markdown, meta.image.inline.mdx | #CE5D97 | |
| markup.bold.markdown, string.other.strong.asterisk.mdx, markup.italic.markdown, markup.italic.mdx | #CE5D97 | — |
| markup.italic.markdown, markup.italic.mdx | — | italic |
| markup.bold.markdown, markup.bold.mdx | — | bold |
| markup.raw.block.markdown, markup.raw.block.mdx | #4385BE | — |
| keyword.other.rust | #8B7EC8 | — |
| keyword.other.fn.rust | #CE5D97 | — |
| punctuation.section.embedded.begin.php, keyword.other.class.php | #CE5D97 | — |
| support.class.php | #CECDC3 | — |
| entity.name.function.php | #DA702C | — |
| meta.use.php | #879A39 | — |
| keyword.other.definition.ini | #D0A215 | — |
| support.type.primitive.prisma | #D0A215 | — |
| support.constant.constant.prisma | #CE5D97 | — |
| variable.language.relations.prisma | #879A39 | — |
| entity.name.tag.yaml | #CE5D97 | — |
| variable.other.object.property.java | #8B7EC8 | — |
| storage.modifier.java | #4385BE | — |
| storage.type.java | #D0A215 | — |
| keyword.other.package.java, keyword.other.import.java | #CE5D97 | — |
| storage.modifier.package.java | #D0A215 | — |
| storage.modifier.import.java | #CECDC3 | — |
| punctuation.separator.java | #CECDC3 | — |
| meta.tag.xml | #3AA99F | — |
| keyword.other.declaration-specifier.swift, keyword.other.declaration-specifier.accessibility.swift | #CE5D97 | — |
| support.type.swift, meta.function-result.swift, variable.language.swift, keyword.operator.custom.infix.swift | #D0A215 | — |
| variable.parameter.function.swift | #878580 | — |
| entity.name.function.swift | #D0A215 | — |
| variable.parameter.function.swift, meta.parameter-clause.swift | #878580 | — |
| support.function.go | #4385BE | — |
| keyword.operator.address.go, keyword.operator.pointer.go | #D0A215 | — |
| keyword.channel.go | #8B7EC8 | — |
| storage.type.numeric.go, storage.type.string.go, storage.type.error.go, storage.type.boolean.go, storage.type.byte.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.complex.go | #D0A215 | — |
| entity.name.tag.astro | #4385BE | — |
| support.class.component.astro | #CE5D97 | |
| support.function.builtin.python, meta.function-call.generic.python | #DA702C | — |
| entity.name.function.decorator.python | #D0A215 | — |
| entity.name.function.rust | #DA702C | — |
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 |
|---|---|---|
| — | #cce0d6 | — |
| comment | #456655 | — |
| string | #f7a21b | — |
| constant.numeric | #f7a21b | — |
| constant.language | #98d046 | — |
| constant.character, constant.other | #98d046 | — |
| variable | — | |
| keyword | #98d046 | — |
| storage | #98d046 | |
| storage.type | #ad9895 | |
| entity.name.class | #98d046 | underline |
| entity.other.inherited-class | #98d046 | |
| entity.name.function | #fcfcfa | |
| variable.parameter | #ffffff | |
| entity.name.tag | #ad9895 | |
| entity.other.attribute-name | #98d046 | |
| support.function | #ad9895 | |
| support.constant | #98d046 | |
| support.type, support.class | #98d046 | |
| support.other.variable | — | |
| invalid | #cf433e | |
| invalid.deprecated | #cf433e | — |
| meta.structure.dictionary.json string.quoted.double.json | #f7a21b | — |
| meta.diff, meta.diff.header | #456655 | — |
| markup.deleted | #e61f44 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #f7b83d | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #64947b | — |
| meta.property-value, support.constant.property-value, constant.other.color | #f7a21b | — |
| meta.structure.dictionary.json string.quoted.double.json | #98d046 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #f7a21b | — |
| meta.property-name support.type.property-name | — | normal |
| meta.property-value punctuation.separator.key-value | #cce0d6 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #ad9895 | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #ad9895 | normal |
| variable.other | #ffffff | normal |
| variable.parameter.function.coffee | #f7a21b | |
| entity.name.section.markdown | #98d046 | — |
| punctuation.definition.heading.markdown | #98d046 | — |
| markup.raw.inline.markdown | #f7a21b | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #98d046 | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #98d046 | — |
| punctuation.definition.metadata.markdown | #98d046 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #ad9895 | |
| markup.bold.markdown, markup.italic.markdown | #ad9895 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| markup.raw.block.markdown | #664e4d | — |
| markup.deleted.git_gutter | #e61f44 | — |
| markup.inserted.git_gutter | #a7da1e | — |
| markup.changed.git_gutter | #f7b83d | — |
| meta.template.expression | #cce0d6 | — |
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}!`;
}
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}!`;
}