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 |
|---|---|---|
| comment | #87ae86ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8bc92ee | — |
| keyword.other.phpdoc | #568e4dee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0cfa1ee | — |
| punctuation.section.embedded | #898989ee | — |
| source.ruby.embedded | #cc9495ee | — |
| keyword.other.directive | #dededeee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d68686ee | — |
| string.unquoted.heredoc | #d6d6d6ee | — |
| support.constant.numeric, constant.numeric | #87d6d5ee | — |
| constant, support.constant | #d6d6aeee | — |
| constant.character, constant.other | #cc9495ee | — |
| variable.other.constant | #d6d6aeee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fed6afee | — |
| variable.other.readwrite.instance | #fed6afee | — |
| entity.name.module, support.other.module | #ff8000ee | — |
| keyword.operator | #ecececee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #fffb9dee | — |
| entity.name.class.variant | #4080a0ee | — |
| entity.other | #d6d6d6ee | — |
| entity.other.inherited-class | #d78d1bee | — |
| storage.type.user-defined, meta.property-list | #ffe000ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f4a020ee | — |
| invalid | #ffcceeee | — |
| entity.other.attribute-name.html | #d6d7afee | — |
| entity.name.tag | #d6d7afee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898989ee | — |
| support.function.construct | #fed6afee | — |
| punctuation.definition.variable | #fed6afee | — |
| meta.function-name, entity.name.function | #fffd87ee | — |
| support.function | #c7ba18ee | — |
| meta.brace | #78ceccee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6d6d6ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #fed5aeee | — |
| entity.name.tag.yaml | #fed6afee | — |
| punctuation.definition.entry | #d6d6d6ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7b7b7ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95bff3ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffee | — |
| meta.diff.header.from-file | #ca7172ee | — |
| meta.diff.header.to-file | #60b38aee | — |
| meta.diff.range.unified | #8cd0d3ee | — |
| markup.inserted.diff | #60b38aee | — |
| markup.deleted.diff | #ca7172ee | — |
| string.regexp | #c76f41ee | — |
| string.regexp.arbitrary-repitition | #9e6a5fee | — |
| punctuation.definition.arbitrary-repitition | #ffffffee | — |
| string.regexp.character-class | #cb8e81ee | — |
| punctuation.definition.character-class | #ffffffee | — |
| markup.raw.inline.markdown | #fed6afee | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffee | — |
| markup.list | #dededeee | — |
| sublimelinter.mark.warning | #ddb700ee | — |
| sublimelinter.gutter-mark | #ffffffee | — |
| sublimelinter.mark.error | #d02000ee | — |
| doctype | #c8ceccee | — |
| entity | #c8ceccee | — |
| hyperlink | #548fa0ee | — |
| invisibles | #ffffffee | — |
| level0 | #234523ee | — |
| level1 | #232345ee | — |
| level10 | #416363ee | — |
| level2 | #454523ee | — |
| level3 | #452345ee | — |
| level4 | #234545ee | — |
| level5 | #634141ee | — |
| level6 | #416341ee | — |
| level7 | #414163ee | — |
| level8 | #636341ee | — |
| level9 | #634163ee | — |
| markup | #d3d3d3ee | — |
| match | #ffcc66ee | — |
| meta | #bcaea0ee | — |
| none | #7c666dee | — |
| property | #879ab5ee | — |
| punctuation | #ffd26aee | — |
| source | #dcdcdcee | — |
| storage | #7d4163ee | — |
| support | #eaa5efee | — |
| text | #dcdcdcee | — |
| variable | #bcab9aee | — |
| wordhighlight | #77ff11ee | — |
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 | #87ae86ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8bc92ee | — |
| keyword.other.phpdoc | #568e4dee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0cfa1ee | — |
| punctuation.section.embedded | #898989ee | — |
| source.ruby.embedded | #cc9495ee | — |
| keyword.other.directive | #dededeee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d68686ee | — |
| string.unquoted.heredoc | #d6d6d6ee | — |
| support.constant.numeric, constant.numeric | #87d6d5ee | — |
| constant, support.constant | #d6d6aeee | — |
| constant.character, constant.other | #cc9495ee | — |
| variable.other.constant | #d6d6aeee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fed6afee | — |
| variable.other.readwrite.instance | #fed6afee | — |
| entity.name.module, support.other.module | #ff8000ee | — |
| keyword.operator | #ecececee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #fffb9dee | — |
| entity.name.class.variant | #4080a0ee | — |
| entity.other | #d6d6d6ee | — |
| entity.other.inherited-class | #d78d1bee | — |
| storage.type.user-defined, meta.property-list | #ffe000ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f4a020ee | — |
| invalid | #ffcceeee | — |
| entity.other.attribute-name.html | #d6d7afee | — |
| entity.name.tag | #d6d7afee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898989ee | — |
| support.function.construct | #fed6afee | — |
| punctuation.definition.variable | #fed6afee | — |
| meta.function-name, entity.name.function | #fffd87ee | — |
| support.function | #c7ba18ee | — |
| meta.brace | #78ceccee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6d6d6ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #fed5aeee | — |
| entity.name.tag.yaml | #fed6afee | — |
| punctuation.definition.entry | #d6d6d6ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7b7b7ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95bff3ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffee | — |
| meta.diff.header.from-file | #ca7172ee | — |
| meta.diff.header.to-file | #60b38aee | — |
| meta.diff.range.unified | #8cd0d3ee | — |
| markup.inserted.diff | #60b38aee | — |
| markup.deleted.diff | #ca7172ee | — |
| string.regexp | #c76f41ee | — |
| string.regexp.arbitrary-repitition | #9e6a5fee | — |
| punctuation.definition.arbitrary-repitition | #ffffffee | — |
| string.regexp.character-class | #cb8e81ee | — |
| punctuation.definition.character-class | #ffffffee | — |
| markup.raw.inline.markdown | #fed6afee | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffee | — |
| markup.list | #dededeee | — |
| sublimelinter.mark.warning | #ddb700ee | — |
| sublimelinter.gutter-mark | #ffffffee | — |
| sublimelinter.mark.error | #d02000ee | — |
| doctype | #c8ceccee | — |
| entity | #c8ceccee | — |
| hyperlink | #548fa0ee | — |
| invisibles | #ffffffee | — |
| level0 | #234523ee | — |
| level1 | #232345ee | — |
| level10 | #416363ee | — |
| level2 | #454523ee | — |
| level3 | #452345ee | — |
| level4 | #234545ee | — |
| level5 | #634141ee | — |
| level6 | #416341ee | — |
| level7 | #414163ee | — |
| level8 | #636341ee | — |
| level9 | #634163ee | — |
| markup | #d3d3d3ee | — |
| match | #ffcc66ee | — |
| meta | #bcaea0ee | — |
| none | #7c666dee | — |
| property | #879ab5ee | — |
| punctuation | #ffd26aee | — |
| source | #dcdcdcee | — |
| storage | #7d4163ee | — |
| support | #eaa5efee | — |
| text | #dcdcdcee | — |
| variable | #bcab9aee | — |
| wordhighlight | #77ff11ee | — |
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 | #87ae86ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8bc92ee | — |
| keyword.other.phpdoc | #568e4dee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0cfa1ee | — |
| punctuation.section.embedded | #898989ee | — |
| source.ruby.embedded | #cc9495ee | — |
| keyword.other.directive | #dededeee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d68686ee | — |
| string.unquoted.heredoc | #d6d6d6ee | — |
| support.constant.numeric, constant.numeric | #87d6d5ee | — |
| constant, support.constant | #d6d6aeee | — |
| constant.character, constant.other | #cc9495ee | — |
| variable.other.constant | #d6d6aeee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fed6afee | — |
| variable.other.readwrite.instance | #fed6afee | — |
| entity.name.module, support.other.module | #ff8000ee | — |
| keyword.operator | #ecececee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #fffb9dee | — |
| entity.name.class.variant | #4080a0ee | — |
| entity.other | #d6d6d6ee | — |
| entity.other.inherited-class | #d78d1bee | — |
| storage.type.user-defined, meta.property-list | #ffe000ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f4a020ee | — |
| invalid | #ffcceeee | — |
| entity.other.attribute-name.html | #d6d7afee | — |
| entity.name.tag | #d6d7afee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898989ee | — |
| support.function.construct | #fed6afee | — |
| punctuation.definition.variable | #fed6afee | — |
| meta.function-name, entity.name.function | #fffd87ee | — |
| support.function | #c7ba18ee | — |
| meta.brace | #78ceccee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6d6d6ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #fed5aeee | — |
| entity.name.tag.yaml | #fed6afee | — |
| punctuation.definition.entry | #d6d6d6ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7b7b7ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95bff3ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffee | — |
| meta.diff.header.from-file | #ca7172ee | — |
| meta.diff.header.to-file | #60b38aee | — |
| meta.diff.range.unified | #8cd0d3ee | — |
| markup.inserted.diff | #60b38aee | — |
| markup.deleted.diff | #ca7172ee | — |
| string.regexp | #c76f41ee | — |
| string.regexp.arbitrary-repitition | #9e6a5fee | — |
| punctuation.definition.arbitrary-repitition | #ffffffee | — |
| string.regexp.character-class | #cb8e81ee | — |
| punctuation.definition.character-class | #ffffffee | — |
| markup.raw.inline.markdown | #fed6afee | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffee | — |
| markup.list | #dededeee | — |
| sublimelinter.mark.warning | #ddb700ee | — |
| sublimelinter.gutter-mark | #ffffffee | — |
| sublimelinter.mark.error | #d02000ee | — |
| doctype | #c8ceccee | — |
| entity | #c8ceccee | — |
| hyperlink | #548fa0ee | — |
| invisibles | #ffffffee | — |
| level0 | #234523ee | — |
| level1 | #232345ee | — |
| level10 | #416363ee | — |
| level2 | #454523ee | — |
| level3 | #452345ee | — |
| level4 | #234545ee | — |
| level5 | #634141ee | — |
| level6 | #416341ee | — |
| level7 | #414163ee | — |
| level8 | #636341ee | — |
| level9 | #634163ee | — |
| markup | #d3d3d3ee | — |
| match | #ffcc66ee | — |
| meta | #bcaea0ee | — |
| none | #7c666dee | — |
| property | #879ab5ee | — |
| punctuation | #ffd26aee | — |
| source | #dcdcdcee | — |
| storage | #7d4163ee | — |
| support | #eaa5efee | — |
| text | #dcdcdcee | — |
| variable | #bcab9aee | — |
| wordhighlight | #77ff11ee | — |
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 | #87ae86ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8bc92ee | — |
| keyword.other.phpdoc | #568e4dee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0cfa1ee | — |
| punctuation.section.embedded | #898989ee | — |
| source.ruby.embedded | #cc9495ee | — |
| keyword.other.directive | #dededeee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d68686ee | — |
| string.unquoted.heredoc | #d6d6d6ee | — |
| support.constant.numeric, constant.numeric | #87d6d5ee | — |
| constant, support.constant | #d6d6aeee | — |
| constant.character, constant.other | #cc9495ee | — |
| variable.other.constant | #d6d6aeee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fed6afee | — |
| variable.other.readwrite.instance | #fed6afee | — |
| entity.name.module, support.other.module | #ff8000ee | — |
| keyword.operator | #ecececee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #fffb9dee | — |
| entity.name.class.variant | #4080a0ee | — |
| entity.other | #d6d6d6ee | — |
| entity.other.inherited-class | #d78d1bee | — |
| storage.type.user-defined, meta.property-list | #ffe000ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f4a020ee | — |
| invalid | #ffcceeee | — |
| entity.other.attribute-name.html | #d6d7afee | — |
| entity.name.tag | #d6d7afee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898989ee | — |
| support.function.construct | #fed6afee | — |
| punctuation.definition.variable | #fed6afee | — |
| meta.function-name, entity.name.function | #fffd87ee | — |
| support.function | #c7ba18ee | — |
| meta.brace | #78ceccee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6d6d6ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #fed5aeee | — |
| entity.name.tag.yaml | #fed6afee | — |
| punctuation.definition.entry | #d6d6d6ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7b7b7ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95bff3ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffee | — |
| meta.diff.header.from-file | #ca7172ee | — |
| meta.diff.header.to-file | #60b38aee | — |
| meta.diff.range.unified | #8cd0d3ee | — |
| markup.inserted.diff | #60b38aee | — |
| markup.deleted.diff | #ca7172ee | — |
| string.regexp | #c76f41ee | — |
| string.regexp.arbitrary-repitition | #9e6a5fee | — |
| punctuation.definition.arbitrary-repitition | #ffffffee | — |
| string.regexp.character-class | #cb8e81ee | — |
| punctuation.definition.character-class | #ffffffee | — |
| markup.raw.inline.markdown | #fed6afee | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffee | — |
| markup.list | #dededeee | — |
| sublimelinter.mark.warning | #ddb700ee | — |
| sublimelinter.gutter-mark | #ffffffee | — |
| sublimelinter.mark.error | #d02000ee | — |
| doctype | #c8ceccee | — |
| entity | #c8ceccee | — |
| hyperlink | #548fa0ee | — |
| invisibles | #ffffffee | — |
| level0 | #234523ee | — |
| level1 | #232345ee | — |
| level10 | #416363ee | — |
| level2 | #454523ee | — |
| level3 | #452345ee | — |
| level4 | #234545ee | — |
| level5 | #634141ee | — |
| level6 | #416341ee | — |
| level7 | #414163ee | — |
| level8 | #636341ee | — |
| level9 | #634163ee | — |
| markup | #d3d3d3ee | — |
| match | #ffcc66ee | — |
| meta | #bcaea0ee | — |
| none | #7c666dee | — |
| property | #879ab5ee | — |
| punctuation | #ffd26aee | — |
| source | #dcdcdcee | — |
| storage | #7d4163ee | — |
| support | #eaa5efee | — |
| text | #dcdcdcee | — |
| variable | #bcab9aee | — |
| wordhighlight | #77ff11ee | — |
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}!`;
}