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 | #8fc38dff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #ffc890ff | — |
| keyword.other.phpdoc | #5aa54eff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a6e5a7ff | — |
| punctuation.section.embedded | #999999ff | — |
| source.ruby.embedded | #e99d9fff | — |
| keyword.other.directive | #eeeeeeff | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #f88c8cff | — |
| string.unquoted.heredoc | #e6e6e6ff | — |
| support.constant.numeric, constant.numeric | #83edecff | — |
| constant, support.constant | #e7e7b1ff | — |
| constant.character, constant.other | #e99d9fff | — |
| variable.other.constant | #e7e7b1ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #ffe5b0ff | — |
| variable.other.readwrite.instance | #ffe5b0ff | — |
| entity.name.module, support.other.module | #ff8400ff | — |
| keyword.operator | #fcfcfcff | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffff93ff | — |
| entity.name.class.variant | #3e94bfff | — |
| entity.other | #e6e6e6ff | — |
| entity.other.inherited-class | #fb9700ff | — |
| storage.type.user-defined, meta.property-list | #fff300ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #ffa900ff | — |
| invalid | #ffd7ffff | — |
| entity.other.attribute-name.html | #e7e9b3ff | — |
| entity.name.tag | #e7e9b3ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #999999ff | — |
| support.function.construct | #ffe5b0ff | — |
| punctuation.definition.variable | #ffe5b0ff | — |
| meta.function-name, entity.name.function | #ffff76ff | — |
| support.function | #decd00ff | — |
| meta.brace | #72e6e380 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #e6e6e680 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #ffe4af94 | — |
| entity.name.tag.yaml | #ffe5b0ff | — |
| punctuation.definition.entry | #e6e6e6ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #c7c7c7ff | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #98d1ffff | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffff | — |
| meta.diff.header.from-file | #ee7677ff | — |
| meta.diff.header.to-file | #5ccc95ff | — |
| meta.diff.range.unified | #8ae6eaff | — |
| markup.inserted.diff | #5ccc95ff | — |
| markup.deleted.diff | #ee7677ff | — |
| string.regexp | #ec7537ff | — |
| string.regexp.arbitrary-repitition | #ba7465ff | — |
| punctuation.definition.arbitrary-repitition | #ffffff5e | — |
| string.regexp.character-class | #ea9786ff | — |
| punctuation.definition.character-class | #ffffff5e | — |
| markup.raw.inline.markdown | #ffe5b0ff | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffff | — |
| markup.list | #eeeeeeff | — |
| sublimelinter.mark.warning | #fac700ff | — |
| sublimelinter.gutter-mark | #ffffffff | — |
| sublimelinter.mark.error | #ff1400ff | — |
| doctype | #d7dfdcff | — |
| entity | #d7dfdcff | — |
| hyperlink | #54a3baff | — |
| invisibles | #ffffffff | — |
| level0 | #2b592bff | — |
| level1 | #31315fff | — |
| level10 | #487676ff | — |
| level2 | #565628ff | — |
| level3 | #5b2d5bff | — |
| level4 | #2a5858ff | — |
| level5 | #7b4d4dff | — |
| level6 | #4a774aff | — |
| level7 | #4f4f7dff | — |
| level8 | #747446ff | — |
| level9 | #794c79ff | — |
| markup | #e3e3e3ff | — |
| match | #ffdb51ff | — |
| meta | #d0bdaaff | — |
| none | #91737dff | — |
| property | #91abcfff | — |
| punctuation | #ffe256ff | — |
| source | #ecececff | — |
| storage | #994876ff | — |
| support | #ffaaffff | — |
| text | #ecececff | — |
| variable | #d1baa3ff | — |
| wordhighlight | #6dff00ff | — |
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 | #8fc38dff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #ffc890ff | — |
| keyword.other.phpdoc | #5aa54eff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a6e5a7ff | — |
| punctuation.section.embedded | #999999ff | — |
| source.ruby.embedded | #e99d9fff | — |
| keyword.other.directive | #eeeeeeff | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #f88c8cff | — |
| string.unquoted.heredoc | #e6e6e6ff | — |
| support.constant.numeric, constant.numeric | #83edecff | — |
| constant, support.constant | #e7e7b1ff | — |
| constant.character, constant.other | #e99d9fff | — |
| variable.other.constant | #e7e7b1ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #ffe5b0ff | — |
| variable.other.readwrite.instance | #ffe5b0ff | — |
| entity.name.module, support.other.module | #ff8400ff | — |
| keyword.operator | #fcfcfcff | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffff93ff | — |
| entity.name.class.variant | #3e94bfff | — |
| entity.other | #e6e6e6ff | — |
| entity.other.inherited-class | #fb9700ff | — |
| storage.type.user-defined, meta.property-list | #fff300ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #ffa900ff | — |
| invalid | #ffd7ffff | — |
| entity.other.attribute-name.html | #e7e9b3ff | — |
| entity.name.tag | #e7e9b3ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #999999ff | — |
| support.function.construct | #ffe5b0ff | — |
| punctuation.definition.variable | #ffe5b0ff | — |
| meta.function-name, entity.name.function | #ffff76ff | — |
| support.function | #decd00ff | — |
| meta.brace | #72e6e380 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #e6e6e680 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #ffe4af94 | — |
| entity.name.tag.yaml | #ffe5b0ff | — |
| punctuation.definition.entry | #e6e6e6ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #c7c7c7ff | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #98d1ffff | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffff | — |
| meta.diff.header.from-file | #ee7677ff | — |
| meta.diff.header.to-file | #5ccc95ff | — |
| meta.diff.range.unified | #8ae6eaff | — |
| markup.inserted.diff | #5ccc95ff | — |
| markup.deleted.diff | #ee7677ff | — |
| string.regexp | #ec7537ff | — |
| string.regexp.arbitrary-repitition | #ba7465ff | — |
| punctuation.definition.arbitrary-repitition | #ffffff5e | — |
| string.regexp.character-class | #ea9786ff | — |
| punctuation.definition.character-class | #ffffff5e | — |
| markup.raw.inline.markdown | #ffe5b0ff | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffff | — |
| markup.list | #eeeeeeff | — |
| sublimelinter.mark.warning | #fac700ff | — |
| sublimelinter.gutter-mark | #ffffffff | — |
| sublimelinter.mark.error | #ff1400ff | — |
| doctype | #d7dfdcff | — |
| entity | #d7dfdcff | — |
| hyperlink | #54a3baff | — |
| invisibles | #ffffffff | — |
| level0 | #2b592bff | — |
| level1 | #31315fff | — |
| level10 | #487676ff | — |
| level2 | #565628ff | — |
| level3 | #5b2d5bff | — |
| level4 | #2a5858ff | — |
| level5 | #7b4d4dff | — |
| level6 | #4a774aff | — |
| level7 | #4f4f7dff | — |
| level8 | #747446ff | — |
| level9 | #794c79ff | — |
| markup | #e3e3e3ff | — |
| match | #ffdb51ff | — |
| meta | #d0bdaaff | — |
| none | #91737dff | — |
| property | #91abcfff | — |
| punctuation | #ffe256ff | — |
| source | #ecececff | — |
| storage | #994876ff | — |
| support | #ffaaffff | — |
| text | #ecececff | — |
| variable | #d1baa3ff | — |
| wordhighlight | #6dff00ff | — |
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 | #8fc38dff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #ffc890ff | — |
| keyword.other.phpdoc | #5aa54eff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a6e5a7ff | — |
| punctuation.section.embedded | #999999ff | — |
| source.ruby.embedded | #e99d9fff | — |
| keyword.other.directive | #eeeeeeff | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #f88c8cff | — |
| string.unquoted.heredoc | #e6e6e6ff | — |
| support.constant.numeric, constant.numeric | #83edecff | — |
| constant, support.constant | #e7e7b1ff | — |
| constant.character, constant.other | #e99d9fff | — |
| variable.other.constant | #e7e7b1ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #ffe5b0ff | — |
| variable.other.readwrite.instance | #ffe5b0ff | — |
| entity.name.module, support.other.module | #ff8400ff | — |
| keyword.operator | #fcfcfcff | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffff93ff | — |
| entity.name.class.variant | #3e94bfff | — |
| entity.other | #e6e6e6ff | — |
| entity.other.inherited-class | #fb9700ff | — |
| storage.type.user-defined, meta.property-list | #fff300ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #ffa900ff | — |
| invalid | #ffd7ffff | — |
| entity.other.attribute-name.html | #e7e9b3ff | — |
| entity.name.tag | #e7e9b3ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #999999ff | — |
| support.function.construct | #ffe5b0ff | — |
| punctuation.definition.variable | #ffe5b0ff | — |
| meta.function-name, entity.name.function | #ffff76ff | — |
| support.function | #decd00ff | — |
| meta.brace | #72e6e380 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #e6e6e680 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #ffe4af94 | — |
| entity.name.tag.yaml | #ffe5b0ff | — |
| punctuation.definition.entry | #e6e6e6ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #c7c7c7ff | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #98d1ffff | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffff | — |
| meta.diff.header.from-file | #ee7677ff | — |
| meta.diff.header.to-file | #5ccc95ff | — |
| meta.diff.range.unified | #8ae6eaff | — |
| markup.inserted.diff | #5ccc95ff | — |
| markup.deleted.diff | #ee7677ff | — |
| string.regexp | #ec7537ff | — |
| string.regexp.arbitrary-repitition | #ba7465ff | — |
| punctuation.definition.arbitrary-repitition | #ffffff5e | — |
| string.regexp.character-class | #ea9786ff | — |
| punctuation.definition.character-class | #ffffff5e | — |
| markup.raw.inline.markdown | #ffe5b0ff | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffff | — |
| markup.list | #eeeeeeff | — |
| sublimelinter.mark.warning | #fac700ff | — |
| sublimelinter.gutter-mark | #ffffffff | — |
| sublimelinter.mark.error | #ff1400ff | — |
| doctype | #d7dfdcff | — |
| entity | #d7dfdcff | — |
| hyperlink | #54a3baff | — |
| invisibles | #ffffffff | — |
| level0 | #2b592bff | — |
| level1 | #31315fff | — |
| level10 | #487676ff | — |
| level2 | #565628ff | — |
| level3 | #5b2d5bff | — |
| level4 | #2a5858ff | — |
| level5 | #7b4d4dff | — |
| level6 | #4a774aff | — |
| level7 | #4f4f7dff | — |
| level8 | #747446ff | — |
| level9 | #794c79ff | — |
| markup | #e3e3e3ff | — |
| match | #ffdb51ff | — |
| meta | #d0bdaaff | — |
| none | #91737dff | — |
| property | #91abcfff | — |
| punctuation | #ffe256ff | — |
| source | #ecececff | — |
| storage | #994876ff | — |
| support | #ffaaffff | — |
| text | #ecececff | — |
| variable | #d1baa3ff | — |
| wordhighlight | #6dff00ff | — |
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 | #8fc38dff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #ffc890ff | — |
| keyword.other.phpdoc | #5aa54eff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a6e5a7ff | — |
| punctuation.section.embedded | #999999ff | — |
| source.ruby.embedded | #e99d9fff | — |
| keyword.other.directive | #eeeeeeff | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #f88c8cff | — |
| string.unquoted.heredoc | #e6e6e6ff | — |
| support.constant.numeric, constant.numeric | #83edecff | — |
| constant, support.constant | #e7e7b1ff | — |
| constant.character, constant.other | #e99d9fff | — |
| variable.other.constant | #e7e7b1ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #ffe5b0ff | — |
| variable.other.readwrite.instance | #ffe5b0ff | — |
| entity.name.module, support.other.module | #ff8400ff | — |
| keyword.operator | #fcfcfcff | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffff93ff | — |
| entity.name.class.variant | #3e94bfff | — |
| entity.other | #e6e6e6ff | — |
| entity.other.inherited-class | #fb9700ff | — |
| storage.type.user-defined, meta.property-list | #fff300ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #ffa900ff | — |
| invalid | #ffd7ffff | — |
| entity.other.attribute-name.html | #e7e9b3ff | — |
| entity.name.tag | #e7e9b3ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #999999ff | — |
| support.function.construct | #ffe5b0ff | — |
| punctuation.definition.variable | #ffe5b0ff | — |
| meta.function-name, entity.name.function | #ffff76ff | — |
| support.function | #decd00ff | — |
| meta.brace | #72e6e380 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #e6e6e680 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #ffe4af94 | — |
| entity.name.tag.yaml | #ffe5b0ff | — |
| punctuation.definition.entry | #e6e6e6ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #c7c7c7ff | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #98d1ffff | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ffffffff | — |
| meta.diff.header.from-file | #ee7677ff | — |
| meta.diff.header.to-file | #5ccc95ff | — |
| meta.diff.range.unified | #8ae6eaff | — |
| markup.inserted.diff | #5ccc95ff | — |
| markup.deleted.diff | #ee7677ff | — |
| string.regexp | #ec7537ff | — |
| string.regexp.arbitrary-repitition | #ba7465ff | — |
| punctuation.definition.arbitrary-repitition | #ffffff5e | — |
| string.regexp.character-class | #ea9786ff | — |
| punctuation.definition.character-class | #ffffff5e | — |
| markup.raw.inline.markdown | #ffe5b0ff | — |
| markup.heading.markdown, punctuation.definition.heading | #ffffffff | — |
| markup.list | #eeeeeeff | — |
| sublimelinter.mark.warning | #fac700ff | — |
| sublimelinter.gutter-mark | #ffffffff | — |
| sublimelinter.mark.error | #ff1400ff | — |
| doctype | #d7dfdcff | — |
| entity | #d7dfdcff | — |
| hyperlink | #54a3baff | — |
| invisibles | #ffffffff | — |
| level0 | #2b592bff | — |
| level1 | #31315fff | — |
| level10 | #487676ff | — |
| level2 | #565628ff | — |
| level3 | #5b2d5bff | — |
| level4 | #2a5858ff | — |
| level5 | #7b4d4dff | — |
| level6 | #4a774aff | — |
| level7 | #4f4f7dff | — |
| level8 | #747446ff | — |
| level9 | #794c79ff | — |
| markup | #e3e3e3ff | — |
| match | #ffdb51ff | — |
| meta | #d0bdaaff | — |
| none | #91737dff | — |
| property | #91abcfff | — |
| punctuation | #ffe256ff | — |
| source | #ecececff | — |
| storage | #994876ff | — |
| support | #ffaaffff | — |
| text | #ecececff | — |
| variable | #d1baa3ff | — |
| wordhighlight | #6dff00ff | — |
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}!`;
}