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 | #87a565ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8b36eee | — |
| keyword.other.phpdoc | #56873aee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0c579ee | — |
| punctuation.section.embedded | #898267ee | — |
| source.ruby.embedded | #cc8d70ee | — |
| keyword.other.directive | #ded3a7ee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d67f65ee | — |
| string.unquoted.heredoc | #d6cba1ee | — |
| support.constant.numeric, constant.numeric | #87cba0ee | — |
| constant, support.constant | #d6cb83ee | — |
| constant.character, constant.other | #cc8d70ee | — |
| variable.other.constant | #d6cb83ee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fecb83ee | — |
| variable.other.readwrite.instance | #fecb83ee | — |
| entity.name.module, support.other.module | #ff7a00ee | — |
| keyword.operator | #ece0b1ee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffee76ee | — |
| entity.name.class.variant | #407a78ee | — |
| entity.other | #d6cba1ee | — |
| entity.other.inherited-class | #d78614ee | — |
| storage.type.user-defined, meta.property-list | #ffd500ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f49818ee | — |
| invalid | #ffc2b3ee | — |
| entity.other.attribute-name.html | #d6cc83ee | — |
| entity.name.tag | #d6cc83ee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898267ee | — |
| support.function.construct | #fecb83ee | — |
| punctuation.definition.variable | #fecb83ee | — |
| meta.function-name, entity.name.function | #fff065ee | — |
| support.function | #c7b112ee | — |
| meta.brace | #78c499ee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6cba1ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #feca83ee | — |
| entity.name.tag.yaml | #fecb83ee | — |
| punctuation.definition.entry | #d6cba1ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7ae89ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95b5b6ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #fff2bfee | — |
| meta.diff.header.from-file | #ca6b56ee | — |
| meta.diff.header.to-file | #60aa68ee | — |
| meta.diff.range.unified | #8cc69eee | — |
| markup.inserted.diff | #60aa68ee | — |
| markup.deleted.diff | #ca6b56ee | — |
| string.regexp | #c76931ee | — |
| string.regexp.arbitrary-repitition | #9e6547ee | — |
| punctuation.definition.arbitrary-repitition | #fff2bfee | — |
| string.regexp.character-class | #cb8761ee | — |
| punctuation.definition.character-class | #fff2bfee | — |
| markup.raw.inline.markdown | #fecb83ee | — |
| markup.heading.markdown, punctuation.definition.heading | #fff2bfee | — |
| markup.list | #ded3a7ee | — |
| sublimelinter.mark.warning | #ddae00ee | — |
| sublimelinter.gutter-mark | #fff2bfee | — |
| sublimelinter.mark.error | #d01e00ee | — |
| doctype | #c8c499ee | — |
| entity | #c8c499ee | — |
| hyperlink | #548878ee | — |
| invisibles | #fff2bfee | — |
| level0 | #23421aee | — |
| level1 | #232134ee | — |
| level10 | #415e4aee | — |
| level2 | #45421aee | — |
| level3 | #452134ee | — |
| level4 | #234234ee | — |
| level5 | #633e31ee | — |
| level6 | #415e31ee | — |
| level7 | #413e4aee | — |
| level8 | #635e31ee | — |
| level9 | #633e4aee | — |
| markup | #d3c89eee | — |
| match | #ffc24dee | — |
| meta | #bca578ee | — |
| none | #7c6152ee | — |
| property | #879288ee | — |
| punctuation | #ffc850ee | — |
| source | #dcd1a5ee | — |
| storage | #7d3e4aee | — |
| support | #ea9db3ee | — |
| text | #dcd1a5ee | — |
| variable | #bca274ee | — |
| wordhighlight | #77f20dee | — |
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 | #87a565ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8b36eee | — |
| keyword.other.phpdoc | #56873aee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0c579ee | — |
| punctuation.section.embedded | #898267ee | — |
| source.ruby.embedded | #cc8d70ee | — |
| keyword.other.directive | #ded3a7ee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d67f65ee | — |
| string.unquoted.heredoc | #d6cba1ee | — |
| support.constant.numeric, constant.numeric | #87cba0ee | — |
| constant, support.constant | #d6cb83ee | — |
| constant.character, constant.other | #cc8d70ee | — |
| variable.other.constant | #d6cb83ee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fecb83ee | — |
| variable.other.readwrite.instance | #fecb83ee | — |
| entity.name.module, support.other.module | #ff7a00ee | — |
| keyword.operator | #ece0b1ee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffee76ee | — |
| entity.name.class.variant | #407a78ee | — |
| entity.other | #d6cba1ee | — |
| entity.other.inherited-class | #d78614ee | — |
| storage.type.user-defined, meta.property-list | #ffd500ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f49818ee | — |
| invalid | #ffc2b3ee | — |
| entity.other.attribute-name.html | #d6cc83ee | — |
| entity.name.tag | #d6cc83ee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898267ee | — |
| support.function.construct | #fecb83ee | — |
| punctuation.definition.variable | #fecb83ee | — |
| meta.function-name, entity.name.function | #fff065ee | — |
| support.function | #c7b112ee | — |
| meta.brace | #78c499ee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6cba1ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #feca83ee | — |
| entity.name.tag.yaml | #fecb83ee | — |
| punctuation.definition.entry | #d6cba1ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7ae89ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95b5b6ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #fff2bfee | — |
| meta.diff.header.from-file | #ca6b56ee | — |
| meta.diff.header.to-file | #60aa68ee | — |
| meta.diff.range.unified | #8cc69eee | — |
| markup.inserted.diff | #60aa68ee | — |
| markup.deleted.diff | #ca6b56ee | — |
| string.regexp | #c76931ee | — |
| string.regexp.arbitrary-repitition | #9e6547ee | — |
| punctuation.definition.arbitrary-repitition | #fff2bfee | — |
| string.regexp.character-class | #cb8761ee | — |
| punctuation.definition.character-class | #fff2bfee | — |
| markup.raw.inline.markdown | #fecb83ee | — |
| markup.heading.markdown, punctuation.definition.heading | #fff2bfee | — |
| markup.list | #ded3a7ee | — |
| sublimelinter.mark.warning | #ddae00ee | — |
| sublimelinter.gutter-mark | #fff2bfee | — |
| sublimelinter.mark.error | #d01e00ee | — |
| doctype | #c8c499ee | — |
| entity | #c8c499ee | — |
| hyperlink | #548878ee | — |
| invisibles | #fff2bfee | — |
| level0 | #23421aee | — |
| level1 | #232134ee | — |
| level10 | #415e4aee | — |
| level2 | #45421aee | — |
| level3 | #452134ee | — |
| level4 | #234234ee | — |
| level5 | #633e31ee | — |
| level6 | #415e31ee | — |
| level7 | #413e4aee | — |
| level8 | #635e31ee | — |
| level9 | #633e4aee | — |
| markup | #d3c89eee | — |
| match | #ffc24dee | — |
| meta | #bca578ee | — |
| none | #7c6152ee | — |
| property | #879288ee | — |
| punctuation | #ffc850ee | — |
| source | #dcd1a5ee | — |
| storage | #7d3e4aee | — |
| support | #ea9db3ee | — |
| text | #dcd1a5ee | — |
| variable | #bca274ee | — |
| wordhighlight | #77f20dee | — |
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 | #87a565ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8b36eee | — |
| keyword.other.phpdoc | #56873aee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0c579ee | — |
| punctuation.section.embedded | #898267ee | — |
| source.ruby.embedded | #cc8d70ee | — |
| keyword.other.directive | #ded3a7ee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d67f65ee | — |
| string.unquoted.heredoc | #d6cba1ee | — |
| support.constant.numeric, constant.numeric | #87cba0ee | — |
| constant, support.constant | #d6cb83ee | — |
| constant.character, constant.other | #cc8d70ee | — |
| variable.other.constant | #d6cb83ee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fecb83ee | — |
| variable.other.readwrite.instance | #fecb83ee | — |
| entity.name.module, support.other.module | #ff7a00ee | — |
| keyword.operator | #ece0b1ee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffee76ee | — |
| entity.name.class.variant | #407a78ee | — |
| entity.other | #d6cba1ee | — |
| entity.other.inherited-class | #d78614ee | — |
| storage.type.user-defined, meta.property-list | #ffd500ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f49818ee | — |
| invalid | #ffc2b3ee | — |
| entity.other.attribute-name.html | #d6cc83ee | — |
| entity.name.tag | #d6cc83ee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898267ee | — |
| support.function.construct | #fecb83ee | — |
| punctuation.definition.variable | #fecb83ee | — |
| meta.function-name, entity.name.function | #fff065ee | — |
| support.function | #c7b112ee | — |
| meta.brace | #78c499ee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6cba1ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #feca83ee | — |
| entity.name.tag.yaml | #fecb83ee | — |
| punctuation.definition.entry | #d6cba1ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7ae89ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95b5b6ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #fff2bfee | — |
| meta.diff.header.from-file | #ca6b56ee | — |
| meta.diff.header.to-file | #60aa68ee | — |
| meta.diff.range.unified | #8cc69eee | — |
| markup.inserted.diff | #60aa68ee | — |
| markup.deleted.diff | #ca6b56ee | — |
| string.regexp | #c76931ee | — |
| string.regexp.arbitrary-repitition | #9e6547ee | — |
| punctuation.definition.arbitrary-repitition | #fff2bfee | — |
| string.regexp.character-class | #cb8761ee | — |
| punctuation.definition.character-class | #fff2bfee | — |
| markup.raw.inline.markdown | #fecb83ee | — |
| markup.heading.markdown, punctuation.definition.heading | #fff2bfee | — |
| markup.list | #ded3a7ee | — |
| sublimelinter.mark.warning | #ddae00ee | — |
| sublimelinter.gutter-mark | #fff2bfee | — |
| sublimelinter.mark.error | #d01e00ee | — |
| doctype | #c8c499ee | — |
| entity | #c8c499ee | — |
| hyperlink | #548878ee | — |
| invisibles | #fff2bfee | — |
| level0 | #23421aee | — |
| level1 | #232134ee | — |
| level10 | #415e4aee | — |
| level2 | #45421aee | — |
| level3 | #452134ee | — |
| level4 | #234234ee | — |
| level5 | #633e31ee | — |
| level6 | #415e31ee | — |
| level7 | #413e4aee | — |
| level8 | #635e31ee | — |
| level9 | #633e4aee | — |
| markup | #d3c89eee | — |
| match | #ffc24dee | — |
| meta | #bca578ee | — |
| none | #7c6152ee | — |
| property | #879288ee | — |
| punctuation | #ffc850ee | — |
| source | #dcd1a5ee | — |
| storage | #7d3e4aee | — |
| support | #ea9db3ee | — |
| text | #dcd1a5ee | — |
| variable | #bca274ee | — |
| wordhighlight | #77f20dee | — |
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 | #87a565ee | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8b36eee | — |
| keyword.other.phpdoc | #56873aee | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0c579ee | — |
| punctuation.section.embedded | #898267ee | — |
| source.ruby.embedded | #cc8d70ee | — |
| keyword.other.directive | #ded3a7ee | — |
| keyword.other.directive.line-number | — | — |
| string, string.unquoted | #d67f65ee | — |
| string.unquoted.heredoc | #d6cba1ee | — |
| support.constant.numeric, constant.numeric | #87cba0ee | — |
| constant, support.constant | #d6cb83ee | — |
| constant.character, constant.other | #cc8d70ee | — |
| variable.other.constant | #d6cb83ee | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fecb83ee | — |
| variable.other.readwrite.instance | #fecb83ee | — |
| entity.name.module, support.other.module | #ff7a00ee | — |
| keyword.operator | #ece0b1ee | — |
| keyword.operator.symbol.infix.floating-point | — | — |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | — |
| storage.type, storage.modifier, support.type | #ffee76ee | — |
| entity.name.class.variant | #407a78ee | — |
| entity.other | #d6cba1ee | — |
| entity.other.inherited-class | #d78614ee | — |
| storage.type.user-defined, meta.property-list | #ffd500ee | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f49818ee | — |
| invalid | #ffc2b3ee | — |
| entity.other.attribute-name.html | #d6cc83ee | — |
| entity.name.tag | #d6cc83ee | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898267ee | — |
| support.function.construct | #fecb83ee | — |
| punctuation.definition.variable | #fecb83ee | — |
| meta.function-name, entity.name.function | #fff065ee | — |
| support.function | #c7b112ee | — |
| meta.brace | #78c499ee | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6cba1ee | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #feca83ee | — |
| entity.name.tag.yaml | #fecb83ee | — |
| punctuation.definition.entry | #d6cba1ee | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7ae89ee | — |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95b5b6ee | — |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #fff2bfee | — |
| meta.diff.header.from-file | #ca6b56ee | — |
| meta.diff.header.to-file | #60aa68ee | — |
| meta.diff.range.unified | #8cc69eee | — |
| markup.inserted.diff | #60aa68ee | — |
| markup.deleted.diff | #ca6b56ee | — |
| string.regexp | #c76931ee | — |
| string.regexp.arbitrary-repitition | #9e6547ee | — |
| punctuation.definition.arbitrary-repitition | #fff2bfee | — |
| string.regexp.character-class | #cb8761ee | — |
| punctuation.definition.character-class | #fff2bfee | — |
| markup.raw.inline.markdown | #fecb83ee | — |
| markup.heading.markdown, punctuation.definition.heading | #fff2bfee | — |
| markup.list | #ded3a7ee | — |
| sublimelinter.mark.warning | #ddae00ee | — |
| sublimelinter.gutter-mark | #fff2bfee | — |
| sublimelinter.mark.error | #d01e00ee | — |
| doctype | #c8c499ee | — |
| entity | #c8c499ee | — |
| hyperlink | #548878ee | — |
| invisibles | #fff2bfee | — |
| level0 | #23421aee | — |
| level1 | #232134ee | — |
| level10 | #415e4aee | — |
| level2 | #45421aee | — |
| level3 | #452134ee | — |
| level4 | #234234ee | — |
| level5 | #633e31ee | — |
| level6 | #415e31ee | — |
| level7 | #413e4aee | — |
| level8 | #635e31ee | — |
| level9 | #633e4aee | — |
| markup | #d3c89eee | — |
| match | #ffc24dee | — |
| meta | #bca578ee | — |
| none | #7c6152ee | — |
| property | #879288ee | — |
| punctuation | #ffc850ee | — |
| source | #dcd1a5ee | — |
| storage | #7d3e4aee | — |
| support | #ea9db3ee | — |
| text | #dcd1a5ee | — |
| variable | #bca274ee | — |
| wordhighlight | #77f20dee | — |
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}!`;
}