Supabase Theme (Dark)
Publisher: AldousThemes in package: 1
Supabase inspired VS code theme (not affiliated with Supabase)
Supabase inspired VS code theme (not affiliated with Supabase)
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, punctuation.definition.comment | #8b8b8b94 | — |
| variable, string constant.other.placeholder, entity.name.tag | #3ecf8e | — |
| constant.other.color | #a4a4a4 | — |
| invalid, invalid.illegal | #ff8b8b | — |
| keyword, storage.type, storage.modifier | #2596be | — |
| keyword.control, constant.other.color, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #2596be | — |
| meta.object.key, variable.other | #e9e9e9 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #3ecf8e | — |
| entity.name.function, variable.function, support.function, keyword.other.special-method | #b6a6f7 | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function, meta.definition.property entity.name.function, variable.object.property, variable.other.property | #e9e9e9 | — |
| meta.block variable.other | #e9e9e9 | — |
| support.other.variable, string.other.link | #c7c7c7 | — |
| variable.parameter | #f0c8a2 | — |
| constant.numeric, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other, constant.language.boolean | #3ecf8e | — |
| string, constant.other.symbol, constant.other.key, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #3ecf8e | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #3ecf8e | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, source.postcss support.type.property-name, support.type.vendored.property-name.css, source.css.scss entity.name.tag, variable.parameter.keyframe-list.css, meta.property-name.css, variable.parameter.url.scss, meta.property-value.scss, meta.property-value.css | #e9e9e9 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #3ecf8e80 | — |
| variable.language, token.variable.parameter.function | #3ecf8e80 | — |
| entity.name.method.js, meta.class-method.js entity.name.function.js, variable.function.constructor | #3ecf8e | — |
| entity.other.attribute-name | #a0a0a0 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #3ecf8e | — |
| punctuation.definition.tag | #d8d8d8 | — |
| entity.other.inherited-class | #3ecf8e80 | — |
| comment, punctuation.definition.comment | #75715E | — |
| comment.block.documentation | #75715E | — |
| string.regexp | #3ecf8e | — |
| constant.character.escape | #3ecf8e | — |
| punctuation.section.embedded | #3ecf8e80 | — |
| punctuation.section.embedded, meta.brace, punctuation.section.class.begin, punctuation.section.class.end, meta.method punctuation.definition.parameters.begin, meta.method punctuation.definition.parameters.end, meta.method punctuation.definition.parameters, meta.brace.round | #e7e7e7 | — |
| entity.name.section | #a0a0a0 | — |
| support.type.property-name.json, meta.object-literal.key | #eeeeee | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #a0a0a0 | — |
| text.html.markdown markup.inline.raw.markdown | #a0a0a0 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #a0a0a0 | — |
| text.html.markdown meta.dummy.line-break | #a0a0a0 | — |
| markup.heading, markup.heading entity.name | #a0a0a0 | — |
| markup.italic | #a0a0a0 | italic |
| markup.bold, markup.bold string | #a0a0a0 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #a0a0a0 | bold italic |
| markup.underline | #a0a0a0 | underline |
| markup.quote | #3ecf8e | italic |
| string.other.link | #3ecf8e | underline |
| markup.raw.block | #3ecf8e | — |
| markup.raw.inline | #3ecf8e | — |
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}!`;
}